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 documentation for the \u003ccode\u003eImportStatefileRequest\u003c/code\u003e class within the Infrastructure Manager v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eImportStatefileRequest\u003c/code\u003e class is used to structure a request for importing a state file and it 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.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of this resource available is 1.7.0, and the versions list contains prior releases from 1.6.0 to 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eImportStatefileRequest\u003c/code\u003e requires properties such as \u003ccode\u003eLockId\u003c/code\u003e to verify user permissions and \u003ccode\u003eParent\u003c/code\u003e to define the location in which the state file is located, as well as other optional properties like \u003ccode\u003eSkipDraft\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eImportStatefileRequest\u003c/code\u003e class has two constructors, one default constructor and one that takes an existing \u003ccode\u003eImportStatefileRequest\u003c/code\u003e object to copy over.\u003c/p\u003e\n"]]],[],null,[]]