GetRegionInstanceGroupManagerResult class

Result data returned by getRegionInstanceGroupManager.

Constructors

GetRegionInstanceGroupManagerResult({required InstanceGroupManagerAllInstancesConfigResponse allInstancesConfig, required List<InstanceGroupManagerAutoHealingPolicyResponse> autoHealingPolicies, required String baseInstanceName, required String creationTimestamp, required InstanceGroupManagerActionsSummaryResponse currentActions, required String description, required DistributionPolicyResponse distributionPolicy, required String failoverAction, required String fingerprint, required InstanceGroupManagerInstanceFlexibilityPolicyResponse instanceFlexibilityPolicy, required String instanceGroup, required InstanceGroupManagerInstanceLifecyclePolicyResponse instanceLifecyclePolicy, required String instanceTemplate, required String kind, required String listManagedInstancesResults, required String name, required List<NamedPortResponse> namedPorts, required String region, required String selfLink, required String selfLinkWithId, required String serviceAccount, required InstanceGroupManagerStandbyPolicyResponse standbyPolicy, required StatefulPolicyResponse statefulPolicy, required InstanceGroupManagerStatusResponse status, required List<String> targetPools, required int targetSize, required String targetSizeUnit, required int targetStoppedSize, required int targetSuspendedSize, required InstanceGroupManagerUpdatePolicyResponse updatePolicy, required List<InstanceGroupManagerVersionResponse> versions, required String zone})
Creates a new GetRegionInstanceGroupManagerResult. allInstancesConfig Specifies configuration that overrides the instance template configuration for the group. autoHealingPolicies The autohealing policy for this managed instance group. You can specify only one value. baseInstanceName 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. creationTimestamp The creation timestamp for this managed instance group in RFC3339 text format. currentActions The list of instance actions and the number of instances in this managed instance group that are scheduled for each of those actions. description An optional description of this resource. distributionPolicy Policy specifying the intended distribution of managed instances across zones in a regional managed instance group. failoverAction The action to perform in case of zone failure. Only one value is supported, NO_FAILOVER. The default is NO_FAILOVER. fingerprint Fingerprint of this resource. This field may be used in optimistic locking. It will be ignored when inserting an InstanceGroupManager. An up-to-date fingerprint must be provided in order to update the InstanceGroupManager, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve an InstanceGroupManager. instanceFlexibilityPolicy Instance flexibility allowing MIG to create VMs from multiple types of machines. Instance flexibility configuration on MIG overrides instance template configuration. instanceGroup The URL of the Instance Group resource. instanceLifecyclePolicy The repair policy for this managed instance group. instanceTemplate 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. The templates for existing instances in the group do not change unless you run recreateInstances, run applyUpdatesToInstances, or set the group's updatePolicy.type to PROACTIVE. kind The resource type, which is always compute#instanceGroupManager for managed instance groups. listManagedInstancesResults Pagination behavior of the listManagedInstances API method for this managed instance group. name The name of the managed instance group. The name must be 1-63 characters long, and comply with RFC1035. namedPorts Named ports configured for the Instance Groups complementary to this Instance Group Manager. region The URL of the region where the managed instance group resides (for regional resources). selfLink The URL for this managed instance group. The server defines this URL. selfLinkWithId Server-defined URL for this resource with the resource id. serviceAccount The service account to be used as credentials for all operations performed by the managed instance group on instances. The service accounts needs all permissions required to create and delete instances. By default, the service account {projectNumber}@cloudservices.gserviceaccount.com is used. standbyPolicy Standby policy for stopped and suspended instances. statefulPolicy Stateful configuration for this Instanced Group Manager status The status of this managed instance group. targetPools 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. targetSize The target number of running instances for this managed instance group. You can reduce this number by using the instanceGroupManager deleteInstances or abandonInstances methods. Resizing the group also changes this number. targetSizeUnit The unit of measure for the target size. targetStoppedSize The target number of stopped instances for this managed instance group. This number changes when you: - Stop instance using the stopInstances method or start instances using the startInstances method. - Manually change the targetStoppedSize using the update method. targetSuspendedSize The target number of suspended instances for this managed instance group. This number changes when you: - Suspend instance using the suspendInstances method or resume instances using the resumeInstances method. - Manually change the targetSuspendedSize using the update method. updatePolicy The update policy for this managed instance group. versions Specifies the instance templates used by this managed instance group to create instances. Each version is defined by an instanceTemplate and a name. Every version can appear at most once per instance group. This field overrides the top-level instanceTemplate field. Read more about the relationships between these fields. Exactly one version must leave the targetSize field unset. That version will be applied to all remaining instances. For more information, read about canary updates. zone The URL of a zone where the managed instance group is located (for zonal resources).
const
GetRegionInstanceGroupManagerResult.fromMap(Map<String, dynamic> map)
factory

