Class: Google::Apis::GkehubV2alpha::IdentityServiceSimpleBindCredentials
- Inherits:
-
Object
- Object
- Google::Apis::GkehubV2alpha::IdentityServiceSimpleBindCredentials
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/gkehub_v2alpha/classes.rb,
lib/google/apis/gkehub_v2alpha/representations.rb,
lib/google/apis/gkehub_v2alpha/representations.rb
Overview
The structure holds the LDAP simple binding credential.
Instance Attribute Summary collapse
-
#dn ⇒ String
Required.
-
#encrypted_password ⇒ String
Output only.
-
#password ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ IdentityServiceSimpleBindCredentials
constructor
A new instance of IdentityServiceSimpleBindCredentials.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ IdentityServiceSimpleBindCredentials
Returns a new instance of IdentityServiceSimpleBindCredentials.
2056 2057 2058 |
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 2056 def initialize(**args) update!(**args) end |
Instance Attribute Details
#dn ⇒ String
Required. The distinguished name(DN) of the service account object/user.
Corresponds to the JSON property dn
2043 2044 2045 |
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 2043 def dn @dn end |
#encrypted_password ⇒ String
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.
2049 2050 2051 |
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 2049 def encrypted_password @encrypted_password end |
#password ⇒ String
Required. Input only. The password of the service account object/user.
Corresponds to the JSON property password
2054 2055 2056 |
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 2054 def password @password end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2061 2062 2063 2064 2065 |
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 2061 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 |