Class: Google::Apis::ComputeAlpha::AllocationsUpdateResourceShapeRequest
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::AllocationsUpdateResourceShapeRequest
- 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
-
#count ⇒ Fixnum
Number of allocated resources which are to be updated with minimum = 1 and maximum = 100.
-
#destination_allocation ⇒ String
The name of destination allocation where the modified machines are added.
-
#updated_resource_properties ⇒ Google::Apis::ComputeAlpha::AllocationSpecificSkuAllocationAllocatedInstanceProperties
Properties of the SKU instances being reserved.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AllocationsUpdateResourceShapeRequest
constructor
A new instance of AllocationsUpdateResourceShapeRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ AllocationsUpdateResourceShapeRequest
Returns a new instance of AllocationsUpdateResourceShapeRequest
1585 1586 1587 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 1585 def initialize(**args) update!(**args) end |
Instance Attribute Details
#count ⇒ Fixnum
Number of allocated resources which are to be updated with minimum = 1 and
maximum = 100.
Corresponds to the JSON property count
1570 1571 1572 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 1570 def count @count end |
#destination_allocation ⇒ String
The name of destination allocation where the modified machines are added. If
existing, its machine spec must match the modified machine spec. If non
existing, new allocation with this name and modified machine spec is created
automatically.
Corresponds to the JSON property destinationAllocation
1578 1579 1580 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 1578 def destination_allocation @destination_allocation end |
#updated_resource_properties ⇒ Google::Apis::ComputeAlpha::AllocationSpecificSkuAllocationAllocatedInstanceProperties
Properties of the SKU instances being reserved.
Corresponds to the JSON property updatedResourceProperties
1583 1584 1585 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 1583 def updated_resource_properties @updated_resource_properties end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1590 1591 1592 1593 1594 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 1590 def update!(**args) @count = args[:count] if args.key?(:count) @destination_allocation = args[:destination_allocation] if args.key?(:destination_allocation) @updated_resource_properties = args[:updated_resource_properties] if args.key?(:updated_resource_properties) end |