Class: Google::Apis::ComputeAlpha::ServerSecuritySettingsSelector

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/compute_alpha/classes.rb,
generated/google/apis/compute_alpha/representations.rb,
generated/google/apis/compute_alpha/representations.rb

Overview

A selector associated with the SecuritySettings. If the labels and port in this selector match the Envoy's label and port, the server side authentication and authorization settings are applied to the Envoy.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ServerSecuritySettingsSelector

Returns a new instance of ServerSecuritySettingsSelector



27738
27739
27740
# File 'generated/google/apis/compute_alpha/classes.rb', line 27738

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#label_matchesArray<Google::Apis::ComputeAlpha::MetadataFilterLabelMatch>

The labels associated with the XDS client. Corresponds to the JSON property labelMatches



27731
27732
27733
# File 'generated/google/apis/compute_alpha/classes.rb', line 27731

def label_matches
  @label_matches
end

#portFixnum

The listener port of the XDS client. Corresponds to the JSON property port

Returns:

  • (Fixnum)


27736
27737
27738
# File 'generated/google/apis/compute_alpha/classes.rb', line 27736

def port
  @port
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



27743
27744
27745
27746
# File 'generated/google/apis/compute_alpha/classes.rb', line 27743

def update!(**args)
  @label_matches = args[:label_matches] if args.key?(:label_matches)
  @port = args[:port] if args.key?(:port)
end