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.
2384 2385 2386 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 2384 def initialize(**args) update!(**args) end |
Instance Attribute Details
#encrypted_password ⇒ String
Encrypted initial password value.
Corresponds to the JSON property encryptedPassword
2377 2378 2379 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 2377 def encrypted_password @encrypted_password end |
#kms_key_version ⇒ String
KMS CryptoKey Version used to encrypt the password.
Corresponds to the JSON property kmsKeyVersion
2382 2383 2384 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 2382 def kms_key_version @kms_key_version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2389 2390 2391 2392 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 2389 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 |