Class: Google::Apis::GkehubV1alpha::WorkloadIdentityFeatureSpec

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/gkehub_v1alpha/classes.rb,
lib/google/apis/gkehub_v1alpha/representations.rb,
lib/google/apis/gkehub_v1alpha/representations.rb

Overview

WorkloadIdentity: Global feature specification.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ WorkloadIdentityFeatureSpec

Returns a new instance of WorkloadIdentityFeatureSpec.



7358
7359
7360
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 7358

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

Instance Attribute Details

#scope_tenancy_poolString

Pool to be used for Workload Identity. This pool in trust-domain mode is used with Fleet Tenancy, so that sameness can be enforced. ex: projects/example/ locations/global/workloadidentitypools/custompool Corresponds to the JSON property scopeTenancyPool

Returns:

  • (String)


7356
7357
7358
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 7356

def scope_tenancy_pool
  @scope_tenancy_pool
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7363
7364
7365
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 7363

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