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



18456
18457
18458
# File 'generated/google/apis/compute_beta/classes.rb', line 18456

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>)


18443
18444
18445
# File 'generated/google/apis/compute_beta/classes.rb', line 18443

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)


18448
18449
18450
# File 'generated/google/apis/compute_beta/classes.rb', line 18448

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)


18454
18455
18456
# File 'generated/google/apis/compute_beta/classes.rb', line 18454

def most_disruptive_allowed_action
  @most_disruptive_allowed_action
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



18461
18462
18463
18464
18465
# File 'generated/google/apis/compute_beta/classes.rb', line 18461

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