Class: Google::Apis::ContainerV1::AnonymousAuthenticationConfig
- Inherits:
-
Object
- Object
- Google::Apis::ContainerV1::AnonymousAuthenticationConfig
- 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
-
#mode ⇒ String
Defines the mode of limiting anonymous access in the cluster.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AnonymousAuthenticationConfig
constructor
A new instance of AnonymousAuthenticationConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#mode ⇒ String
Defines the mode of limiting anonymous access in the cluster.
Corresponds to the JSON property mode
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 |