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
27738 27739 27740 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 27738 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
27731 27732 27733 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 27731 def label_matches @label_matches end |
#port ⇒ Fixnum
The listener port of the XDS client.
Corresponds to the JSON property port
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 |