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

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



45698
45699
45700
# File 'lib/google/apis/compute_beta/classes.rb', line 45698

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



45696
45697
45698
# File 'lib/google/apis/compute_beta/classes.rb', line 45696

def reservations
  @reservations
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



45703
45704
45705
# File 'lib/google/apis/compute_beta/classes.rb', line 45703

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