Class: Google::Apis::ContainerV1::WorkloadIdentityConfig

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ WorkloadIdentityConfig

Returns a new instance of WorkloadIdentityConfig.


4313
4314
4315
# File 'generated/google/apis/container_v1/classes.rb', line 4313

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

Instance Attribute Details

#workload_poolString

The workload pool to attach all Kubernetes service accounts to. Corresponds to the JSON property workloadPool

Returns:

  • (String)

4311
4312
4313
# File 'generated/google/apis/container_v1/classes.rb', line 4311

def workload_pool
  @workload_pool
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


4318
4319
4320
# File 'generated/google/apis/container_v1/classes.rb', line 4318

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