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



27436
27437
27438
# File 'generated/google/apis/compute_alpha/classes.rb', line 27436

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



27429
27430
27431
# File 'generated/google/apis/compute_alpha/classes.rb', line 27429

def label_matches
  @label_matches
end

#portFixnum

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

Returns:

  • (Fixnum)


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