Class: Google::Apis::ContainerV1beta1::AuthenticatorGroupsConfig
- Inherits:
-
Object
- Object
- Google::Apis::ContainerV1beta1::AuthenticatorGroupsConfig
- 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
-
#enabled ⇒ Boolean
(also: #enabled?)
Whether this cluster should return group membership lookups during authentication using a group of security groups.
-
#security_group ⇒ String
The name of the security group-of-groups to be used.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AuthenticatorGroupsConfig
constructor
A new instance of AuthenticatorGroupsConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AuthenticatorGroupsConfig
Returns a new instance of AuthenticatorGroupsConfig.
147 148 149 |
# File 'generated/google/apis/container_v1beta1/classes.rb', line 147 def initialize(**args) update!(**args) end |
Instance Attribute Details
#enabled ⇒ Boolean 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
138 139 140 |
# File 'generated/google/apis/container_v1beta1/classes.rb', line 138 def enabled @enabled end |
#security_group ⇒ String
The name of the security group-of-groups to be used. Only relevant if enabled =
true.
Corresponds to the JSON property securityGroup
145 146 147 |
# File 'generated/google/apis/container_v1beta1/classes.rb', line 145 def security_group @security_group end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
152 153 154 155 |
# File 'generated/google/apis/container_v1beta1/classes.rb', line 152 def update!(**args) @enabled = args[:enabled] if args.key?(:enabled) @security_group = args[:security_group] if args.key?(:security_group) end |