Class: Google::Apis::GkehubV1beta::ConfigManagementBinauthzState
- Inherits:
-
Object
- Object
- Google::Apis::GkehubV1beta::ConfigManagementBinauthzState
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/gkehub_v1beta/classes.rb,
lib/google/apis/gkehub_v1beta/representations.rb,
lib/google/apis/gkehub_v1beta/representations.rb
Overview
State for Binauthz
Instance Attribute Summary collapse
-
#version ⇒ Google::Apis::GkehubV1beta::ConfigManagementBinauthzVersion
The version of binauthz.
-
#webhook ⇒ String
The state of the binauthz webhook.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ConfigManagementBinauthzState
constructor
A new instance of ConfigManagementBinauthzState.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ConfigManagementBinauthzState
Returns a new instance of ConfigManagementBinauthzState.
255 256 257 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 255 def initialize(**args) update!(**args) end |
Instance Attribute Details
#version ⇒ Google::Apis::GkehubV1beta::ConfigManagementBinauthzVersion
The version of binauthz.
Corresponds to the JSON property version
248 249 250 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 248 def version @version end |
#webhook ⇒ String
The state of the binauthz webhook.
Corresponds to the JSON property webhook
253 254 255 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 253 def webhook @webhook end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
260 261 262 263 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 260 def update!(**args) @version = args[:version] if args.key?(:version) @webhook = args[:webhook] if args.key?(:webhook) end |