Class: Google::Apis::ComputeBeta::RegionInstanceGroupManagersApplyUpdatesRequest

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

Overview

InstanceGroupManagers.applyUpdatesToInstances

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ RegionInstanceGroupManagersApplyUpdatesRequest

Returns a new instance of RegionInstanceGroupManagersApplyUpdatesRequest



18507
18508
18509
# File 'generated/google/apis/compute_beta/classes.rb', line 18507

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

Instance Attribute Details

#instancesArray<String>

The list of instances for which we want to apply changes on this managed instance group. Corresponds to the JSON property instances

Returns:

  • (Array<String>)


18494
18495
18496
# File 'generated/google/apis/compute_beta/classes.rb', line 18494

def instances
  @instances
end

#minimal_actionString

The minimal action that should be perfomed on the instances. By default NONE. Corresponds to the JSON property minimalAction

Returns:

  • (String)


18499
18500
18501
# File 'generated/google/apis/compute_beta/classes.rb', line 18499

def minimal_action
  @minimal_action
end

#most_disruptive_allowed_actionString

The most disruptive action that allowed to be performed on the instances. By default REPLACE. Corresponds to the JSON property mostDisruptiveAllowedAction

Returns:

  • (String)


18505
18506
18507
# File 'generated/google/apis/compute_beta/classes.rb', line 18505

def most_disruptive_allowed_action
  @most_disruptive_allowed_action
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



18512
18513
18514
18515
18516
# File 'generated/google/apis/compute_beta/classes.rb', line 18512

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