Class: Google::Apis::ComputeAlpha::RegionCommitmentsUpdateReservationsRequest
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::RegionCommitmentsUpdateReservationsRequest
- 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
-
#reservations ⇒ Array<Google::Apis::ComputeAlpha::Reservation>
A list of two reservations to transfer GPUs and Local SSD disks 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.
48146 48147 48148 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 48146 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 disks between.
Corresponds to the JSON property reservations
48144 48145 48146 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 48144 def reservations @reservations end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
48151 48152 48153 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 48151 def update!(**args) @reservations = args[:reservations] if args.key?(:reservations) end |