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.



8423
8424
8425
# File 'lib/google/apis/compute_alpha/classes.rb', line 8423

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

Instance Attribute Details

#schedulingGoogle::Apis::ComputeAlpha::CapacityAdviceRequestInstancePropertiesScheduling

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



8421
8422
8423
# File 'lib/google/apis/compute_alpha/classes.rb', line 8421

def scheduling
  @scheduling
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8428
8429
8430
# File 'lib/google/apis/compute_alpha/classes.rb', line 8428

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