Google Cloud Binary Authorization V1 Client - Class Policy (1.1.2)
Stay organized with collections
Save and categorize content based on your preferences.
Reference documentation and code samples for the Google Cloud Binary Authorization V1 Client class Policy.
A policy for container image binary authorization.
Generated from protobuf message google.cloud.binaryauthorization.v1.Policy
Namespace
Google \ Cloud \ BinaryAuthorization \ V1
Methods
__construct
Constructor.
Parameter
Name
Description
data
mixed
getName
Output only. The resource name, in the format projects/*/policy. There is
at most one policy per project.
Returns
Type
Description
string
setName
Output only. The resource name, in the format projects/*/policy. There is
at most one policy per project.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getDescription
Optional. A descriptive comment.
Returns
Type
Description
string
setDescription
Optional. A descriptive comment.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getGlobalPolicyEvaluationMode
Optional. Controls the evaluation of a Google-maintained global admission
policy for common system-level images. Images not covered by the global
policy will be subject to the project admission policy. This setting
has no effect when specified inside a global admission policy.
Optional. Controls the evaluation of a Google-maintained global admission
policy for common system-level images. Images not covered by the global
policy will be subject to the project admission policy. This setting
has no effect when specified inside a global admission policy.
Optional. Admission policy allowlisting. A matching admission request will
always be permitted. This feature is typically used to exclude Google or
third-party infrastructure images from Binary Authorization policies.
Optional. Admission policy allowlisting. A matching admission request will
always be permitted. This feature is typically used to exclude Google or
third-party infrastructure images from Binary Authorization policies.
[[["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 2026-03-19 UTC."],[],[]]