Reference documentation and code samples for the Google Cloud Binary Authorization V1 Client class EvaluationMode.
Protobuf type google.cloud.binaryauthorization.v1.AdmissionRule.EvaluationMode
Namespace
Google \ Cloud \ BinaryAuthorization \ V1 \ AdmissionRule
Methods
static::name
Parameter
Name
Description
value
mixed
static::value
Parameter
Name
Description
name
mixed
Constants
EVALUATION_MODE_UNSPECIFIED
Value: 0
Do not use.
Generated from protobuf enum EVALUATION_MODE_UNSPECIFIED = 0;
ALWAYS_ALLOW
Value: 1
This rule allows all all pod creations.
Generated from protobuf enum ALWAYS_ALLOW = 1;
REQUIRE_ATTESTATION
Value: 2
This rule allows a pod creation if all the attestors listed in
'require_attestations_by' have valid attestations for all of the
images in the pod spec.
Generated from protobuf enum REQUIRE_ATTESTATION = 2;
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Binary Authorization V1 Client - Class EvaluationMode (1.0.5)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.5 (latest)](/php/docs/reference/cloud-binary-authorization/latest/V1.AdmissionRule.EvaluationMode)\n- [1.0.4](/php/docs/reference/cloud-binary-authorization/1.0.4/V1.AdmissionRule.EvaluationMode)\n- [0.8.7](/php/docs/reference/cloud-binary-authorization/0.8.7/V1.AdmissionRule.EvaluationMode)\n- [0.7.0](/php/docs/reference/cloud-binary-authorization/0.7.0/V1.AdmissionRule.EvaluationMode)\n- [0.6.1](/php/docs/reference/cloud-binary-authorization/0.6.1/V1.AdmissionRule.EvaluationMode)\n- [0.5.13](/php/docs/reference/cloud-binary-authorization/0.5.13/V1.AdmissionRule.EvaluationMode) \nReference documentation and code samples for the Google Cloud Binary Authorization V1 Client class EvaluationMode.\n\nProtobuf type `google.cloud.binaryauthorization.v1.AdmissionRule.EvaluationMode`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ BinaryAuthorization \\\\ V1 \\\\ AdmissionRule\n\nMethods\n-------\n\n### static::name\n\n### static::value\n\nConstants\n---------\n\n### EVALUATION_MODE_UNSPECIFIED\n\n Value: 0\n\nDo not use.\n\nGenerated from protobuf enum `EVALUATION_MODE_UNSPECIFIED = 0;`\n\n### ALWAYS_ALLOW\n\n Value: 1\n\nThis rule allows all all pod creations.\n\nGenerated from protobuf enum `ALWAYS_ALLOW = 1;`\n\n### REQUIRE_ATTESTATION\n\n Value: 2\n\nThis rule allows a pod creation if all the attestors listed in\n'require_attestations_by' have valid attestations for all of the\nimages in the pod spec.\n\nGenerated from protobuf enum `REQUIRE_ATTESTATION = 2;`\n\n### ALWAYS_DENY\n\n Value: 3\n\nThis rule denies all pod creations.\n\nGenerated from protobuf enum `ALWAYS_DENY = 3;`"]]