Interface BinaryAuthorizationOrBuilder (2.58.0)

public interface BinaryAuthorizationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEnabled() (deprecated)

public abstract boolean getEnabled()

Deprecated. google.container.v1beta1.BinaryAuthorization.enabled is deprecated. See google/container/v1beta1/cluster_service.proto;l=1924

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
Type Description
boolean

The enabled.

getEvaluationMode()

public abstract BinaryAuthorization.EvaluationMode getEvaluationMode()

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

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

Returns
Type Description
BinaryAuthorization.EvaluationMode

The evaluationMode.

getEvaluationModeValue()

public abstract int getEvaluationModeValue()

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

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

Returns
Type Description
int

The enum numeric value on the wire for evaluationMode.

getPolicyBindings(int index)

public abstract BinaryAuthorization.PolicyBinding getPolicyBindings(int index)

Optional. Binauthz policies that apply to this cluster.

repeated .google.container.v1beta1.BinaryAuthorization.PolicyBinding policy_bindings = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
BinaryAuthorization.PolicyBinding

getPolicyBindingsCount()

public abstract int getPolicyBindingsCount()

Optional. Binauthz policies that apply to this cluster.

repeated .google.container.v1beta1.BinaryAuthorization.PolicyBinding policy_bindings = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getPolicyBindingsList()

public abstract List<BinaryAuthorization.PolicyBinding> getPolicyBindingsList()

Optional. Binauthz policies that apply to this cluster.

repeated .google.container.v1beta1.BinaryAuthorization.PolicyBinding policy_bindings = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<PolicyBinding>

getPolicyBindingsOrBuilder(int index)

public abstract BinaryAuthorization.PolicyBindingOrBuilder getPolicyBindingsOrBuilder(int index)

Optional. Binauthz policies that apply to this cluster.

repeated .google.container.v1beta1.BinaryAuthorization.PolicyBinding policy_bindings = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
BinaryAuthorization.PolicyBindingOrBuilder

getPolicyBindingsOrBuilderList()

public abstract List<? extends BinaryAuthorization.PolicyBindingOrBuilder> getPolicyBindingsOrBuilderList()

Optional. Binauthz policies that apply to this cluster.

repeated .google.container.v1beta1.BinaryAuthorization.PolicyBinding policy_bindings = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.container.v1beta1.BinaryAuthorization.PolicyBindingOrBuilder>