Class: Google::Apis::GkehubV1beta::ConfigManagementBinauthzState

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ConfigManagementBinauthzState

Returns a new instance of ConfigManagementBinauthzState.



970
971
972
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 970

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

Instance Attribute Details

#versionGoogle::Apis::GkehubV1beta::ConfigManagementBinauthzVersion

The version of binauthz. Corresponds to the JSON property version



963
964
965
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 963

def version
  @version
end

#webhookString

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

Returns:

  • (String)


968
969
970
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 968

def webhook
  @webhook
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



975
976
977
978
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 975

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