public sealed class InstancePropertiesPatch : IMessage<InstancePropertiesPatch>, IEquatable<InstancePropertiesPatch>, IDeepCloneable<InstancePropertiesPatch>, IBufferMessage, IMessage
Reference documentation and code samples for the Compute Engine v1 API class InstancePropertiesPatch.
Represents the change that you want to make to the instance properties.
[[["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-08 UTC."],[[["\u003cp\u003eThe latest version of the \u003ccode\u003eInstancePropertiesPatch\u003c/code\u003e class in the Compute Engine v1 API is 3.6.0, and there are multiple previous versions available, starting from version 1.0.0, which you can access via the provided links.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eInstancePropertiesPatch\u003c/code\u003e class is used to modify the properties of an instance, specifically allowing changes to metadata and labels, and it implements several interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, and \u003ccode\u003eIDeepCloneable\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThis class is found within the \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e namespace and is part of the \u003ccode\u003eGoogle.Cloud.Compute.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eInstancePropertiesPatch\u003c/code\u003e class contains two properties, \u003ccode\u003eLabels\u003c/code\u003e and \u003ccode\u003eMetadata\u003c/code\u003e, both of which are \u003ccode\u003eMapField\u003c/code\u003e types that allow for key-value pair data in strings, to be patched onto the instance.\u003c/p\u003e\n"],["\u003cp\u003eTwo constructors are provided with the \u003ccode\u003eInstancePropertiesPatch\u003c/code\u003e class: a default \u003ccode\u003eInstancePropertiesPatch()\u003c/code\u003e constructor, and an \u003ccode\u003eInstancePropertiesPatch(InstancePropertiesPatch other)\u003c/code\u003e constructor that allows for the creation of a copy of another \u003ccode\u003eInstancePropertiesPatch\u003c/code\u003e object, given it as the \u003ccode\u003eother\u003c/code\u003e parameter.\u003c/p\u003e\n"]]],[],null,[]]