Interface InstanceGroupManagersApplyUpdatesRequestOrBuilder (1.58.0)

public interface InstanceGroupManagersApplyUpdatesRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAllInstances()

public abstract boolean getAllInstances()

Flag to update all instances instead of specified list of “instances”. If the flag is set to true then the instances may not be specified in the request.

optional bool all_instances = 403676512;

Returns
Type Description
boolean

The allInstances.

getInstances(int index)

public abstract String getInstances(int index)

The list of URLs of one or more instances for which you want to apply updates. Each URL can be a full URL or a partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME].

repeated string instances = 29097598;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The instances at the given index.

getInstancesBytes(int index)

public abstract ByteString getInstancesBytes(int index)

The list of URLs of one or more instances for which you want to apply updates. Each URL can be a full URL or a partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME].

repeated string instances = 29097598;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the instances at the given index.

getInstancesCount()

public abstract int getInstancesCount()

The list of URLs of one or more instances for which you want to apply updates. Each URL can be a full URL or a partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME].

repeated string instances = 29097598;

Returns
Type Description
int

The count of instances.

getInstancesList()

public abstract List<String> getInstancesList()

The list of URLs of one or more instances for which you want to apply updates. Each URL can be a full URL or a partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME].

repeated string instances = 29097598;

Returns
Type Description
List<String>

A list containing the instances.

getMinimalAction()

public abstract String getMinimalAction()

The minimal action that you want to perform on each instance during the update: - REPLACE: At minimum, delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance and limit disruption as much as possible. - NONE: Do not disrupt the instance at all. By default, the minimum action is NONE. If your update requires a more disruptive action than you set with this flag, the necessary action is performed to execute the update. Check the MinimalAction enum for the list of possible values.

optional string minimal_action = 270567060;

Returns
Type Description
String

The minimalAction.

getMinimalActionBytes()

public abstract ByteString getMinimalActionBytes()

The minimal action that you want to perform on each instance during the update: - REPLACE: At minimum, delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance and limit disruption as much as possible. - NONE: Do not disrupt the instance at all. By default, the minimum action is NONE. If your update requires a more disruptive action than you set with this flag, the necessary action is performed to execute the update. Check the MinimalAction enum for the list of possible values.

optional string minimal_action = 270567060;

Returns
Type Description
ByteString

The bytes for minimalAction.

getMostDisruptiveAllowedAction()

public abstract String getMostDisruptiveAllowedAction()

The most disruptive action that you want to perform on each instance during the update: - REPLACE: Delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance and limit disruption as much as possible. - NONE: Do not disrupt the instance at all. By default, the most disruptive allowed action is REPLACE. If your update requires a more disruptive action than you set with this flag, the update request will fail. Check the MostDisruptiveAllowedAction enum for the list of possible values.

optional string most_disruptive_allowed_action = 66103053;

Returns
Type Description
String

The mostDisruptiveAllowedAction.

getMostDisruptiveAllowedActionBytes()

public abstract ByteString getMostDisruptiveAllowedActionBytes()

The most disruptive action that you want to perform on each instance during the update: - REPLACE: Delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance and limit disruption as much as possible. - NONE: Do not disrupt the instance at all. By default, the most disruptive allowed action is REPLACE. If your update requires a more disruptive action than you set with this flag, the update request will fail. Check the MostDisruptiveAllowedAction enum for the list of possible values.

optional string most_disruptive_allowed_action = 66103053;

Returns
Type Description
ByteString

The bytes for mostDisruptiveAllowedAction.

hasAllInstances()

public abstract boolean hasAllInstances()

Flag to update all instances instead of specified list of “instances”. If the flag is set to true then the instances may not be specified in the request.

optional bool all_instances = 403676512;

Returns
Type Description
boolean

Whether the allInstances field is set.

hasMinimalAction()

public abstract boolean hasMinimalAction()

The minimal action that you want to perform on each instance during the update: - REPLACE: At minimum, delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance and limit disruption as much as possible. - NONE: Do not disrupt the instance at all. By default, the minimum action is NONE. If your update requires a more disruptive action than you set with this flag, the necessary action is performed to execute the update. Check the MinimalAction enum for the list of possible values.

optional string minimal_action = 270567060;

Returns
Type Description
boolean

Whether the minimalAction field is set.

hasMostDisruptiveAllowedAction()

public abstract boolean hasMostDisruptiveAllowedAction()

The most disruptive action that you want to perform on each instance during the update: - REPLACE: Delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance and limit disruption as much as possible. - NONE: Do not disrupt the instance at all. By default, the most disruptive allowed action is REPLACE. If your update requires a more disruptive action than you set with this flag, the update request will fail. Check the MostDisruptiveAllowedAction enum for the list of possible values.

optional string most_disruptive_allowed_action = 66103053;

Returns
Type Description
boolean

Whether the mostDisruptiveAllowedAction field is set.