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



27865
27866
27867
# File 'generated/google/apis/compute_alpha/classes.rb', line 27865

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



27858
27859
27860
# File 'generated/google/apis/compute_alpha/classes.rb', line 27858

def label_matches
  @label_matches
end

#portFixnum

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

Returns:

  • (Fixnum)


27863
27864
27865
# File 'generated/google/apis/compute_alpha/classes.rb', line 27863

def port
  @port
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



27870
27871
27872
27873
# File 'generated/google/apis/compute_alpha/classes.rb', line 27870

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