Class: Google::Apis::ComputeAlpha::CapacityAdviceRequestInstancePropertiesScheduling

Inherits:
Object
  • Object
show all
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

Defines the instance scheduling options.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CapacityAdviceRequestInstancePropertiesScheduling

Returns a new instance of CapacityAdviceRequestInstancePropertiesScheduling.



7334
7335
7336
# File 'lib/google/apis/compute_alpha/classes.rb', line 7334

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#provisioning_modelString

Specifies the provisioning model of the instance. Corresponds to the JSON property provisioningModel

Returns:

  • (String)


7332
7333
7334
# File 'lib/google/apis/compute_alpha/classes.rb', line 7332

def provisioning_model
  @provisioning_model
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7339
7340
7341
# File 'lib/google/apis/compute_alpha/classes.rb', line 7339

def update!(**args)
  @provisioning_model = args[:provisioning_model] if args.key?(:provisioning_model)
end