Class: Google::Apis::CloudidentityV1beta1::PosixGroup
- Inherits:
-
Object
- Object
- Google::Apis::CloudidentityV1beta1::PosixGroup
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudidentity_v1beta1/classes.rb,
lib/google/apis/cloudidentity_v1beta1/representations.rb,
lib/google/apis/cloudidentity_v1beta1/representations.rb
Overview
POSIX Group definition to represent a group in a POSIX compliant system.
Instance Attribute Summary collapse
-
#gid ⇒ Fixnum
GID of the POSIX group.
-
#name ⇒ String
Name of the POSIX group.
-
#system_id ⇒ String
System identifier for which group name and gid apply to.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PosixGroup
constructor
A new instance of PosixGroup.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PosixGroup
Returns a new instance of PosixGroup.
2928 2929 2930 |
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 2928 def initialize(**args) update!(**args) end |
Instance Attribute Details
#gid ⇒ Fixnum
GID of the POSIX group.
Corresponds to the JSON property gid
2915 2916 2917 |
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 2915 def gid @gid end |
#name ⇒ String
Name of the POSIX group.
Corresponds to the JSON property name
2920 2921 2922 |
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 2920 def name @name end |
#system_id ⇒ String
System identifier for which group name and gid apply to. If not specified it
will default to empty value.
Corresponds to the JSON property systemId
2926 2927 2928 |
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 2926 def system_id @system_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2933 2934 2935 2936 2937 |
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 2933 def update!(**args) @gid = args[:gid] if args.key?(:gid) @name = args[:name] if args.key?(:name) @system_id = args[:system_id] if args.key?(:system_id) end |