class Google::Apis::ComputeBeta::MetadataFilterLabelMatch

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

Attributes

name[RW]

Name of metadata label. The name can have a maximum length of 1024 characters and must be at least 1 character long. Corresponds to the JSON property `name` @return [String]

value[RW]

The value of the label must match the specified value. value can have a maximum length of 1024 characters. Corresponds to the JSON property `value` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/compute_beta/classes.rb, line 19318
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/compute_beta/classes.rb, line 19323
def update!(**args)
  @name = args[:name] if args.key?(:name)
  @value = args[:value] if args.key?(:value)
end