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 messagegoogle.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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Config V1 Client - Class ExportDeploymentStatefileRequest (1.4.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.4.1 (latest)](/php/docs/reference/cloud-config/latest/V1.ExportDeploymentStatefileRequest)\n- [1.4.0](/php/docs/reference/cloud-config/1.4.0/V1.ExportDeploymentStatefileRequest)\n- [1.3.0](/php/docs/reference/cloud-config/1.3.0/V1.ExportDeploymentStatefileRequest)\n- [1.2.1](/php/docs/reference/cloud-config/1.2.1/V1.ExportDeploymentStatefileRequest)\n- [1.1.0](/php/docs/reference/cloud-config/1.1.0/V1.ExportDeploymentStatefileRequest)\n- [1.0.1](/php/docs/reference/cloud-config/1.0.1/V1.ExportDeploymentStatefileRequest)\n- [0.5.2](/php/docs/reference/cloud-config/0.5.2/V1.ExportDeploymentStatefileRequest)\n- [0.2.0](/php/docs/reference/cloud-config/0.2.0/V1.ExportDeploymentStatefileRequest)\n- [0.1.3](/php/docs/reference/cloud-config/0.1.3/V1.ExportDeploymentStatefileRequest) \nReference documentation and code samples for the Google Cloud Config V1 Client class ExportDeploymentStatefileRequest.\n\nA request to export a state file passed to a 'ExportDeploymentStatefile'\ncall.\n\nGenerated from protobuf message `google.cloud.config.v1.ExportDeploymentStatefileRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Config \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getParent\n\nRequired. The parent in whose context the statefile is listed. The parent\nvalue is in the format:\n'projects/{project_id}/locations/{location}/deployments/{deployment}'.\n\n### setParent\n\nRequired. The parent in whose context the statefile is listed. The parent\nvalue is in the format:\n'projects/{project_id}/locations/{location}/deployments/{deployment}'.\n\n### getDraft\n\nOptional. If this flag is set to true, the exported deployment state file\nwill be the draft state. This will enable the draft file to be validated\nbefore copying it over to the working state on unlock.\n\n### setDraft\n\nOptional. If this flag is set to true, the exported deployment state file\nwill be the draft state. This will enable the draft file to be validated\nbefore copying it over to the working state on unlock."]]