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"]],[["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-03 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eExportDeploymentStatefileRequest\u003c/code\u003e class is used to request the export of a deployment state file within the Infrastructure Manager v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the \u003ccode\u003eExportDeploymentStatefileRequest\u003c/code\u003e is 1.7.0, with previous versions available ranging from 1.0.0 to 1.6.0.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits from the base \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eIt includes properties such as \u003ccode\u003eDraft\u003c/code\u003e, a boolean flag to indicate if the draft state should be exported, and \u003ccode\u003eParent\u003c/code\u003e, a string that specifies the deployment's location in the format of a project ID, location, and deployment.\u003c/p\u003e\n"],["\u003cp\u003eThe class also includes constructors for default initialization and cloning from another \u003ccode\u003eExportDeploymentStatefileRequest\u003c/code\u003e object.\u003c/p\u003e\n"]]],[],null,["# Infrastructure Manager v1 API - Class ExportDeploymentStatefileRequest (1.8.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.8.0 (latest)](/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ExportDeploymentStatefileRequest)\n- [1.7.0](/dotnet/docs/reference/Google.Cloud.Config.V1/1.7.0/Google.Cloud.Config.V1.ExportDeploymentStatefileRequest)\n- [1.6.0](/dotnet/docs/reference/Google.Cloud.Config.V1/1.6.0/Google.Cloud.Config.V1.ExportDeploymentStatefileRequest)\n- [1.5.0](/dotnet/docs/reference/Google.Cloud.Config.V1/1.5.0/Google.Cloud.Config.V1.ExportDeploymentStatefileRequest)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.Config.V1/1.4.0/Google.Cloud.Config.V1.ExportDeploymentStatefileRequest)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.Config.V1/1.3.0/Google.Cloud.Config.V1.ExportDeploymentStatefileRequest)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.Config.V1/1.2.0/Google.Cloud.Config.V1.ExportDeploymentStatefileRequest)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Config.V1/1.1.0/Google.Cloud.Config.V1.ExportDeploymentStatefileRequest)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Config.V1/1.0.0/Google.Cloud.Config.V1.ExportDeploymentStatefileRequest) \n\n public sealed class ExportDeploymentStatefileRequest : IMessage\u003cExportDeploymentStatefileRequest\u003e, IEquatable\u003cExportDeploymentStatefileRequest\u003e, IDeepCloneable\u003cExportDeploymentStatefileRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Infrastructure Manager v1 API class ExportDeploymentStatefileRequest.\n\nA request to export a state file passed to a 'ExportDeploymentStatefile'\ncall. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e ExportDeploymentStatefileRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ExportDeploymentStatefileRequest](/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ExportDeploymentStatefileRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ExportDeploymentStatefileRequest](/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ExportDeploymentStatefileRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ExportDeploymentStatefileRequest](/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ExportDeploymentStatefileRequest), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Config.V1](/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Config.V1.dll\n\nConstructors\n------------\n\n### ExportDeploymentStatefileRequest()\n\n public ExportDeploymentStatefileRequest()\n\n### ExportDeploymentStatefileRequest(ExportDeploymentStatefileRequest)\n\n public ExportDeploymentStatefileRequest(ExportDeploymentStatefileRequest other)\n\nProperties\n----------\n\n### Draft\n\n public bool Draft { get; set; }\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### Parent\n\n public string Parent { get; set; }\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### ParentAsDeploymentName\n\n public DeploymentName ParentAsDeploymentName { get; set; }\n\n[DeploymentName](/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentName)-typed view over the [Parent](/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ExportDeploymentStatefileRequest#Google_Cloud_Config_V1_ExportDeploymentStatefileRequest_Parent) resource name property."]]