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
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
bool |
hasUseDefault
setUseDefault
If True, indicates to use the default project's binary authorization policy. If False, binary authorization will be disabled.
Parameter | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getBinauthzMethod
Returns | |
---|---|
Type | Description |
string |