Class: Google::Apis::OsloginV1::ImportSshPublicKeyResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/oslogin_v1/classes.rb,
lib/google/apis/oslogin_v1/representations.rb,
lib/google/apis/oslogin_v1/representations.rb

Overview

A response message for importing an SSH public key.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ImportSshPublicKeyResponse

Returns a new instance of ImportSshPublicKeyResponse.



56
57
58
# File 'lib/google/apis/oslogin_v1/classes.rb', line 56

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

Instance Attribute Details

#detailsString

Detailed information about import results. Corresponds to the JSON property details

Returns:

  • (String)


48
49
50
# File 'lib/google/apis/oslogin_v1/classes.rb', line 48

def details
  @details
end

#login_profileGoogle::Apis::OsloginV1::LoginProfile

The user profile information used for logging in to a virtual machine on Google Compute Engine. Corresponds to the JSON property loginProfile



54
55
56
# File 'lib/google/apis/oslogin_v1/classes.rb', line 54

def 
  @login_profile
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



61
62
63
64
# File 'lib/google/apis/oslogin_v1/classes.rb', line 61

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