Class: Google::Apis::OsloginV1alpha::ImportSshPublicKeyResponse
- Inherits:
-
Object
- Object
- Google::Apis::OsloginV1alpha::ImportSshPublicKeyResponse
- 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 for importing an SSH public key.
Instance Attribute Summary collapse
-
#details ⇒ String
Detailed information about import results.
-
#login_profile ⇒ Google::Apis::OsloginV1alpha::LoginProfile
The user profile information used for logging in to a virtual machine on Google Compute Engine.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ImportSshPublicKeyResponse
constructor
A new instance of ImportSshPublicKeyResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ImportSshPublicKeyResponse
Returns a new instance of ImportSshPublicKeyResponse.
57 58 59 |
# File 'generated/google/apis/oslogin_v1alpha/classes.rb', line 57 def initialize(**args) update!(**args) end |
Instance Attribute Details
#details ⇒ String
Detailed information about import results.
Corresponds to the JSON property details
49 50 51 |
# File 'generated/google/apis/oslogin_v1alpha/classes.rb', line 49 def details @details end |
#login_profile ⇒ Google::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
55 56 57 |
# File 'generated/google/apis/oslogin_v1alpha/classes.rb', line 55 def login_profile @login_profile end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
62 63 64 65 |
# File 'generated/google/apis/oslogin_v1alpha/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 |