Class: Google::Apis::ComputeAlpha::CapacityHistoryRequestInstancePropertiesScheduling

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

Scheduling options.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CapacityHistoryRequestInstancePropertiesScheduling

Returns a new instance of CapacityHistoryRequestInstancePropertiesScheduling.



8678
8679
8680
# File 'lib/google/apis/compute_alpha/classes.rb', line 8678

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

Instance Attribute Details

#provisioning_modelString

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

Returns:

  • (String)


8676
8677
8678
# File 'lib/google/apis/compute_alpha/classes.rb', line 8676

def provisioning_model
  @provisioning_model
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8683
8684
8685
# File 'lib/google/apis/compute_alpha/classes.rb', line 8683

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