Class: Google::Apis::TpuV2alpha1::GenerateServiceIdentityResponse
- Inherits:
-
Object
- Object
- Google::Apis::TpuV2alpha1::GenerateServiceIdentityResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/tpu_v2alpha1/classes.rb,
lib/google/apis/tpu_v2alpha1/representations.rb,
lib/google/apis/tpu_v2alpha1/representations.rb
Overview
Response for GenerateServiceIdentity.
Instance Attribute Summary collapse
-
#identity ⇒ Google::Apis::TpuV2alpha1::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.
303 304 305 |
# File 'lib/google/apis/tpu_v2alpha1/classes.rb', line 303 def initialize(**args) update!(**args) end |
Instance Attribute Details
#identity ⇒ Google::Apis::TpuV2alpha1::ServiceIdentity
The per-product per-project service identity for Cloud TPU service.
Corresponds to the JSON property identity
301 302 303 |
# File 'lib/google/apis/tpu_v2alpha1/classes.rb', line 301 def identity @identity end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
308 309 310 |
# File 'lib/google/apis/tpu_v2alpha1/classes.rb', line 308 def update!(**args) @identity = args[:identity] if args.key?(:identity) end |