Class: Google::Apis::GkehubV1alpha2::InitializeHubResponse
- Inherits:
-
Object
- Object
- Google::Apis::GkehubV1alpha2::InitializeHubResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/gkehub_v1alpha2/classes.rb,
lib/google/apis/gkehub_v1alpha2/representations.rb,
lib/google/apis/gkehub_v1alpha2/representations.rb
Overview
Response message for the InitializeHub method.
Instance Attribute Summary collapse
-
#service_identity ⇒ String
Name of the Hub default service identity, in the format: service-@gcp-sa- gkehub.iam.gserviceaccount.com The service account has `roles/gkehub.
-
#workload_identity_pool ⇒ String
The Workload Identity Pool used for Workload Identity-enabled clusters registered with this Hub.
Instance Method Summary collapse
-
#initialize(**args) ⇒ InitializeHubResponse
constructor
A new instance of InitializeHubResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ InitializeHubResponse
Returns a new instance of InitializeHubResponse.
522 523 524 |
# File 'lib/google/apis/gkehub_v1alpha2/classes.rb', line 522 def initialize(**args) update!(**args) end |
Instance Attribute Details
#service_identity ⇒ String
Name of the Hub default service identity, in the format: service-@gcp-sa-
gkehub.iam.gserviceaccount.com The service account has roles/gkehub.
serviceAgent
in the Hub project.
Corresponds to the JSON property serviceIdentity
514 515 516 |
# File 'lib/google/apis/gkehub_v1alpha2/classes.rb', line 514 def service_identity @service_identity end |
#workload_identity_pool ⇒ String
The Workload Identity Pool used for Workload Identity-enabled clusters
registered with this Hub. Format: .hub.id.goog
Corresponds to the JSON property workloadIdentityPool
520 521 522 |
# File 'lib/google/apis/gkehub_v1alpha2/classes.rb', line 520 def workload_identity_pool @workload_identity_pool end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
527 528 529 530 |
# File 'lib/google/apis/gkehub_v1alpha2/classes.rb', line 527 def update!(**args) @service_identity = args[:service_identity] if args.key?(:service_identity) @workload_identity_pool = args[:workload_identity_pool] if args.key?(:workload_identity_pool) end |