Interface BinaryAuthorizationOrBuilder (2.30.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=1758

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.v1beta1.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.v1beta1.BinaryAuthorization.EvaluationMode evaluation_mode = 2;

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.container.v1beta1.BinaryAuthorization.PolicyBindingOrBuilder>