Class: Google::Apis::GkehubV1alpha::ConfigManagementBinauthzState
- Inherits:
-
Object
- Object
- Google::Apis::GkehubV1alpha::ConfigManagementBinauthzState
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/gkehub_v1alpha/classes.rb,
lib/google/apis/gkehub_v1alpha/representations.rb,
lib/google/apis/gkehub_v1alpha/representations.rb
Overview
State for Binauthz
Instance Attribute Summary collapse
-
#version ⇒ Google::Apis::GkehubV1alpha::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.
1074 1075 1076 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 1074 def initialize(**args) update!(**args) end |
Instance Attribute Details
#version ⇒ Google::Apis::GkehubV1alpha::ConfigManagementBinauthzVersion
The version of binauthz.
Corresponds to the JSON property version
1067 1068 1069 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 1067 def version @version end |
#webhook ⇒ String
The state of the binauthz webhook.
Corresponds to the JSON property webhook
1072 1073 1074 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 1072 def webhook @webhook end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1079 1080 1081 1082 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 1079 def update!(**args) @version = args[:version] if args.key?(:version) @webhook = args[:webhook] if args.key?(:webhook) end |