Class: Google::Apis::ClouduseraccountsAlpha::LinuxAccountViews
- Inherits:
-
Object
- Object
- Google::Apis::ClouduseraccountsAlpha::LinuxAccountViews
- Defined in:
- generated/google/apis/clouduseraccounts_alpha/classes.rb,
generated/google/apis/clouduseraccounts_alpha/representations.rb,
generated/google/apis/clouduseraccounts_alpha/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::ClouduseraccountsAlpha::LinuxGroupView>
[Output Only] A list of all groups within a project.
-
#kind ⇒ String
[Output Only] Type of the resource.
-
#user_views ⇒ Array<Google::Apis::ClouduseraccountsAlpha::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
332 333 334 |
# File 'generated/google/apis/clouduseraccounts_alpha/classes.rb', line 332 def initialize(**args) update!(**args) end |
Instance Attribute Details
#group_views ⇒ Array<Google::Apis::ClouduseraccountsAlpha::LinuxGroupView>
[Output Only] A list of all groups within a project.
Corresponds to the JSON property groupViews
319 320 321 |
# File 'generated/google/apis/clouduseraccounts_alpha/classes.rb', line 319 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
325 326 327 |
# File 'generated/google/apis/clouduseraccounts_alpha/classes.rb', line 325 def kind @kind end |
#user_views ⇒ Array<Google::Apis::ClouduseraccountsAlpha::LinuxUserView>
[Output Only] A list of all users within a project.
Corresponds to the JSON property userViews
330 331 332 |
# File 'generated/google/apis/clouduseraccounts_alpha/classes.rb', line 330 def user_views @user_views end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
337 338 339 340 341 |
# File 'generated/google/apis/clouduseraccounts_alpha/classes.rb', line 337 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 |