Class: Google::Apis::ComputeAlpha::CapacityAdviceRequestInstanceProperties

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

Instance provisining properties.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CapacityAdviceRequestInstanceProperties

Returns a new instance of CapacityAdviceRequestInstanceProperties.



7315
7316
7317
# File 'lib/google/apis/compute_alpha/classes.rb', line 7315

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

Instance Attribute Details

#schedulingGoogle::Apis::ComputeAlpha::CapacityAdviceRequestInstancePropertiesScheduling

Defines the instance scheduling options. Corresponds to the JSON property scheduling



7313
7314
7315
# File 'lib/google/apis/compute_alpha/classes.rb', line 7313

def scheduling
  @scheduling
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7320
7321
7322
# File 'lib/google/apis/compute_alpha/classes.rb', line 7320

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