Class: Google::Apis::ClouduseraccountsBeta::AuthorizedKeysView
- Inherits:
-
Object
- Object
- Google::Apis::ClouduseraccountsBeta::AuthorizedKeysView
- Defined in:
- generated/google/apis/clouduseraccounts_beta/classes.rb,
generated/google/apis/clouduseraccounts_beta/representations.rb,
generated/google/apis/clouduseraccounts_beta/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
41 42 43 |
# File 'generated/google/apis/clouduseraccounts_beta/classes.rb', line 41 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
32 33 34 |
# File 'generated/google/apis/clouduseraccounts_beta/classes.rb', line 32 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
38 39 40 |
# File 'generated/google/apis/clouduseraccounts_beta/classes.rb', line 38 def sudoer @sudoer end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
46 47 48 49 |
# File 'generated/google/apis/clouduseraccounts_beta/classes.rb', line 46 def update!(**args) @keys = args[:keys] if args.key?(:keys) @sudoer = args[:sudoer] if args.key?(:sudoer) end |