class Google::Apis::RunV2::GoogleCloudRunV2BinaryAuthorization

Settings for Binary Authorization feature.

Attributes

breakglass_justification[RW]

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]

policy[RW]

The path to a binary authorization policy. Format: projects/‘project`/ platforms/cloudRun/`policy-name` Corresponds to the JSON property `policy` @return [String]

use_default[RW]

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]

use_default?[RW]

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

new(**args) click to toggle source
# File lib/google/apis/run_v2/classes.rb, line 50
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

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