Class: Google::Apis::ComputeV1::ManagedInstancePropertiesFromFlexibilityPolicy

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/compute_v1/classes.rb,
lib/google/apis/compute_v1/representations.rb,
lib/google/apis/compute_v1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ManagedInstancePropertiesFromFlexibilityPolicy

Returns a new instance of ManagedInstancePropertiesFromFlexibilityPolicy.



30254
30255
30256
# File 'lib/google/apis/compute_v1/classes.rb', line 30254

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

Instance Attribute Details

#machine_typeString

Output only. The machine type to be used for this instance. Corresponds to the JSON property machineType

Returns:

  • (String)


30252
30253
30254
# File 'lib/google/apis/compute_v1/classes.rb', line 30252

def machine_type
  @machine_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



30259
30260
30261
# File 'lib/google/apis/compute_v1/classes.rb', line 30259

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