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



20116
20117
20118
# File 'generated/google/apis/compute_alpha/classes.rb', line 20116

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


20108
20109
20110
# File 'generated/google/apis/compute_alpha/classes.rb', line 20108

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


20114
20115
20116
# File 'generated/google/apis/compute_alpha/classes.rb', line 20114

def names
  @names
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



20121
20122
20123
20124
# File 'generated/google/apis/compute_alpha/classes.rb', line 20121

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