Class: Google::Apis::ComputeAlpha::AuthenticationConfig
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::AuthenticationConfig
- 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
-
#trust_config ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AuthenticationConfig
constructor
A new instance of AuthenticationConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AuthenticationConfig
Returns a new instance of AuthenticationConfig.
2720 2721 2722 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 2720 def initialize(**args) update!(**args) end |
Instance Attribute Details
#trust_config ⇒ String
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
2718 2719 2720 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 2718 def trust_config @trust_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2725 2726 2727 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 2725 def update!(**args) @trust_config = args[:trust_config] if args.key?(:trust_config) end |