Class: Google::Apis::ComputeBeta::RegionCommitmentsUpdateReservationsRequest

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RegionCommitmentsUpdateReservationsRequest

Returns a new instance of RegionCommitmentsUpdateReservationsRequest.



24603
24604
24605
# File 'generated/google/apis/compute_beta/classes.rb', line 24603

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

Instance Attribute Details

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

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



24601
24602
24603
# File 'generated/google/apis/compute_beta/classes.rb', line 24601

def reservations
  @reservations
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



24608
24609
24610
# File 'generated/google/apis/compute_beta/classes.rb', line 24608

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