class Google::Apis::RunV2::GoogleCloudRunV2BinaryAuthorization
Settings for Binary Authorization feature.
Attributes
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 cloud.google.com/binary-authorization/docs/using- breakglass Corresponds to the JSON property ‘breakglassJustification` @return [String]
The path to a binary authorization policy. Format: projects/‘project`/ platforms/cloudRun/`policy-name` Corresponds to the JSON property `policy` @return [String]
If True, indicates to use the default project’s binary authorization policy. If False, binary authorization will be disabled. Corresponds to the JSON property ‘useDefault` @return [Boolean]
If True, indicates to use the default project’s binary authorization policy. If False, binary authorization will be disabled. Corresponds to the JSON property ‘useDefault` @return [Boolean]
Public Class Methods
# File lib/google/apis/run_v2/classes.rb, line 50 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/run_v2/classes.rb, line 55 def update!(**args) @breakglass_justification = args[:breakglass_justification] if args.key?(:breakglass_justification) @policy = args[:policy] if args.key?(:policy) @use_default = args[:use_default] if args.key?(:use_default) end