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



21513
21514
21515
# File 'generated/google/apis/compute_alpha/classes.rb', line 21513

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


21505
21506
21507
# File 'generated/google/apis/compute_alpha/classes.rb', line 21505

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


21511
21512
21513
# File 'generated/google/apis/compute_alpha/classes.rb', line 21511

def names
  @names
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



21518
21519
21520
21521
# File 'generated/google/apis/compute_alpha/classes.rb', line 21518

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