Class: Google::Apis::ComputeAlpha::CapacityHistoryRequestInstancePropertiesScheduling
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::CapacityHistoryRequestInstancePropertiesScheduling
- 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
Overview
Scheduling options.
Instance Attribute Summary collapse
-
#provisioning_model ⇒ String
The provisioning model to get capacity history for.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CapacityHistoryRequestInstancePropertiesScheduling
constructor
A new instance of CapacityHistoryRequestInstancePropertiesScheduling.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CapacityHistoryRequestInstancePropertiesScheduling
Returns a new instance of CapacityHistoryRequestInstancePropertiesScheduling.
8695 8696 8697 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 8695 def initialize(**args) update!(**args) end |
Instance Attribute Details
#provisioning_model ⇒ String
The provisioning model to get capacity history for.
This field must be set to SPOT.
For more information, see
Compute Engine instances provisioning models.
Corresponds to the JSON property provisioningModel
8693 8694 8695 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 8693 def provisioning_model @provisioning_model end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8700 8701 8702 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 8700 def update!(**args) @provisioning_model = args[:provisioning_model] if args.key?(:provisioning_model) end |