class Google::Apis::ComputeBeta::InstanceGroupManager

Attributes

auto_healing_policies[RW]

The autohealing policy for this managed instance group. You can specify only one value. Corresponds to the JSON property `autoHealingPolicies` @return [Array<Google::Apis::ComputeBeta::InstanceGroupManagerAutoHealingPolicy>]

base_instance_name[RW]

The base instance name to use for instances in this group. The value must be 1- 58 characters long. Instances are named by appending a hyphen and a random four-character string to the base instance name. The base instance name must comply with RFC1035. Corresponds to the JSON property `baseInstanceName` @return [String]

creation_timestamp[RW]
Output Only

The creation timestamp for this managed instance group in

RFC3339 text format. Corresponds to the JSON property `creationTimestamp` @return [String]

current_actions[RW]
Output Only

The list of instance actions and the number of instances in this

managed instance group that are scheduled for each of those actions. Corresponds to the JSON property `currentActions` @return [Google::Apis::ComputeBeta::InstanceGroupManagerActionsSummary]

description[RW]

An optional description of this resource. Provide this property when you create the resource. Corresponds to the JSON property `description` @return [String]

fingerprint[RW]
Output Only

The fingerprint of the target pools information. You can use

this optional field for optimistic locking when you update the target pool entries. Corresponds to the JSON property `fingerprint` @return [String]

id[RW]
Output Only

A unique identifier for this resource type. The server generates

this identifier. Corresponds to the JSON property `id` @return [String]

instance_group[RW]
Output Only

The URL of the Instance Group resource.

Corresponds to the JSON property `instanceGroup` @return [String]

instance_template[RW]

The URL of the instance template that is specified for this managed instance group. The group uses this template to create all new instances in the managed instance group. Corresponds to the JSON property `instanceTemplate` @return [String]

kind[RW]
Output Only

The resource type, which is always compute#instanceGroupManager

for managed instance groups. Corresponds to the JSON property `kind` @return [String]

name[RW]

The name of the managed instance group. The name must be 1-63 characters long, and comply with RFC1035. Corresponds to the JSON property `name` @return [String]

named_ports[RW]

Named ports configured for the Instance Groups complementary to this Instance Group Manager. Corresponds to the JSON property `namedPorts` @return [Array<Google::Apis::ComputeBeta::NamedPort>]

target_pools[RW]

The URLs for all TargetPool resources to which instances in the instanceGroup field are added. The target pools automatically apply to all of the instances in the managed instance group. Corresponds to the JSON property `targetPools` @return [Array<String>]

target_size[RW]

The target number of running instances for this managed instance group. Deleting or abandoning instances reduces this number. Resizing the group changes this number. Corresponds to the JSON property `targetSize` @return [Fixnum]

zone[RW]

The name of the zone where the managed instance group is located. Corresponds to the JSON property `zone` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/compute_beta/classes.rb, line 3684
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/compute_beta/classes.rb, line 3689
def update!(**args)
  @auto_healing_policies = args[:auto_healing_policies] if args.key?(:auto_healing_policies)
  @base_instance_name = args[:base_instance_name] if args.key?(:base_instance_name)
  @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
  @current_actions = args[:current_actions] if args.key?(:current_actions)
  @description = args[:description] if args.key?(:description)
  @fingerprint = args[:fingerprint] if args.key?(:fingerprint)
  @id = args[:id] if args.key?(:id)
  @instance_group = args[:instance_group] if args.key?(:instance_group)
  @instance_template = args[:instance_template] if args.key?(:instance_template)
  @kind = args[:kind] if args.key?(:kind)
  @name = args[:name] if args.key?(:name)
  @named_ports = args[:named_ports] if args.key?(:named_ports)
  @self_link = args[:self_link] if args.key?(:self_link)
  @target_pools = args[:target_pools] if args.key?(:target_pools)
  @target_size = args[:target_size] if args.key?(:target_size)
  @zone = args[:zone] if args.key?(:zone)
end