Class: Google::Apis::GkeonpremV1::BinaryAuthorization
- Inherits:
-
Object
- Object
- Google::Apis::GkeonpremV1::BinaryAuthorization
- 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
-
#evaluation_mode ⇒ String
Mode of operation for binauthz policy evaluation.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BinaryAuthorization
constructor
A new instance of BinaryAuthorization.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_mode ⇒ String
Mode of operation for binauthz policy evaluation. If unspecified, defaults to
DISABLED.
Corresponds to the JSON property evaluationMode
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 |