Reference documentation and code samples for the Google Cloud Run V2 Client class BinaryAuthorization.
Settings for Binary Authorization feature.
Generated from protobuf message google.cloud.run.v2.BinaryAuthorization
Namespace
Google \ Cloud \ Run \ V2Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ use_default
bool
Optional. If True, indicates to use the default project's binary authorization policy. If False, binary authorization will be disabled.
↳ policy
string
Optional. The path to a binary authorization policy. Format: projects/{project}/platforms/cloudRun/{policy-name}
↳ breakglass_justification
string
Optional. If present, indicates to use Breakglass using this justification. If use_default is False, then it must be empty. For more information on breakglass, see https://cloud.google.com/binary-authorization/docs/using-breakglass
getUseDefault
Optional. If True, indicates to use the default project's binary authorization policy. If False, binary authorization will be disabled.
bool
hasUseDefault
setUseDefault
Optional. If True, indicates to use the default project's binary authorization policy. If False, binary authorization will be disabled.
var
bool
$this
getPolicy
Optional. The path to a binary authorization policy.
Format: projects/{project}/platforms/cloudRun/{policy-name}
string
hasPolicy
setPolicy
Optional. The path to a binary authorization policy.
Format: projects/{project}/platforms/cloudRun/{policy-name}
var
string
$this
getBreakglassJustification
Optional. If present, indicates to use Breakglass using this justification.
If use_default is False, then it must be empty. For more information on breakglass, see https://cloud.google.com/binary-authorization/docs/using-breakglass
string
setBreakglassJustification
Optional. If present, indicates to use Breakglass using this justification.
If use_default is False, then it must be empty. For more information on breakglass, see https://cloud.google.com/binary-authorization/docs/using-breakglass
var
string
$this
getBinauthzMethod
string