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.



2658
2659
2660
# File 'lib/google/apis/compute_alpha/classes.rb', line 2658

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)


2656
2657
2658
# File 'lib/google/apis/compute_alpha/classes.rb', line 2656

def trust_config
  @trust_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2663
2664
2665
# File 'lib/google/apis/compute_alpha/classes.rb', line 2663

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