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.



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

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



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

def guest_attributes
  @guest_attributes
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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