Class: Google::Apis::ComputeAlpha::ServerSecuritySettingsSelector
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::ServerSecuritySettingsSelector
- 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
-
#label_matches ⇒ Array<Google::Apis::ComputeAlpha::MetadataFilterLabelMatch>
The labels associated with the XDS client.
-
#port ⇒ Fixnum
The listener port of the XDS client.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ServerSecuritySettingsSelector
constructor
A new instance of ServerSecuritySettingsSelector.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ ServerSecuritySettingsSelector
Returns a new instance of ServerSecuritySettingsSelector
27436 27437 27438 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 27436 def initialize(**args) update!(**args) end |
Instance Attribute Details
#label_matches ⇒ Array<Google::Apis::ComputeAlpha::MetadataFilterLabelMatch>
The labels associated with the XDS client.
Corresponds to the JSON property labelMatches
27429 27430 27431 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 27429 def label_matches @label_matches end |
#port ⇒ Fixnum
The listener port of the XDS client.
Corresponds to the JSON property port
27434 27435 27436 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 27434 def port @port end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
27441 27442 27443 27444 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 27441 def update!(**args) @label_matches = args[:label_matches] if args.key?(:label_matches) @port = args[:port] if args.key?(:port) end |