Class: Google::Apis::ComputeAlpha::RegionInstanceGroupManagerDeleteInstanceConfigReq

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

Overview

RegionInstanceGroupManagers.deletePerInstanceConfigs

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

Returns a new instance of RegionInstanceGroupManagerDeleteInstanceConfigReq



25211
25212
25213
# File 'generated/google/apis/compute_alpha/classes.rb', line 25211

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

Instance Attribute Details

#instancesArray<String>

The list of instances for which we want to delete per-instance configs on this managed instance group. Corresponds to the JSON property instances

Returns:

  • (Array<String>)


25203
25204
25205
# File 'generated/google/apis/compute_alpha/classes.rb', line 25203

def instances
  @instances
end

#namesArray<String>

The list of instance names for which we want to delete per-instance configs on this managed instance group. Corresponds to the JSON property names

Returns:

  • (Array<String>)


25209
25210
25211
# File 'generated/google/apis/compute_alpha/classes.rb', line 25209

def names
  @names
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



25216
25217
25218
25219
# File 'generated/google/apis/compute_alpha/classes.rb', line 25216

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