Class: Google::Apis::ClouduseraccountsBeta::LinuxAccountViews
- Inherits:
-
Object
- Object
- Google::Apis::ClouduseraccountsBeta::LinuxAccountViews
- 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 all Linux accounts for this project. This API is only used by Compute Engine virtual machines to get information about user accounts for a project or instance. Linux resources are read-only views into users and groups managed by the Compute Engine Accounts API.
Instance Attribute Summary collapse
-
#group_views ⇒ Array<Google::Apis::ClouduseraccountsBeta::LinuxGroupView>
[Output Only] A list of all groups within a project.
-
#kind ⇒ String
[Output Only] Type of the resource.
-
#user_views ⇒ Array<Google::Apis::ClouduseraccountsBeta::LinuxUserView>
[Output Only] A list of all users within a project.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LinuxAccountViews
constructor
A new instance of LinuxAccountViews.
-
#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) ⇒ LinuxAccountViews
Returns a new instance of LinuxAccountViews.
214 215 216 |
# File 'generated/google/apis/clouduseraccounts_beta/classes.rb', line 214 def initialize(**args) update!(**args) end |
Instance Attribute Details
#group_views ⇒ Array<Google::Apis::ClouduseraccountsBeta::LinuxGroupView>
[Output Only] A list of all groups within a project.
Corresponds to the JSON property groupViews
201 202 203 |
# File 'generated/google/apis/clouduseraccounts_beta/classes.rb', line 201 def group_views @group_views end |
#kind ⇒ String
[Output Only] Type of the resource. Always clouduseraccounts#linuxAccountViews
for Linux resources.
Corresponds to the JSON property kind
207 208 209 |
# File 'generated/google/apis/clouduseraccounts_beta/classes.rb', line 207 def kind @kind end |
#user_views ⇒ Array<Google::Apis::ClouduseraccountsBeta::LinuxUserView>
[Output Only] A list of all users within a project.
Corresponds to the JSON property userViews
212 213 214 |
# File 'generated/google/apis/clouduseraccounts_beta/classes.rb', line 212 def user_views @user_views end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
219 220 221 222 223 |
# File 'generated/google/apis/clouduseraccounts_beta/classes.rb', line 219 def update!(**args) @group_views = args[:group_views] if args.key?(:group_views) @kind = args[:kind] if args.key?(:kind) @user_views = args[:user_views] if args.key?(:user_views) end |