Class: Google::Apis::GkeonpremV1::BinaryAuthorization

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/gkeonprem_v1/classes.rb,
lib/google/apis/gkeonprem_v1/representations.rb,
lib/google/apis/gkeonprem_v1/representations.rb

Overview

Configuration for Binary Authorization.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BinaryAuthorization

Returns a new instance of BinaryAuthorization.



2113
2114
2115
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 2113

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#evaluation_modeString

Mode of operation for binauthz policy evaluation. If unspecified, defaults to DISABLED. Corresponds to the JSON property evaluationMode

Returns:

  • (String)


2111
2112
2113
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 2111

def evaluation_mode
  @evaluation_mode
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2118
2119
2120
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 2118

def update!(**args)
  @evaluation_mode = args[:evaluation_mode] if args.key?(:evaluation_mode)
end