Class: Google::Apis::ClouduseraccountsVmAlpha::AuthorizedKeysView
- Inherits:
-
Object
- Object
- Google::Apis::ClouduseraccountsVmAlpha::AuthorizedKeysView
- Defined in:
- generated/google/apis/clouduseraccounts_vm_alpha/classes.rb,
generated/google/apis/clouduseraccounts_vm_alpha/representations.rb,
generated/google/apis/clouduseraccounts_vm_alpha/representations.rb
Overview
A list of authorized public keys for a user account.
Instance Attribute Summary collapse
-
#keys ⇒ Array<String>
[Output Only] The list of authorized public keys in SSH format.
-
#sudoer ⇒ Boolean
(also: #sudoer?)
[Output Only] Whether the user has the ability to elevate on the instance that requested the authorized keys.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AuthorizedKeysView
constructor
A new instance of AuthorizedKeysView.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ AuthorizedKeysView
Returns a new instance of AuthorizedKeysView
70 71 72 |
# File 'generated/google/apis/clouduseraccounts_vm_alpha/classes.rb', line 70 def initialize(**args) update!(**args) end |
Instance Attribute Details
#keys ⇒ Array<String>
[Output Only] The list of authorized public keys in SSH format.
Corresponds to the JSON property keys
61 62 63 |
# File 'generated/google/apis/clouduseraccounts_vm_alpha/classes.rb', line 61 def keys @keys end |
#sudoer ⇒ Boolean Also known as: sudoer?
[Output Only] Whether the user has the ability to elevate on the instance that
requested the authorized keys.
Corresponds to the JSON property sudoer
67 68 69 |
# File 'generated/google/apis/clouduseraccounts_vm_alpha/classes.rb', line 67 def sudoer @sudoer end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
75 76 77 78 |
# File 'generated/google/apis/clouduseraccounts_vm_alpha/classes.rb', line 75 def update!(**args) @keys = args[:keys] if args.key?(:keys) @sudoer = args[:sudoer] if args.key?(:sudoer) end |