Class: Google::Apis::OsloginV1alpha::ImportSshPublicKeyResponse
- Inherits:
-
Object
- Object
- Google::Apis::OsloginV1alpha::ImportSshPublicKeyResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/oslogin_v1alpha/classes.rb,
lib/google/apis/oslogin_v1alpha/representations.rb,
lib/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.
56 57 58 |
# File 'lib/google/apis/oslogin_v1alpha/classes.rb', line 56 def initialize(**args) update!(**args) end |
Instance Attribute Details
#details ⇒ String
Detailed information about import results.
Corresponds to the JSON property details
48 49 50 |
# File 'lib/google/apis/oslogin_v1alpha/classes.rb', line 48 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
54 55 56 |
# File 'lib/google/apis/oslogin_v1alpha/classes.rb', line 54 def login_profile @login_profile end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
61 62 63 64 |
# File 'lib/google/apis/oslogin_v1alpha/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 |