Compute Engine v1 API - Class MetadataFilterLabelMatch (3.1.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
Name Description
other MetadataFilterLabelMatch

Properties

HasName

public bool HasName { get; }

Gets whether the "name" field is set

Property Value
Type Description
bool

HasValue

public bool HasValue { get; }

Gets whether the "value" field is set

Property Value
Type Description
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
Type Description
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
Type Description
string