class Google::Apis::ComputeBeta::InstanceGroupManager
Attributes
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>]
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]
- Output Only
-
The creation timestamp for this managed instance group in
RFC3339 text format. Corresponds to the JSON property `creationTimestamp` @return [String]
- 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]
An optional description of this resource. Provide this property when you create the resource. Corresponds to the JSON property `description` @return [String]
- 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]
- Output Only
-
A unique identifier for this resource type. The server generates
this identifier. Corresponds to the JSON property `id` @return [String]
- Output Only
-
The URL of the Instance Group resource.
Corresponds to the JSON property `instanceGroup` @return [String]
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]
- Output Only
-
The resource type, which is always compute#instanceGroupManager
for managed instance groups. Corresponds to the JSON property `kind` @return [String]
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]
- Output Only
-
The URL for this managed instance group. The server defines this
URL. Corresponds to the JSON property `selfLink` @return [String]
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>]
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]
The name of the zone where the managed instance group is located. Corresponds to the JSON property `zone` @return [String]
Public Class Methods
# File generated/google/apis/compute_beta/classes.rb, line 3684 def initialize(**args) update!(**args) end
Public Instance Methods
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