Class: Google::Apis::GkehubV1alpha::ConfigManagementBinauthzState

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ConfigManagementBinauthzState

Returns a new instance of ConfigManagementBinauthzState.



1024
1025
1026
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 1024

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

Instance Attribute Details

#versionGoogle::Apis::GkehubV1alpha::ConfigManagementBinauthzVersion

The version of binauthz. Corresponds to the JSON property version



1017
1018
1019
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 1017

def version
  @version
end

#webhookString

The state of the binauthz webhook. Corresponds to the JSON property webhook

Returns:

  • (String)


1022
1023
1024
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 1022

def webhook
  @webhook
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1029
1030
1031
1032
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 1029

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