Class: Google::Apis::TpuV2::GenerateServiceIdentityResponse
- Inherits:
-
Object
- Object
- Google::Apis::TpuV2::GenerateServiceIdentityResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/tpu_v2/classes.rb,
lib/google/apis/tpu_v2/representations.rb,
lib/google/apis/tpu_v2/representations.rb
Overview
Response for GenerateServiceIdentity.
Instance Attribute Summary collapse
-
#identity ⇒ Google::Apis::TpuV2::ServiceIdentity
The per-product per-project service identity for Cloud TPU service.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GenerateServiceIdentityResponse
constructor
A new instance of GenerateServiceIdentityResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GenerateServiceIdentityResponse
Returns a new instance of GenerateServiceIdentityResponse.
283 284 285 |
# File 'lib/google/apis/tpu_v2/classes.rb', line 283 def initialize(**args) update!(**args) end |
Instance Attribute Details
#identity ⇒ Google::Apis::TpuV2::ServiceIdentity
The per-product per-project service identity for Cloud TPU service.
Corresponds to the JSON property identity
281 282 283 |
# File 'lib/google/apis/tpu_v2/classes.rb', line 281 def identity @identity end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
288 289 290 |
# File 'lib/google/apis/tpu_v2/classes.rb', line 288 def update!(**args) @identity = args[:identity] if args.key?(:identity) end |