Interface BinaryAuthorizationOrBuilder (2.32.0)

public interface BinaryAuthorizationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEnabled() (deprecated)

public abstract boolean getEnabled()

Deprecated. google.container.v1.BinaryAuthorization.enabled is deprecated. See google/container/v1/cluster_service.proto;l=1439

This field is deprecated. Leave this unset and instead configure BinaryAuthorization using evaluation_mode. If evaluation_mode is set to anything other than EVALUATION_MODE_UNSPECIFIED, this field is ignored.

bool enabled = 1 [deprecated = true];

Returns
TypeDescription
boolean

The enabled.

getEvaluationMode()

public abstract BinaryAuthorization.EvaluationMode getEvaluationMode()

Mode of operation for binauthz policy evaluation. If unspecified, defaults to DISABLED.

.google.container.v1.BinaryAuthorization.EvaluationMode evaluation_mode = 2;

Returns
TypeDescription
BinaryAuthorization.EvaluationMode

The evaluationMode.

getEvaluationModeValue()

public abstract int getEvaluationModeValue()

Mode of operation for binauthz policy evaluation. If unspecified, defaults to DISABLED.

.google.container.v1.BinaryAuthorization.EvaluationMode evaluation_mode = 2;

Returns
TypeDescription
int

The enum numeric value on the wire for evaluationMode.