Class: Google::Apis::ComputeAlpha::AuthenticationConfig

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/compute_alpha/classes.rb,
lib/google/apis/compute_alpha/representations.rb,
lib/google/apis/compute_alpha/representations.rb

Overview

Authentication configuration for the management interface, typically using mTLS.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AuthenticationConfig

Returns a new instance of AuthenticationConfig.



2733
2734
2735
# File 'lib/google/apis/compute_alpha/classes.rb', line 2733

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

Instance Attribute Details

#trust_configString

Required. Resource name of the Cloud Certificate Manager TrustConfig used to validate client certificates for mTLS. Format: projects/project/locations/location/trustConfigs/trust_config Corresponds to the JSON property trustConfig

Returns:

  • (String)


2731
2732
2733
# File 'lib/google/apis/compute_alpha/classes.rb', line 2731

def trust_config
  @trust_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2738
2739
2740
# File 'lib/google/apis/compute_alpha/classes.rb', line 2738

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