Compute Engine v1 API - Class InstancePropertiesPatch (4.0.0)

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.

Inheritance

object > InstancePropertiesPatch

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

InstancePropertiesPatch()

public InstancePropertiesPatch()

InstancePropertiesPatch(InstancePropertiesPatch)

public InstancePropertiesPatch(InstancePropertiesPatch other)
Parameter
Name Description
other InstancePropertiesPatch

Properties

ExposeHostTopology

public bool ExposeHostTopology { get; set; }

This optional flag exposes the hashed physical host ID.

Property Value
Type Description
bool

HasExposeHostTopology

public bool HasExposeHostTopology { get; }

Gets whether the "expose_host_topology" field is set

Property Value
Type Description
bool

Labels

public MapField<string, string> Labels { get; }

The label key-value pairs that you want to patch onto the instance.

Property Value
Type Description
MapFieldstringstring

Metadata

public MapField<string, string> Metadata { get; }

The metadata key-value pairs that you want to patch onto the instance. For more information, see Project and instance metadata.

Property Value
Type Description
MapFieldstringstring