Class: Google::Apis::TpuV2alpha1::GenerateServiceIdentityResponse

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GenerateServiceIdentityResponse

Returns a new instance of GenerateServiceIdentityResponse.



347
348
349
# File 'lib/google/apis/tpu_v2alpha1/classes.rb', line 347

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

Instance Attribute Details

#identityGoogle::Apis::TpuV2alpha1::ServiceIdentity

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



345
346
347
# File 'lib/google/apis/tpu_v2alpha1/classes.rb', line 345

def identity
  @identity
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



352
353
354
# File 'lib/google/apis/tpu_v2alpha1/classes.rb', line 352

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