Class: Google::Apis::ComputeBeta::CapacityAdviceRequestInstanceProperties

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CapacityAdviceRequestInstanceProperties

Returns a new instance of CapacityAdviceRequestInstanceProperties.



8122
8123
8124
# File 'lib/google/apis/compute_beta/classes.rb', line 8122

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

Instance Attribute Details

#schedulingGoogle::Apis::ComputeBeta::CapacityAdviceRequestInstancePropertiesScheduling

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



8120
8121
8122
# File 'lib/google/apis/compute_beta/classes.rb', line 8120

def scheduling
  @scheduling
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8127
8128
8129
# File 'lib/google/apis/compute_beta/classes.rb', line 8127

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