Package com.google.cloud.run.v2
Interface BinaryAuthorizationOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
BinaryAuthorization
,BinaryAuthorization.Builder
public interface BinaryAuthorizationOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BinaryAuthorization.BinauthzMethodCase
getBinauthzMethodCase()
String
getBreakglassJustification()
If present, indicates to use Breakglass using this justification.com.google.protobuf.ByteString
getBreakglassJustificationBytes()
If present, indicates to use Breakglass using this justification.boolean
getUseDefault()
If True, indicates to use the default project's binary authorization policy.boolean
hasUseDefault()
If True, indicates to use the default project's binary authorization policy.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasUseDefault
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:
- Whether the useDefault field is set.
-
getUseDefault
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:
- The useDefault.
-
getBreakglassJustification
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:
- The breakglassJustification.
-
getBreakglassJustificationBytes
com.google.protobuf.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:
- The bytes for breakglassJustification.
-
getBinauthzMethodCase
BinaryAuthorization.BinauthzMethodCase getBinauthzMethodCase()
-
-