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.
Namespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Constructors
Tags()
public Tags()
Tags(Tags)
public Tags(Tags other)
Parameter | |
---|---|
Name | Description |
other | Tags |
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 | |
---|---|
Type | Description |
string |
HasFingerprint
public bool HasFingerprint { get; }
Gets whether the "fingerprint" field is set
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
RepeatedFieldstring |