Class: Google::Apis::OsloginV1alpha::ImportSshPublicKeyResponse

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

Overview

A response message from importing an SSH public key.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ImportSshPublicKeyResponse

Returns a new instance of ImportSshPublicKeyResponse



54
55
56
# File 'generated/google/apis/oslogin_v1alpha/classes.rb', line 54

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

Instance Attribute Details

#login_profileGoogle::Apis::OsloginV1alpha::LoginProfile

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



52
53
54
# File 'generated/google/apis/oslogin_v1alpha/classes.rb', line 52

def 
  @login_profile
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



59
60
61
# File 'generated/google/apis/oslogin_v1alpha/classes.rb', line 59

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