@Generated(value="by GAPIC") @BetaApi public final class InstanceGroupManager extends Object implements ApiMessage
Modifier and Type | Class and Description |
---|---|
static class |
InstanceGroupManager.Builder |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
ApiMessage |
getApiMessageRequestBody() |
List<InstanceGroupManagerAutoHealingPolicy> |
getAutoHealingPoliciesList()
The autohealing policy for this managed instance group.
|
String |
getBaseInstanceName()
The base instance name to use for instances in this group.
|
String |
getCreationTimestamp()
[Output Only] The creation timestamp for this managed instance group in RFC3339 text format.
|
InstanceGroupManagerActionsSummary |
getCurrentActions()
[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.
|
static InstanceGroupManager |
getDefaultInstance() |
String |
getDescription()
An optional description of this resource.
|
DistributionPolicy |
getDistributionPolicy()
Policy specifying intended distribution of instances in regional managed instance group.
|
List<String> |
getFieldMask() |
Object |
getFieldValue(String fieldName) |
String |
getFingerprint()
Fingerprint of this resource.
|
String |
getId()
[Output Only] A unique identifier for this resource type.
|
String |
getInstanceGroup()
[Output Only] The URL of the Instance Group resource.
|
String |
getInstanceTemplate()
The URL of the instance template that is specified for this managed instance group.
|
String |
getKind()
[Output Only] The resource type, which is always compute#instanceGroupManager for managed
instance groups.
|
String |
getName()
The name of the managed instance group.
|
List<NamedPort> |
getNamedPortsList()
Named ports configured for the Instance Groups complementary to this Instance Group Manager.
|
String |
getRegion()
[Output Only] The URL of the region where the managed instance group resides (for regional
resources).
|
String |
getSelfLink()
[Output Only] The URL for this managed instance group.
|
InstanceGroupManagerStatus |
getStatus()
[Output Only] The status of this managed instance group.
|
List<String> |
getTargetPoolsList()
The URLs for all TargetPool resources to which instances in the instanceGroup field are added.
|
Integer |
getTargetSize()
The target number of running instances for this managed instance group.
|
InstanceGroupManagerUpdatePolicy |
getUpdatePolicy()
The update policy for this managed instance group.
|
List<InstanceGroupManagerVersion> |
getVersionsList()
Specifies the instance templates used by this managed instance group to create instances.
|
String |
getZone()
[Output Only] The URL of the zone where the managed instance group is located (for zonal
resources).
|
int |
hashCode() |
static InstanceGroupManager.Builder |
newBuilder() |
static InstanceGroupManager.Builder |
newBuilder(InstanceGroupManager prototype) |
InstanceGroupManager.Builder |
toBuilder() |
String |
toString() |
public Object getFieldValue(String fieldName)
getFieldValue
in interface ApiMessage
@Nullable public ApiMessage getApiMessageRequestBody()
getApiMessageRequestBody
in interface ApiMessage
@Nullable public List<String> getFieldMask()
getFieldMask
in interface ApiMessage
public List<InstanceGroupManagerAutoHealingPolicy> getAutoHealingPoliciesList()
public String getBaseInstanceName()
public String getCreationTimestamp()
public InstanceGroupManagerActionsSummary getCurrentActions()
public String getDescription()
public DistributionPolicy getDistributionPolicy()
public String getFingerprint()
To see the latest fingerprint, make a get() request to retrieve an InstanceGroupManager.
public String getId()
public String getInstanceGroup()
public String getInstanceTemplate()
public String getKind()
public String getName()
public List<NamedPort> getNamedPortsList()
public String getRegion()
public String getSelfLink()
public InstanceGroupManagerStatus getStatus()
public List<String> getTargetPoolsList()
public Integer getTargetSize()
public InstanceGroupManagerUpdatePolicy getUpdatePolicy()
public List<InstanceGroupManagerVersion> getVersionsList()
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.
public String getZone()
public static InstanceGroupManager.Builder newBuilder()
public static InstanceGroupManager.Builder newBuilder(InstanceGroupManager prototype)
public InstanceGroupManager.Builder toBuilder()
public static InstanceGroupManager getDefaultInstance()
Copyright © 2019 Google LLC. All rights reserved.