Class: Google::Apis::BaremetalsolutionV2::LoadInstanceAuthInfoResponse

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

Response for LoadInstanceAuthInfo.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ LoadInstanceAuthInfoResponse

Returns a new instance of LoadInstanceAuthInfoResponse.



968
969
970
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 968

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

Instance Attribute Details

#ssh_keysArray<Google::Apis::BaremetalsolutionV2::SshKey>

List of ssh keys. Corresponds to the JSON property sshKeys



961
962
963
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 961

def ssh_keys
  @ssh_keys
end

#user_accountsHash<String,Google::Apis::BaremetalsolutionV2::UserAccount>

Map of username to the user account info. Corresponds to the JSON property userAccounts



966
967
968
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 966

def user_accounts
  @user_accounts
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



973
974
975
976
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 973

def update!(**args)
  @ssh_keys = args[:ssh_keys] if args.key?(:ssh_keys)
  @user_accounts = args[:user_accounts] if args.key?(:user_accounts)
end