public sealed class ImportStatefileRequest : IMessage<ImportStatefileRequest>, IEquatable<ImportStatefileRequest>, IDeepCloneable<ImportStatefileRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Infrastructure Manager v1 API class ImportStatefileRequest.
A request to import a state file passed to a 'ImportStatefile' call.
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\u003eThis document provides reference information for the \u003ccode\u003eImportStatefileRequest\u003c/code\u003e class within the Google Cloud Config V1 API, specifically version 1.5.0, and details the class's role in importing state files for a 'ImportStatefile' call.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eImportStatefileRequest\u003c/code\u003e class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, showing it is a request used to import a state file.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of \u003ccode\u003eImportStatefileRequest\u003c/code\u003e include \u003ccode\u003eLockId\u003c/code\u003e, which verifies the user's lock, \u003ccode\u003eParent\u003c/code\u003e, which specifies the context of the statefile, \u003ccode\u003eParentAsDeploymentName\u003c/code\u003e, which provides a typed view of the parent, and \u003ccode\u003eSkipDraft\u003c/code\u003e, an optional property, and these fields are used to define the parameters for state file imports.\u003c/p\u003e\n"],["\u003cp\u003eThe document outlines available constructors for the \u003ccode\u003eImportStatefileRequest\u003c/code\u003e class, including a default constructor and one that accepts another \u003ccode\u003eImportStatefileRequest\u003c/code\u003e object as a parameter for cloning.\u003c/p\u003e\n"],["\u003cp\u003eThe content also provides links to documentation for other versions of this class, ranging from version 1.0.0 up to the latest version, 1.7.0, of this same documentation.\u003c/p\u003e\n"]]],[],null,[]]