Class: Google::Apis::GkehubV1beta::IdentityServiceSimpleBindCredentials

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

The structure holds the LDAP simple binding credential.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ IdentityServiceSimpleBindCredentials

Returns a new instance of IdentityServiceSimpleBindCredentials.



3253
3254
3255
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 3253

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

Instance Attribute Details

#dnString

Required. The distinguished name(DN) of the service account object/user. Corresponds to the JSON property dn

Returns:

  • (String)


3240
3241
3242
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 3240

def dn
  @dn
end

#encrypted_passwordString

Output only. The encrypted password of the service account object/user. Corresponds to the JSON property encryptedPassword NOTE: Values are automatically base64 encoded/decoded in the client library.

Returns:

  • (String)


3246
3247
3248
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 3246

def encrypted_password
  @encrypted_password
end

#passwordString

Required. Input only. The password of the service account object/user. Corresponds to the JSON property password

Returns:

  • (String)


3251
3252
3253
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 3251

def password
  @password
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3258
3259
3260
3261
3262
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 3258

def update!(**args)
  @dn = args[:dn] if args.key?(:dn)
  @encrypted_password = args[:encrypted_password] if args.key?(:encrypted_password)
  @password = args[:password] if args.key?(:password)
end