Class: Google::Apis::ComputeBeta::RegionCommitmentsUpdateReservationsRequest
- Inherits:
-
Object
- Object
- Google::Apis::ComputeBeta::RegionCommitmentsUpdateReservationsRequest
- 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
-
#reservations ⇒ Array<Google::Apis::ComputeBeta::Reservation>
A list of two reservations to transfer GPUs and local SSD between.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RegionCommitmentsUpdateReservationsRequest
constructor
A new instance of RegionCommitmentsUpdateReservationsRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RegionCommitmentsUpdateReservationsRequest
Returns a new instance of RegionCommitmentsUpdateReservationsRequest.
33254 33255 33256 |
# File 'lib/google/apis/compute_beta/classes.rb', line 33254 def initialize(**args) update!(**args) end |
Instance Attribute Details
#reservations ⇒ Array<Google::Apis::ComputeBeta::Reservation>
A list of two reservations to transfer GPUs and local SSD between.
Corresponds to the JSON property reservations
33252 33253 33254 |
# File 'lib/google/apis/compute_beta/classes.rb', line 33252 def reservations @reservations end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
33259 33260 33261 |
# File 'lib/google/apis/compute_beta/classes.rb', line 33259 def update!(**args) @reservations = args[:reservations] if args.key?(:reservations) end |