Class: Google::Apis::ClouduseraccountsBeta::LinuxGroupView
- Inherits:
-
Object
- Object
- Google::Apis::ClouduseraccountsBeta::LinuxGroupView
- 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 detailed view of a Linux group.
Instance Attribute Summary collapse
-
#gid ⇒ Fixnum
[Output Only] The Group ID.
-
#group_name ⇒ String
[Output Only] Group name.
-
#members ⇒ Array<String>
[Output Only] List of user accounts that belong to the group.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LinuxGroupView
constructor
A new instance of LinuxGroupView.
-
#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) ⇒ LinuxGroupView
Returns a new instance of LinuxGroupView
286 287 288 |
# File 'generated/google/apis/clouduseraccounts_beta/classes.rb', line 286 def initialize(**args) update!(**args) end |
Instance Attribute Details
#gid ⇒ Fixnum
[Output Only] The Group ID.
Corresponds to the JSON property gid
274 275 276 |
# File 'generated/google/apis/clouduseraccounts_beta/classes.rb', line 274 def gid @gid end |
#group_name ⇒ String
[Output Only] Group name.
Corresponds to the JSON property groupName
279 280 281 |
# File 'generated/google/apis/clouduseraccounts_beta/classes.rb', line 279 def group_name @group_name end |
#members ⇒ Array<String>
[Output Only] List of user accounts that belong to the group.
Corresponds to the JSON property members
284 285 286 |
# File 'generated/google/apis/clouduseraccounts_beta/classes.rb', line 284 def members @members end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
291 292 293 294 295 |
# File 'generated/google/apis/clouduseraccounts_beta/classes.rb', line 291 def update!(**args) @gid = args[:gid] if args.key?(:gid) @group_name = args[:group_name] if args.key?(:group_name) @members = args[:members] if args.key?(:members) end |