Class: Google::Apis::BaremetalsolutionV2::UserAccount

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_passwordString

Encrypted initial password value. Corresponds to the JSON property encryptedPassword

Returns:

  • (String)


2386
2387
2388
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 2386

def encrypted_password
  @encrypted_password
end

#kms_key_versionString

KMS CryptoKey Version used to encrypt the password. Corresponds to the JSON property kmsKeyVersion

Returns:

  • (String)


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