Class: Google::Apis::ComputeAlpha::RegionCommitmentsUpdateReservationsRequest

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/compute_alpha/classes.rb,
generated/google/apis/compute_alpha/representations.rb,
generated/google/apis/compute_alpha/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RegionCommitmentsUpdateReservationsRequest

Returns a new instance of RegionCommitmentsUpdateReservationsRequest.



28090
28091
28092
# File 'generated/google/apis/compute_alpha/classes.rb', line 28090

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

Instance Attribute Details

#reservationsArray<Google::Apis::ComputeAlpha::Reservation>

A list of two reservations to transfer GPUs and local SSD between. Corresponds to the JSON property reservations



28088
28089
28090
# File 'generated/google/apis/compute_alpha/classes.rb', line 28088

def reservations
  @reservations
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



28095
28096
28097
# File 'generated/google/apis/compute_alpha/classes.rb', line 28095

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