public interface BinaryAuthorizationOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getBinauthzMethodCase()
public abstract BinaryAuthorization.BinauthzMethodCase getBinauthzMethodCase()
Returns | |
---|---|
Type | Description |
BinaryAuthorization.BinauthzMethodCase |
getBreakglassJustification()
public abstract String getBreakglassJustification()
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The breakglassJustification. |
getBreakglassJustificationBytes()
public abstract ByteString getBreakglassJustificationBytes()
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for breakglassJustification. |
getPolicy()
public abstract String getPolicy()
Optional. The path to a binary authorization policy.
Format: projects/{project}/platforms/cloudRun/{policy-name}
string policy = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
String |
The policy. |
getPolicyBytes()
public abstract ByteString getPolicyBytes()
Optional. The path to a binary authorization policy.
Format: projects/{project}/platforms/cloudRun/{policy-name}
string policy = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for policy. |
getUseDefault()
public abstract boolean getUseDefault()
Optional. If True, indicates to use the default project's binary authorization policy. If False, binary authorization will be disabled.
bool use_default = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
The useDefault. |
hasPolicy()
public abstract boolean hasPolicy()
Optional. The path to a binary authorization policy.
Format: projects/{project}/platforms/cloudRun/{policy-name}
string policy = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
boolean |
Whether the policy field is set. |
hasUseDefault()
public abstract boolean hasUseDefault()
Optional. If True, indicates to use the default project's binary authorization policy. If False, binary authorization will be disabled.
bool use_default = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
Whether the useDefault field is set. |