Class: Google::Apis::GkehubV1alpha::ConfigManagementBinauthzVersion

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

The version of binauthz.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ConfigManagementBinauthzVersion

Returns a new instance of ConfigManagementBinauthzVersion.



1044
1045
1046
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 1044

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

Instance Attribute Details

#webhook_versionString

The version of the binauthz webhook. Corresponds to the JSON property webhookVersion

Returns:

  • (String)


1042
1043
1044
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 1042

def webhook_version
  @webhook_version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1049
1050
1051
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 1049

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