Class: Google::Apis::ComputeAlpha::InstanceGroupManagersUpdatePerInstanceConfigsReq

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

InstanceGroupManagers.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) ⇒ InstanceGroupManagersUpdatePerInstanceConfigsReq

Returns a new instance of InstanceGroupManagersUpdatePerInstanceConfigsReq



12129
12130
12131
# File 'generated/google/apis/compute_alpha/classes.rb', line 12129

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



12127
12128
12129
# File 'generated/google/apis/compute_alpha/classes.rb', line 12127

def per_instance_configs
  @per_instance_configs
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12134
12135
12136
# File 'generated/google/apis/compute_alpha/classes.rb', line 12134

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