public static enum InstanceGroupManagerUpdatePolicy.Type extends Enum<InstanceGroupManagerUpdatePolicy.Type> implements com.google.protobuf.ProtocolMessageEnum
The type of update process. You can specify either PROACTIVE so that the instance group manager proactively executes actions in order to bring instances to their target versions or OPPORTUNISTIC so that no action is proactively executed but the update will be performed as part of other actions (for example, resizes or recreateInstances calls). Additional supported values which may be not listed in the enum directly due to technical reasons: PROACTIVEProtobuf enum
google.cloud.compute.v1.InstanceGroupManagerUpdatePolicy.Type| Enum Constant and Description |
|---|
OPPORTUNISTIC
No action is being proactively performed in order to bring this IGM to its target version distribution (regardless of whether this distribution is expressed using instanceTemplate or versions field).
|
UNDEFINED_TYPE
A value indicating that the enum field is not set.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
OPPORTUNISTIC_VALUE
No action is being proactively performed in order to bring this IGM to its target version distribution (regardless of whether this distribution is expressed using instanceTemplate or versions field).
|
static int |
UNDEFINED_TYPE_VALUE
A value indicating that the enum field is not set.
|
| Modifier and Type | Method and Description |
|---|---|
static InstanceGroupManagerUpdatePolicy.Type |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<InstanceGroupManagerUpdatePolicy.Type> |
internalGetValueMap() |
static InstanceGroupManagerUpdatePolicy.Type |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static InstanceGroupManagerUpdatePolicy.Type |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static InstanceGroupManagerUpdatePolicy.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InstanceGroupManagerUpdatePolicy.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InstanceGroupManagerUpdatePolicy.Type UNDEFINED_TYPE
A value indicating that the enum field is not set.
UNDEFINED_TYPE = 0;public static final InstanceGroupManagerUpdatePolicy.Type OPPORTUNISTIC
No action is being proactively performed in order to bring this IGM to its target version distribution (regardless of whether this distribution is expressed using instanceTemplate or versions field).
OPPORTUNISTIC = 429530089;public static final InstanceGroupManagerUpdatePolicy.Type UNRECOGNIZED
public static final int UNDEFINED_TYPE_VALUE
A value indicating that the enum field is not set.
UNDEFINED_TYPE = 0;public static final int OPPORTUNISTIC_VALUE
No action is being proactively performed in order to bring this IGM to its target version distribution (regardless of whether this distribution is expressed using instanceTemplate or versions field).
OPPORTUNISTIC = 429530089;public static InstanceGroupManagerUpdatePolicy.Type[] values()
for (InstanceGroupManagerUpdatePolicy.Type c : InstanceGroupManagerUpdatePolicy.Type.values()) System.out.println(c);
public static InstanceGroupManagerUpdatePolicy.Type valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static InstanceGroupManagerUpdatePolicy.Type valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static InstanceGroupManagerUpdatePolicy.Type forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<InstanceGroupManagerUpdatePolicy.Type> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static InstanceGroupManagerUpdatePolicy.Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.