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

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/compute_alpha/classes.rb,
lib/google/apis/compute_alpha/representations.rb,
lib/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.



56220
56221
56222
# File 'lib/google/apis/compute_alpha/classes.rb', line 56220

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 disks between. Corresponds to the JSON property reservations



56218
56219
56220
# File 'lib/google/apis/compute_alpha/classes.rb', line 56218

def reservations
  @reservations
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



56225
56226
56227
# File 'lib/google/apis/compute_alpha/classes.rb', line 56225

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