Class: Google::Apis::TpuV2::GetGuestAttributesResponse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GetGuestAttributesResponse

Returns a new instance of GetGuestAttributesResponse.



179
180
181
# File 'lib/google/apis/tpu_v2/classes.rb', line 179

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

Instance Attribute Details

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

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



177
178
179
# File 'lib/google/apis/tpu_v2/classes.rb', line 177

def guest_attributes
  @guest_attributes
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



184
185
186
# File 'lib/google/apis/tpu_v2/classes.rb', line 184

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