Class: Google::Apis::ContainerV1beta1::WorkloadIdentityConfig
- Inherits:
-
Object
- Object
- Google::Apis::ContainerV1beta1::WorkloadIdentityConfig
- 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 the use of Kubernetes Service Accounts in GCP IAM policies.
Instance Attribute Summary collapse
-
#identity_namespace ⇒ String
IAM Identity Namespace to attach all Kubernetes Service Accounts to.
-
#identity_provider ⇒ String
identity provider is the third party identity provider.
-
#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.
6627 6628 6629 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 6627 def initialize(**args) update!(**args) end |
Instance Attribute Details
#identity_namespace ⇒ String
IAM Identity Namespace to attach all Kubernetes Service Accounts to.
Corresponds to the JSON property identityNamespace
6615 6616 6617 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 6615 def identity_namespace @identity_namespace end |
#identity_provider ⇒ String
identity provider is the third party identity provider.
Corresponds to the JSON property identityProvider
6620 6621 6622 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 6620 def identity_provider @identity_provider end |
#workload_pool ⇒ String
The workload pool to attach all Kubernetes service accounts to.
Corresponds to the JSON property workloadPool
6625 6626 6627 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 6625 def workload_pool @workload_pool end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6632 6633 6634 6635 6636 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 6632 def update!(**args) @identity_namespace = args[:identity_namespace] if args.key?(:identity_namespace) @identity_provider = args[:identity_provider] if args.key?(:identity_provider) @workload_pool = args[:workload_pool] if args.key?(:workload_pool) end |