Class: Google::Apis::GkehubV2::ConfigManagementBinauthzState

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/gkehub_v2/classes.rb,
lib/google/apis/gkehub_v2/representations.rb,
lib/google/apis/gkehub_v2/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.



276
277
278
# File 'lib/google/apis/gkehub_v2/classes.rb', line 276

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

Instance Attribute Details

#versionGoogle::Apis::GkehubV2::ConfigManagementBinauthzVersion

The version of binauthz. Corresponds to the JSON property version



269
270
271
# File 'lib/google/apis/gkehub_v2/classes.rb', line 269

def version
  @version
end

#webhookString

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

Returns:

  • (String)


274
275
276
# File 'lib/google/apis/gkehub_v2/classes.rb', line 274

def webhook
  @webhook
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



281
282
283
284
# File 'lib/google/apis/gkehub_v2/classes.rb', line 281

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