Reference documentation and code samples for the Google Cloud Config V1 Client class ImportStatefileRequest.
A request to import a state file passed to a 'ImportStatefile' call.
Generated from protobuf message google.cloud.config.v1.ImportStatefileRequest
Namespace
Google \ Cloud \ Config \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ parent
string
Required. The parent in whose context the statefile is listed. The parent value is in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
↳ lock_id
int|string
Required. Lock ID of the lock file to verify that the user who is importing the state file previously locked the Deployment.
↳ skip_draft
bool
Optional.
getParent
Required. The parent in whose context the statefile is listed. The parent value is in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
string
setParent
Required. The parent in whose context the statefile is listed. The parent value is in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
var
string
$this
getLockId
Required. Lock ID of the lock file to verify that the user who is importing the state file previously locked the Deployment.
int|string
setLockId
Required. Lock ID of the lock file to verify that the user who is importing the state file previously locked the Deployment.
var
int|string
$this
getSkipDraft
Optional.
bool
setSkipDraft
Optional.
var
bool
$this
static::build
parent
string
Required. The parent in whose context the statefile is listed. The parent value is in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'. Please see Google\Cloud\Config\V1\ConfigClient::deploymentName() for help formatting this field.
lockId
int
Required. Lock ID of the lock file to verify that the user who is importing the state file previously locked the Deployment.