Google Cloud Config V1 Client - Class ExportDeploymentStatefileRequest (1.1.0)

Reference documentation and code samples for the Google Cloud Config V1 Client class ExportDeploymentStatefileRequest.

A request to export a state file passed to a 'ExportDeploymentStatefile' call.

Generated from protobuf message google.cloud.config.v1.ExportDeploymentStatefileRequest

Namespace

Google \ Cloud \ Config \ V1

Methods

__construct

Constructor.

Parameters
Name Description
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}'.

↳ draft bool

Optional. If this flag is set to true, the exported deployment state file will be the draft state. This will enable the draft file to be validated before copying it over to the working state on unlock.

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}'.

Returns
Type Description
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}'.

Parameter
Name Description
var string
Returns
Type Description
$this

getDraft

Optional. If this flag is set to true, the exported deployment state file will be the draft state. This will enable the draft file to be validated before copying it over to the working state on unlock.

Returns
Type Description
bool

setDraft

Optional. If this flag is set to true, the exported deployment state file will be the draft state. This will enable the draft file to be validated before copying it over to the working state on unlock.

Parameter
Name Description
var bool
Returns
Type Description
$this