Class: Google::Apis::ComputeBeta::CapacityAdviceRequestInstanceProperties
- Inherits:
-
Object
- Object
- Google::Apis::ComputeBeta::CapacityAdviceRequestInstanceProperties
- 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
Overview
Instance provisioning properties.
Instance Attribute Summary collapse
-
#scheduling ⇒ Google::Apis::ComputeBeta::CapacityAdviceRequestInstancePropertiesScheduling
Defines the instance scheduling options.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CapacityAdviceRequestInstanceProperties
constructor
A new instance of CapacityAdviceRequestInstanceProperties.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CapacityAdviceRequestInstanceProperties
Returns a new instance of CapacityAdviceRequestInstanceProperties.
8091 8092 8093 |
# File 'lib/google/apis/compute_beta/classes.rb', line 8091 def initialize(**args) update!(**args) end |
Instance Attribute Details
#scheduling ⇒ Google::Apis::ComputeBeta::CapacityAdviceRequestInstancePropertiesScheduling
Defines the instance scheduling options.
Corresponds to the JSON property scheduling
8089 8090 8091 |
# File 'lib/google/apis/compute_beta/classes.rb', line 8089 def scheduling @scheduling end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8096 8097 8098 |
# File 'lib/google/apis/compute_beta/classes.rb', line 8096 def update!(**args) @scheduling = args[:scheduling] if args.key?(:scheduling) end |