Class: Google::Apis::GkehubV1alpha::IdentityServiceServerConfig

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

Overview

Server settings for the external LDAP server.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ IdentityServiceServerConfig

Returns a new instance of IdentityServiceServerConfig.



3414
3415
3416
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 3414

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

Instance Attribute Details

#certificate_authority_dataString

Optional. Contains a Base64 encoded, PEM formatted certificate authority certificate for the LDAP server. This must be provided for the "ldaps" and " startTLS" connections. Corresponds to the JSON property certificateAuthorityData NOTE: Values are automatically base64 encoded/decoded in the client library.

Returns:

  • (String)


3398
3399
3400
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 3398

def certificate_authority_data
  @certificate_authority_data
end

#connection_typeString

Optional. Defines the connection type to communicate with the LDAP server. If starttls or ldaps is specified, the certificate_authority_data should not be empty. Corresponds to the JSON property connectionType

Returns:

  • (String)


3405
3406
3407
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 3405

def connection_type
  @connection_type
end

#hostString

Required. Defines the hostname or IP of the LDAP server. Port is optional and will default to 389, if unspecified. For example, "ldap.server.example" or "10. 10.10.10:389". Corresponds to the JSON property host

Returns:

  • (String)


3412
3413
3414
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 3412

def host
  @host
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3419
3420
3421
3422
3423
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 3419

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