public sealed class ComputeInstanceTargetEnvironment : IMessage<ComputeInstanceTargetEnvironment>, IEquatable<ComputeInstanceTargetEnvironment>, IDeepCloneable<ComputeInstanceTargetEnvironment>, IBufferMessage, IMessage
Reference documentation and code samples for the Backup and DR Service v1 API class ComputeInstanceTargetEnvironment.
ComputeInstanceTargetEnvironment represents Compute Engine target
environment to be used during restore.
[[["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\u003eComputeInstanceTargetEnvironment\u003c/code\u003e class, part of the Backup and DR Service v1 API, defines the target environment for Compute Engine instances during restoration.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits from \u003ccode\u003eobject\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class provides two constructors: a default constructor and a copy constructor that takes another \u003ccode\u003eComputeInstanceTargetEnvironment\u003c/code\u003e object as a parameter.\u003c/p\u003e\n"],["\u003cp\u003eIt includes two essential properties, \u003ccode\u003eProject\u003c/code\u003e and \u003ccode\u003eZone\u003c/code\u003e, both of type string, that are required to specify the target project and zone of the Compute Engine instance.\u003c/p\u003e\n"],["\u003cp\u003eThere are different versions of this class, with 2.1.0 being the latest version, and the given content focusing on the 1.2.0 version.\u003c/p\u003e\n"]]],[],null,[]]