Compute Engine v1 API - Class MetadataFilterLabelMatch (2.13.0)

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

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

MetadataFilter label name value pairs that are expected to match corresponding labels presented as metadata to the load balancer.

Inheritance

object > MetadataFilterLabelMatch

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

MetadataFilterLabelMatch()

public MetadataFilterLabelMatch()

MetadataFilterLabelMatch(MetadataFilterLabelMatch)

public MetadataFilterLabelMatch(MetadataFilterLabelMatch other)
Parameter
NameDescription
otherMetadataFilterLabelMatch

Properties

HasName

public bool HasName { get; }

Gets whether the "name" field is set

Property Value
TypeDescription
bool

HasValue

public bool HasValue { get; }

Gets whether the "value" field is set

Property Value
TypeDescription
bool

Name

public string Name { get; set; }

Name of metadata label. The name can have a maximum length of 1024 characters and must be at least 1 character long.

Property Value
TypeDescription
string

Value

public string Value { get; set; }

The value of the label must match the specified value. value can have a maximum length of 1024 characters.

Property Value
TypeDescription
string