Compute Engine v1 API - Class Items (2.6.0)

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

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

Metadata

Inheritance

Object > Items

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

Items()

public Items()

Items(Items)

public Items(Items other)
Parameter
NameDescription
otherItems

Properties

HasKey

public bool HasKey { get; }

Gets whether the "key" field is set

Property Value
TypeDescription
Boolean

HasValue

public bool HasValue { get; }

Gets whether the "value" field is set

Property Value
TypeDescription
Boolean

Key

public string Key { get; set; }

Key for the metadata entry. Keys must conform to the following regexp: [a-zA-Z0-9-_]+, and be less than 128 bytes in length. This is reflected as part of a URL in the metadata server. Additionally, to avoid ambiguity, keys must not conflict with any other metadata keys for the project.

Property Value
TypeDescription
String

Value

public string Value { get; set; }

Value for the metadata entry. These are free-form strings, and only have meaning as interpreted by the image running in the instance. The only restriction placed on values is that their size must be less than or equal to 262144 bytes (256 KiB).

Property Value
TypeDescription
String