Google Cloud Binary Authorization V1beta1 Client - Class EnforcementMode (0.6.1)
Note: Some or all of the information on this page might not apply
to Trusted Cloud. For a list of services that are available in
Trusted Cloud, see Services available for
Trusted Cloud .
Version 0.6.1keyboard_arrow_down
Beta
This library is covered by the Pre-GA Offerings Terms
of the Terms of Service. Pre-GA libraries might have limited support,
and changes to pre-GA libraries might not be compatible with other pre-GA versions.
For more information, see the
launch stage descriptions .
Reference documentation and code samples for the Google Cloud Binary Authorization V1beta1 Client class EnforcementMode.
Defines the possible actions when a pod creation is denied by an admission
rule.
Protobuf type google.cloud.binaryauthorization.v1beta1.AdmissionRule.EnforcementMode
Namespace
Google \ Cloud \ BinaryAuthorization \ V1beta1 \ AdmissionRule
Methods
static::name
Parameter
Name
Description
value
mixed
static::value
Parameter
Name
Description
name
mixed
Constants
ENFORCEMENT_MODE_UNSPECIFIED
Do not use.
Generated from protobuf enum ENFORCEMENT_MODE_UNSPECIFIED = 0;
ENFORCED_BLOCK_AND_AUDIT_LOG
Enforce the admission rule by blocking the pod creation.
Generated from protobuf enum ENFORCED_BLOCK_AND_AUDIT_LOG = 1;
DRYRUN_AUDIT_LOG_ONLY
Dryrun mode: Audit logging only. This will allow the pod creation as if
the admission request had specified break-glass.
Generated from protobuf enum DRYRUN_AUDIT_LOG_ONLY = 2;
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-10-02 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-02 UTC."],[],[]]