class Google::Apis::AdminDirectoryV1::Group

JSON template for Group resource in Directory API.

Attributes

admin_created[RW]

Is the group created by admin (Read-only) * Corresponds to the JSON property `adminCreated` @return [Boolean]

admin_created?[RW]

Is the group created by admin (Read-only) * Corresponds to the JSON property `adminCreated` @return [Boolean]

aliases[RW]

List of aliases (Read-only) Corresponds to the JSON property `aliases` @return [Array<String>]

description[RW]

Description of the group Corresponds to the JSON property `description` @return [String]

direct_members_count[RW]

Group direct members count Corresponds to the JSON property `directMembersCount` @return [String]

email[RW]

Email of Group Corresponds to the JSON property `email` @return [String]

etag[RW]

ETag of the resource. Corresponds to the JSON property `etag` @return [String]

id[RW]

Unique identifier of Group (Read-only) Corresponds to the JSON property `id` @return [String]

kind[RW]

Kind of resource this is. Corresponds to the JSON property `kind` @return [String]

name[RW]

Group name Corresponds to the JSON property `name` @return [String]

non_editable_aliases[RW]

List of non editable aliases (Read-only) Corresponds to the JSON property `nonEditableAliases` @return [Array<String>]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/admin_directory_v1/classes.rb, line 981
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/admin_directory_v1/classes.rb, line 986
def update!(**args)
  @admin_created = args[:admin_created] if args.key?(:admin_created)
  @aliases = args[:aliases] if args.key?(:aliases)
  @description = args[:description] if args.key?(:description)
  @direct_members_count = args[:direct_members_count] if args.key?(:direct_members_count)
  @email = args[:email] if args.key?(:email)
  @etag = args[:etag] if args.key?(:etag)
  @id = args[:id] if args.key?(:id)
  @kind = args[:kind] if args.key?(:kind)
  @name = args[:name] if args.key?(:name)
  @non_editable_aliases = args[:non_editable_aliases] if args.key?(:non_editable_aliases)
end