Class: Google::Apis::ContainerV1beta1::AuthenticatorGroupsConfig

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

Overview

Configuration for returning group information from authenticators.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ AuthenticatorGroupsConfig

Returns a new instance of AuthenticatorGroupsConfig.



148
149
150
# File 'generated/google/apis/container_v1beta1/classes.rb', line 148

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

Instance Attribute Details

#enabledBoolean Also known as: enabled?

Whether this cluster should return group membership lookups during authentication using a group of security groups. Corresponds to the JSON property enabled

Returns:

  • (Boolean)


139
140
141
# File 'generated/google/apis/container_v1beta1/classes.rb', line 139

def enabled
  @enabled
end

#security_groupString

The name of the security group-of-groups to be used. Only relevant if enabled = true. Corresponds to the JSON property securityGroup

Returns:

  • (String)


146
147
148
# File 'generated/google/apis/container_v1beta1/classes.rb', line 146

def security_group
  @security_group
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



153
154
155
156
# File 'generated/google/apis/container_v1beta1/classes.rb', line 153

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