Compute Engine v1 API - Class Tags (2.7.0)

public sealed class Tags : IMessage<Tags>, IEquatable<Tags>, IDeepCloneable<Tags>, IBufferMessage, IMessage

Reference documentation and code samples for the Compute Engine v1 API class Tags.

A set of instance tags.

Inheritance

object > Tags

Namespace

GoogleCloudGoogle.Cloud.ComputeV1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

Tags()

public Tags()

Tags(Tags)

public Tags(Tags other)
Parameter
NameDescription
otherTags

Properties

Fingerprint

public string Fingerprint { get; set; }

Specifies a fingerprint for this request, which is essentially a hash of the tags' contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update tags. You must always provide an up-to-date fingerprint hash in order to update or change tags. To see the latest fingerprint, make get() request to the instance.

Property Value
TypeDescription
string

HasFingerprint

public bool HasFingerprint { get; }

Gets whether the "fingerprint" field is set

Property Value
TypeDescription
bool

Items

public RepeatedField<string> Items { get; }

An array of tags. Each tag must be 1-63 characters long, and comply with RFC1035.

Property Value
TypeDescription
RepeatedFieldstring