Class: Google::Apis::BaremetalsolutionV2::UserAccount
- Inherits:
-
Object
- Object
- Google::Apis::BaremetalsolutionV2::UserAccount
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/baremetalsolution_v2/classes.rb,
lib/google/apis/baremetalsolution_v2/representations.rb,
lib/google/apis/baremetalsolution_v2/representations.rb
Overview
User account provisioned for the customer.
Instance Attribute Summary collapse
-
#encrypted_password ⇒ String
Encrypted initial password value.
-
#kms_key_version ⇒ String
KMS CryptoKey Version used to encrypt the password.
Instance Method Summary collapse
-
#initialize(**args) ⇒ UserAccount
constructor
A new instance of UserAccount.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ UserAccount
Returns a new instance of UserAccount.
2393 2394 2395 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 2393 def initialize(**args) update!(**args) end |
Instance Attribute Details
#encrypted_password ⇒ String
Encrypted initial password value.
Corresponds to the JSON property encryptedPassword
2386 2387 2388 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 2386 def encrypted_password @encrypted_password end |
#kms_key_version ⇒ String
KMS CryptoKey Version used to encrypt the password.
Corresponds to the JSON property kmsKeyVersion
2391 2392 2393 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 2391 def kms_key_version @kms_key_version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2398 2399 2400 2401 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 2398 def update!(**args) @encrypted_password = args[:encrypted_password] if args.key?(:encrypted_password) @kms_key_version = args[:kms_key_version] if args.key?(:kms_key_version) end |