Interface BinaryAuthorizationOrBuilder (0.40.0)

public interface BinaryAuthorizationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBinauthzMethodCase()

public abstract BinaryAuthorization.BinauthzMethodCase getBinauthzMethodCase()
Returns
TypeDescription
BinaryAuthorization.BinauthzMethodCase

getBreakglassJustification()

public abstract String 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

string breakglass_justification = 2;

Returns
TypeDescription
String

The breakglassJustification.

getBreakglassJustificationBytes()

public abstract ByteString getBreakglassJustificationBytes()

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
TypeDescription
ByteString

The bytes for breakglassJustification.

getUseDefault()

public abstract boolean getUseDefault()

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

bool use_default = 1;

Returns
TypeDescription
boolean

The useDefault.

hasUseDefault()

public abstract boolean hasUseDefault()

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

bool use_default = 1;

Returns
TypeDescription
boolean

Whether the useDefault field is set.