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"]],[["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-03-24 UTC."],[[["The latest version of the `InstancePropertiesPatch` 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."],["The `InstancePropertiesPatch` class is used to modify the properties of an instance, specifically allowing changes to metadata and labels, and it implements several interfaces such as `IMessage`, `IEquatable`, and `IDeepCloneable`."],["This class is found within the `Google.Cloud.Compute.V1` namespace and is part of the `Google.Cloud.Compute.V1.dll` assembly."],["The `InstancePropertiesPatch` class contains two properties, `Labels` and `Metadata`, both of which are `MapField` types that allow for key-value pair data in strings, to be patched onto the instance."],["Two constructors are provided with the `InstancePropertiesPatch` class: a default `InstancePropertiesPatch()` constructor, and an `InstancePropertiesPatch(InstancePropertiesPatch other)` constructor that allows for the creation of a copy of another `InstancePropertiesPatch` object, given it as the `other` parameter."]]],[]]