Class: Google::Apis::ComputeAlpha::RegionInstanceGroupManagerUpdateInstanceConfigReq

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.updatePerInstanceConfigs

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

Returns a new instance of RegionInstanceGroupManagerUpdateInstanceConfigReq



20256
20257
20258
# File 'generated/google/apis/compute_alpha/classes.rb', line 20256

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

Instance Attribute Details

#per_instance_configsArray<Google::Apis::ComputeAlpha::PerInstanceConfig>

The list of per-instance configs to insert or patch on this managed instance group. Corresponds to the JSON property perInstanceConfigs



20254
20255
20256
# File 'generated/google/apis/compute_alpha/classes.rb', line 20254

def per_instance_configs
  @per_instance_configs
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



20261
20262
20263
# File 'generated/google/apis/compute_alpha/classes.rb', line 20261

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