Class: Google::Apis::TpuV2alpha1::GetGuestAttributesResponse

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 GetGuestAttributes.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GetGuestAttributesResponse

Returns a new instance of GetGuestAttributesResponse.



299
300
301
# File 'lib/google/apis/tpu_v2alpha1/classes.rb', line 299

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

Instance Attribute Details

#guest_attributesArray<Google::Apis::TpuV2alpha1::GuestAttributes>

The guest attributes for the TPU workers. Corresponds to the JSON property guestAttributes



297
298
299
# File 'lib/google/apis/tpu_v2alpha1/classes.rb', line 297

def guest_attributes
  @guest_attributes
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



304
305
306
# File 'lib/google/apis/tpu_v2alpha1/classes.rb', line 304

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