Class: Google::Apis::ContainerV1::AnonymousAuthenticationConfig

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/container_v1/classes.rb,
lib/google/apis/container_v1/representations.rb,
lib/google/apis/container_v1/representations.rb

Overview

AnonymousAuthenticationConfig defines the settings needed to limit endpoints that allow anonymous authentication.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AnonymousAuthenticationConfig

Returns a new instance of AnonymousAuthenticationConfig.



388
389
390
# File 'lib/google/apis/container_v1/classes.rb', line 388

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

Instance Attribute Details

#modeString

Defines the mode of limiting anonymous access in the cluster. Corresponds to the JSON property mode

Returns:

  • (String)


386
387
388
# File 'lib/google/apis/container_v1/classes.rb', line 386

def mode
  @mode
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



393
394
395
# File 'lib/google/apis/container_v1/classes.rb', line 393

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