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.



8108
8109
8110
# File 'lib/google/apis/compute_beta/classes.rb', line 8108

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

Instance Attribute Details

#schedulingGoogle::Apis::ComputeBeta::CapacityAdviceRequestInstancePropertiesScheduling

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



8106
8107
8108
# File 'lib/google/apis/compute_beta/classes.rb', line 8106

def scheduling
  @scheduling
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8113
8114
8115
# File 'lib/google/apis/compute_beta/classes.rb', line 8113

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