Class: Google::Apis::ContainerV1beta1::WorkloadIdentityConfig

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/container_v1beta1/classes.rb,
generated/google/apis/container_v1beta1/representations.rb,
generated/google/apis/container_v1beta1/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.



4757
4758
4759
# File 'generated/google/apis/container_v1beta1/classes.rb', line 4757

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

Instance Attribute Details

#identity_namespaceString

IAM Identity Namespace to attach all Kubernetes Service Accounts to. Corresponds to the JSON property identityNamespace

Returns:

  • (String)


4750
4751
4752
# File 'generated/google/apis/container_v1beta1/classes.rb', line 4750

def identity_namespace
  @identity_namespace
end

#workload_poolString

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

Returns:

  • (String)


4755
4756
4757
# File 'generated/google/apis/container_v1beta1/classes.rb', line 4755

def workload_pool
  @workload_pool
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4762
4763
4764
4765
# File 'generated/google/apis/container_v1beta1/classes.rb', line 4762

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