Class: Google::Apis::ComputeAlpha::RegionCommitmentsUpdateReservationsRequest
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::RegionCommitmentsUpdateReservationsRequest
- 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
-
#reservations ⇒ Array<Google::Apis::ComputeAlpha::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.
28090 28091 28092 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 28090 def initialize(**args) update!(**args) end |
Instance Attribute Details
#reservations ⇒ Array<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 |