Google Cloud Run V2 Client - Class BinaryAuthorization (0.9.1)

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 \ V2

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ use_default bool

If True, indicates to use the default project's binary authorization policy. If False, binary authorization will be disabled.

↳ breakglass_justification string

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

If True, indicates to use the default project's binary authorization policy. If False, binary authorization will be disabled.

Returns
TypeDescription
bool

hasUseDefault

setUseDefault

If True, indicates to use the default project's binary authorization policy. If False, binary authorization will be disabled.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getBreakglassJustification

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

Returns
TypeDescription
string

setBreakglassJustification

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getBinauthzMethod

Returns
TypeDescription
string