Interface NodePool.PlacementPolicyOrBuilder (2.25.0)

public static interface NodePool.PlacementPolicyOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getPolicyName()

public abstract String getPolicyName()

If set, refers to the name of a custom resource policy supplied by the user. The resource policy must be in the same project and region as the node pool. If not found, InvalidArgument error is returned.

string policy_name = 3;

Returns
TypeDescription
String

The policyName.

getPolicyNameBytes()

public abstract ByteString getPolicyNameBytes()

If set, refers to the name of a custom resource policy supplied by the user. The resource policy must be in the same project and region as the node pool. If not found, InvalidArgument error is returned.

string policy_name = 3;

Returns
TypeDescription
ByteString

The bytes for policyName.

getType()

public abstract NodePool.PlacementPolicy.Type getType()

The type of placement.

.google.container.v1.NodePool.PlacementPolicy.Type type = 1;

Returns
TypeDescription
NodePool.PlacementPolicy.Type

The type.

getTypeValue()

public abstract int getTypeValue()

The type of placement.

.google.container.v1.NodePool.PlacementPolicy.Type type = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for type.