Properties

allInstancesConfig → InstanceGroupManagerAllInstancesConfigResponse
Specifies configuration that overrides the instance template configuration for the group.
final
autoHealingPolicies → List<InstanceGroupManagerAutoHealingPolicyResponse>
The autohealing policy for this managed instance group. You can specify only one value.
final
baseInstanceName → String
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.
final
creationTimestamp → String
The creation timestamp for this managed instance group in RFC3339 text format.
final
currentActions → InstanceGroupManagerActionsSummaryResponse
The list of instance actions and the number of instances in this managed instance group that are scheduled for each of those actions.
final
description → String
An optional description of this resource.
final
distributionPolicy → DistributionPolicyResponse
Policy specifying the intended distribution of managed instances across zones in a regional managed instance group.
final
failoverAction → String
The action to perform in case of zone failure. Only one value is supported, NO_FAILOVER. The default is NO_FAILOVER.
final
fingerprint → String
Fingerprint of this resource. This field may be used in optimistic locking. It will be ignored when inserting an InstanceGroupManager. An up-to-date fingerprint must be provided in order to update the InstanceGroupManager, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve an InstanceGroupManager.
final
hashCode → int
The hash code for this object.
no setterinherited
instanceFlexibilityPolicy → InstanceGroupManagerInstanceFlexibilityPolicyResponse
Instance flexibility allowing MIG to create VMs from multiple types of machines. Instance flexibility configuration on MIG overrides instance template configuration.
final
instanceGroup → String
The URL of the Instance Group resource.
final
instanceLifecyclePolicy → InstanceGroupManagerInstanceLifecyclePolicyResponse
The repair policy for this managed instance group.
final
instanceTemplate → 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. The templates for existing instances in the group do not change unless you run recreateInstances, run applyUpdatesToInstances, or set the group's updatePolicy.type to PROACTIVE.
final
kind → String
The resource type, which is always compute#instanceGroupManager for managed instance groups.
final
listManagedInstancesResults → String
Pagination behavior of the listManagedInstances API method for this managed instance group.
final
name → String
The name of the managed instance group. The name must be 1-63 characters long, and comply with RFC1035.
final
namedPorts → List<NamedPortResponse>
Named ports configured for the Instance Groups complementary to this Instance Group Manager.
final
region → String
The URL of the region where the managed instance group resides (for regional resources).
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
The URL for this managed instance group. The server defines this URL.
final
selfLinkWithId → String
Server-defined URL for this resource with the resource id.
final
serviceAccount → String
The service account to be used as credentials for all operations performed by the managed instance group on instances. The service accounts needs all permissions required to create and delete instances. By default, the service account {projectNumber}@cloudservices.gserviceaccount.com is used.
final
standbyPolicy → InstanceGroupManagerStandbyPolicyResponse
Standby policy for stopped and suspended instances.
final
statefulPolicy → StatefulPolicyResponse
Stateful configuration for this Instanced Group Manager
final
status → InstanceGroupManagerStatusResponse
The status of this managed instance group.
final
targetPools → List<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.
final
targetSize → int
The target number of running instances for this managed instance group. You can reduce this number by using the instanceGroupManager deleteInstances or abandonInstances methods. Resizing the group also changes this number.
final
targetSizeUnit → String
The unit of measure for the target size.
final
targetStoppedSize → int
The target number of stopped instances for this managed instance group. This number changes when you: - Stop instance using the stopInstances method or start instances using the startInstances method. - Manually change the targetStoppedSize using the update method.
final
targetSuspendedSize → int
The target number of suspended instances for this managed instance group. This number changes when you: - Suspend instance using the suspendInstances method or resume instances using the resumeInstances method. - Manually change the targetSuspendedSize using the update method.
final
updatePolicy → InstanceGroupManagerUpdatePolicyResponse
The update policy for this managed instance group.
final
versions → List<InstanceGroupManagerVersionResponse>
Specifies the instance templates used by this managed instance group to create instances. Each version is defined by an instanceTemplate and a name. Every version can appear at most once per instance group. This field overrides the top-level instanceTemplate field. Read more about the relationships between these fields. Exactly one version must leave the targetSize field unset. That version will be applied to all remaining instances. For more information, read about canary updates.
final
zone → String
The URL of a zone where the managed instance group is located (for zonal resources).
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited