Class: Google::Apis::TpuV2::GenerateServiceIdentityResponse

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GenerateServiceIdentityResponse

Returns a new instance of GenerateServiceIdentityResponse.



241
242
243
# File 'lib/google/apis/tpu_v2/classes.rb', line 241

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

Instance Attribute Details

#identityGoogle::Apis::TpuV2::ServiceIdentity

The per-product per-project service identity for Cloud TPU service. Corresponds to the JSON property identity



239
240
241
# File 'lib/google/apis/tpu_v2/classes.rb', line 239

def identity
  @identity
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



246
247
248
# File 'lib/google/apis/tpu_v2/classes.rb', line 246

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