Reference documentation and code samples for the Cloud Run V2 API class Google::Cloud::Run::V2::BinaryAuthorization.
Settings for Binary Authorization feature.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#breakglass_justification
def breakglass_justification() -> ::String
Returns
- (::String) — 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
#breakglass_justification=
def breakglass_justification=(value) -> ::String
Parameter
- value (::String) — 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
Returns
- (::String) — 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
#policy
def policy() -> ::String
Returns
-
(::String) — Optional. The path to a binary authorization policy.
Format:
projects/{project}/platforms/cloudRun/{policy-name}
#policy=
def policy=(value) -> ::String
Parameter
-
value (::String) — Optional. The path to a binary authorization policy.
Format:
projects/{project}/platforms/cloudRun/{policy-name}
Returns
-
(::String) — Optional. The path to a binary authorization policy.
Format:
projects/{project}/platforms/cloudRun/{policy-name}
#use_default
def use_default() -> ::Boolean
Returns
- (::Boolean) — Optional. If True, indicates to use the default project's binary authorization policy. If False, binary authorization will be disabled.
#use_default=
def use_default=(value) -> ::Boolean
Parameter
- value (::Boolean) — Optional. If True, indicates to use the default project's binary authorization policy. If False, binary authorization will be disabled.
Returns
- (::Boolean) — Optional. If True, indicates to use the default project's binary authorization policy. If False, binary authorization will be disabled.