Interface BinaryAuthorizationOrBuilder (0.20.0)

publicinterface BinaryAuthorizationOrBuilderextendsMessageOrBuilder

Implements

MessageOrBuilder

Methods

getBinauthzMethodCase()

publicabstractBinaryAuthorization.BinauthzMethodCasegetBinauthzMethodCase()
Returns
Type Description
BinaryAuthorization.BinauthzMethodCase

getBreakglassJustification()

publicabstractStringgetBreakglassJustification()

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 breakglass_justification = 2;

Returns
Type Description
String

The breakglassJustification.

getBreakglassJustificationBytes()

publicabstractByteStringgetBreakglassJustificationBytes()

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 breakglass_justification = 2;

Returns
Type Description
ByteString

The bytes for breakglassJustification.

getUseDefault()

publicabstractbooleangetUseDefault()

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

bool use_default = 1;

Returns
Type Description
boolean

The useDefault.

hasUseDefault()

publicabstractbooleanhasUseDefault()

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

bool use_default = 1;

Returns
Type Description
boolean

Whether the useDefault field is set.

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月30日 UTC.