Class: Google::Apis::ComputeAlpha::ReservationAdvancedDeploymentControl

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

Advance control for cluster management, applicable only to DENSE deployment type reservations.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ReservationAdvancedDeploymentControl

Returns a new instance of ReservationAdvancedDeploymentControl.



50372
50373
50374
# File 'lib/google/apis/compute_alpha/classes.rb', line 50372

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

Instance Attribute Details

#reservation_operational_modeString

Indicates chosen reservation operational mode for the reservation. Corresponds to the JSON property reservationOperationalMode

Returns:

  • (String)


50370
50371
50372
# File 'lib/google/apis/compute_alpha/classes.rb', line 50370

def reservation_operational_mode
  @reservation_operational_mode
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



50377
50378
50379
# File 'lib/google/apis/compute_alpha/classes.rb', line 50377

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