Class: Google::Apis::GkehubV1beta::IdentityServiceLdapConfig

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

Overview

Configuration for the LDAP Auth flow.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ IdentityServiceLdapConfig

Returns a new instance of IdentityServiceLdapConfig.



3082
3083
3084
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 3082

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

Instance Attribute Details

#groupGoogle::Apis::GkehubV1beta::IdentityServiceGroupConfig

Contains the properties for locating and authenticating groups in the directory. Corresponds to the JSON property group



3063
3064
3065
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 3063

def group
  @group
end

#serverGoogle::Apis::GkehubV1beta::IdentityServiceServerConfig

Server settings for the external LDAP server. Corresponds to the JSON property server



3068
3069
3070
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 3068

def server
  @server
end

#service_accountGoogle::Apis::GkehubV1beta::IdentityServiceServiceAccountConfig

Contains the credentials of the service account which is authorized to perform the LDAP search in the directory. The credentials can be supplied by the combination of the DN and password or the client certificate. Corresponds to the JSON property serviceAccount



3075
3076
3077
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 3075

def 
  @service_account
end

#userGoogle::Apis::GkehubV1beta::IdentityServiceUserConfig

Defines where users exist in the LDAP directory. Corresponds to the JSON property user



3080
3081
3082
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 3080

def user
  @user
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3087
3088
3089
3090
3091
3092
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 3087

def update!(**args)
  @group = args[:group] if args.key?(:group)
  @server = args[:server] if args.key?(:server)
  @service_account = args[:service_account] if args.key?(:service_account)
  @user = args[:user] if args.key?(:user)
end