Class: Google::Apis::CloudidentityV1beta1::PosixGroup

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PosixGroup

Returns a new instance of PosixGroup.



3624
3625
3626
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 3624

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#gidFixnum

GID of the POSIX group. Corresponds to the JSON property gid

Returns:

  • (Fixnum)


3611
3612
3613
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 3611

def gid
  @gid
end

#nameString

Name of the POSIX group. Corresponds to the JSON property name

Returns:

  • (String)


3616
3617
3618
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 3616

def name
  @name
end

#system_idString

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

Returns:

  • (String)


3622
3623
3624
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 3622

def system_id
  @system_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3629
3630
3631
3632
3633
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 3629

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