Class: Google::Apis::OsloginV1beta::ImportSshPublicKeyResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/oslogin_v1beta/classes.rb,
generated/google/apis/oslogin_v1beta/representations.rb,
generated/google/apis/oslogin_v1beta/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.



57
58
59
# File 'generated/google/apis/oslogin_v1beta/classes.rb', line 57

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

Instance Attribute Details

#detailsString

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

Returns:

  • (String)


49
50
51
# File 'generated/google/apis/oslogin_v1beta/classes.rb', line 49

def details
  @details
end

#login_profileGoogle::Apis::OsloginV1beta::LoginProfile

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



55
56
57
# File 'generated/google/apis/oslogin_v1beta/classes.rb', line 55

def 
  @login_profile
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



62
63
64
65
# File 'generated/google/apis/oslogin_v1beta/classes.rb', line 62

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