Class: Google::Apis::ComputeAlpha::SecuritySettings

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

The authentication and authorization settings for a BackendService.

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) ⇒ SecuritySettings

Returns a new instance of SecuritySettings



27340
27341
27342
# File 'generated/google/apis/compute_alpha/classes.rb', line 27340

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

Instance Attribute Details

#authentication_policyGoogle::Apis::ComputeAlpha::AuthenticationPolicy

The authentication settings for the backend service. Corresponds to the JSON property authenticationPolicy



27319
27320
27321
# File 'generated/google/apis/compute_alpha/classes.rb', line 27319

def authentication_policy
  @authentication_policy
end

#authorization_configGoogle::Apis::ComputeAlpha::AuthorizationConfig

Authorization configuration provides service-level and method-level access control for a service. Corresponds to the JSON property authorizationConfig



27325
27326
27327
# File 'generated/google/apis/compute_alpha/classes.rb', line 27325

def authorization_config
  @authorization_config
end

#client_tls_settingsGoogle::Apis::ComputeAlpha::ClientTlsSettings

The client side authentication settings for connection originating from the backend service. Corresponds to the JSON property clientTlsSettings



27331
27332
27333
# File 'generated/google/apis/compute_alpha/classes.rb', line 27331

def client_tls_settings
  @client_tls_settings
end

#server_settings_selectorGoogle::Apis::ComputeAlpha::ServerSecuritySettingsSelector

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. Corresponds to the JSON property serverSettingsSelector



27338
27339
27340
# File 'generated/google/apis/compute_alpha/classes.rb', line 27338

def server_settings_selector
  @server_settings_selector
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



27345
27346
27347
27348
27349
27350
# File 'generated/google/apis/compute_alpha/classes.rb', line 27345

def update!(**args)
  @authentication_policy = args[:authentication_policy] if args.key?(:authentication_policy)
  @authorization_config = args[:authorization_config] if args.key?(:authorization_config)
  @client_tls_settings = args[:client_tls_settings] if args.key?(:client_tls_settings)
  @server_settings_selector = args[:server_settings_selector] if args.key?(:server_settings_selector)
end