Class: Google::Apis::ContainerV1::WorkloadIdentityConfig
- Inherits:
-
Object
- Object
- Google::Apis::ContainerV1::WorkloadIdentityConfig
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- generated/google/apis/container_v1/classes.rb,
generated/google/apis/container_v1/representations.rb,
generated/google/apis/container_v1/representations.rb
Overview
Configuration for the use of Kubernetes Service Accounts in GCP IAM policies.
Instance Attribute Summary collapse
-
#workload_pool ⇒ String
The workload pool to attach all Kubernetes service accounts to.
Instance Method Summary collapse
-
#initialize(**args) ⇒ WorkloadIdentityConfig
constructor
A new instance of WorkloadIdentityConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ WorkloadIdentityConfig
Returns a new instance of WorkloadIdentityConfig.
4419 4420 4421 |
# File 'generated/google/apis/container_v1/classes.rb', line 4419 def initialize(**args) update!(**args) end |
Instance Attribute Details
#workload_pool ⇒ String
The workload pool to attach all Kubernetes service accounts to.
Corresponds to the JSON property workloadPool
4417 4418 4419 |
# File 'generated/google/apis/container_v1/classes.rb', line 4417 def workload_pool @workload_pool end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4424 4425 4426 |
# File 'generated/google/apis/container_v1/classes.rb', line 4424 def update!(**args) @workload_pool = args[:workload_pool] if args.key?(:workload_pool) end |