Class: Google::Apis::ContainerV1beta1::WorkloadAltsConfig
- Inherits:
-
Object
- Object
- Google::Apis::ContainerV1beta1::WorkloadAltsConfig
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/container_v1beta1/classes.rb,
lib/google/apis/container_v1beta1/representations.rb,
lib/google/apis/container_v1beta1/representations.rb
Overview
Configuration for direct-path (via ALTS) with workload identity.
Instance Attribute Summary collapse
-
#enable_alts ⇒ Boolean
(also: #enable_alts?)
enable_alts controls whether the alts handshaker should be enabled or not for direct-path.
Instance Method Summary collapse
-
#initialize(**args) ⇒ WorkloadAltsConfig
constructor
A new instance of WorkloadAltsConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ WorkloadAltsConfig
Returns a new instance of WorkloadAltsConfig.
8533 8534 8535 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 8533 def initialize(**args) update!(**args) end |
Instance Attribute Details
#enable_alts ⇒ Boolean Also known as: enable_alts?
enable_alts controls whether the alts handshaker should be enabled or not for
direct-path. Requires Workload Identity (workload_pool must be non-empty).
Corresponds to the JSON property enableAlts
8530 8531 8532 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 8530 def enable_alts @enable_alts end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8538 8539 8540 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 8538 def update!(**args) @enable_alts = args[:enable_alts] if args.key?(:enable_alts) end |