Class Group
Google Groups provide your users the ability to send messages to groups of people using the group's email address. For more information about common tasks, see the Developer's Guide. For information about other types of groups, see the Cloud Identity Groups API documentation. Note: The user calling the API (or being impersonated by a service account) must have an assigned role that includes Admin API Groups permissions, such as Super Admin or Groups Admin.
Implements
Inherited Members
Namespace: Google.Apis.Admin.Directory.directory_v1.Data
Assembly: Google.Apis.Admin.Directory.directory_v1.dll
Syntax
public class Group : IDirectResponseSchema
Properties
AdminCreated
Read-only. Value is true
if this group was created by an administrator rather than a user.
Declaration
[JsonProperty("adminCreated")]
public virtual bool? AdminCreated { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Aliases
Read-only. The list of a group's alias email addresses. To add, update, or remove a group's aliases, use the
groups.aliases
methods. If edited in a group's POST or PUT request, the edit is ignored.
Declaration
[JsonProperty("aliases")]
public virtual IList<string> Aliases { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
Description
An extended description to help users determine the purpose of a group. For example, you can include
information about who should join the group, the types of messages to send to the group, links to FAQs about
the group, or related groups. Maximum length is 4,096
characters.
Declaration
[JsonProperty("description")]
public virtual string Description { get; set; }
Property Value
Type | Description |
---|---|
string |
DirectMembersCount
The number of users that are direct members of the group. If a group is a member (child) of this group (the
parent), members of the child group are not counted in the directMembersCount
property of the parent
group.
Declaration
[JsonProperty("directMembersCount")]
public virtual long? DirectMembersCount { get; set; }
Property Value
Type | Description |
---|---|
long? |
ETag
ETag of the resource.
Declaration
[JsonProperty("etag")]
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
The group's email address. If your account has multiple domains, select the appropriate domain for the email
address. The email
must be unique. This property is required when creating a group. Group email addresses
are subject to the same character usage rules as usernames, see the help
center for details.
Declaration
[JsonProperty("email")]
public virtual string Email { get; set; }
Property Value
Type | Description |
---|---|
string |
Id
Read-only. The unique ID of a group. A group id
can be used as a group request URI's groupKey
.
Declaration
[JsonProperty("id")]
public virtual string Id { get; set; }
Property Value
Type | Description |
---|---|
string |
Kind
The type of the API resource. For Groups resources, the value is admin#directory#group
.
Declaration
[JsonProperty("kind")]
public virtual string Kind { get; set; }
Property Value
Type | Description |
---|---|
string |
Name
The group's display name.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
NonEditableAliases
Read-only. The list of the group's non-editable alias email addresses that are outside of the account's primary domain or subdomains. These are functioning email addresses used by the group. This is a read-only property returned in the API's response for a group. If edited in a group's POST or PUT request, the edit is ignored.
Declaration
[JsonProperty("nonEditableAliases")]
public virtual IList<string> NonEditableAliases { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |