public sealed class ExportDeploymentStatefileRequest : IMessage<ExportDeploymentStatefileRequest>, IEquatable<ExportDeploymentStatefileRequest>, IDeepCloneable<ExportDeploymentStatefileRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Infrastructure Manager v1 API class ExportDeploymentStatefileRequest.
A request to export a state file passed to a 'ExportDeploymentStatefile'
call.
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.
Required. The parent in whose context the statefile is listed. The parent
value is in the format:
'projects/{project_id}/locations/{location}/deployments/{deployment}'.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eExportDeploymentStatefileRequest\u003c/code\u003e class is part of the Infrastructure Manager v1 API, used to export a state file.\u003c/p\u003e\n"],["\u003cp\u003eThis class is implemented to work with several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class has a \u003ccode\u003eDraft\u003c/code\u003e property that, when set to true, exports the deployment state file as a draft for validation.\u003c/p\u003e\n"],["\u003cp\u003eIt also features a required \u003ccode\u003eParent\u003c/code\u003e property, defining the context of the statefile, and a \u003ccode\u003eParentAsDeploymentName\u003c/code\u003e property, giving a typed view over the parent resource.\u003c/p\u003e\n"],["\u003cp\u003eThe most recent version of the API documentation for this request is 1.7.0, but previous versions are available, including 1.0.0.\u003c/p\u003e\n"]]],[],null,[]]