Interface RegionInstanceGroupManagersSuspendInstancesRequestOrBuilder (1.65.0)

public interface RegionInstanceGroupManagersSuspendInstancesRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getForceSuspend()

public abstract boolean getForceSuspend()

If this flag is set to true, the Instance Group Manager will proceed to suspend the instances, skipping initialization on them.

optional bool force_suspend = 27637480;

Returns
Type Description
boolean

The forceSuspend.

getInstances(int index)

public abstract String getInstances(int index)

The URLs of one or more instances to suspend. This 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 URLs of one or more instances to suspend. This 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 URLs of one or more instances to suspend. This 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 URLs of one or more instances to suspend. This 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.

hasForceSuspend()

public abstract boolean hasForceSuspend()

If this flag is set to true, the Instance Group Manager will proceed to suspend the instances, skipping initialization on them.

optional bool force_suspend = 27637480;

Returns
Type Description
boolean

Whether the forceSuspend field is set.