Google Cloud Config V1 Client - Class ExportDeploymentStatefileRequest (0.2.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
NameDescription
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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var bool
Returns
TypeDescription
$this