Resource: ContactGroup
A contact group.
JSON representation |
---|
{ "resourceName": string, "etag": string, "metadata": { object ( |
Fields | |
---|---|
resourceName |
The resource name for the contact group, assigned by the server. An ASCII string, in the form of |
etag |
The HTTP entity tag of the resource. Used for web cache validation. |
metadata |
Output only. Metadata about the contact group. |
groupType |
Output only. The contact group type. |
name |
The contact group name set by the group owner or a system provided name for system groups. For |
formattedName |
Output only. The name translated and formatted in the viewer's account locale or the |
memberResourceNames[] |
Output only. The list of contact person resource names that are members of the contact group. The field is only populated for GET requests and will only return as many members as |
memberCount |
Output only. The total number of contacts in the group irrespective of max members in specified in the request. |
clientData[] |
The group's client data. |
ContactGroupMetadata
The metadata about a contact group.
JSON representation |
---|
{ "updateTime": string, "deleted": boolean } |
Fields | |
---|---|
updateTime |
Output only. The time the group was last updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
deleted |
Output only. True if the contact group resource has been deleted. Populated only for |
GroupType
A contact group type.
Enums | |
---|---|
GROUP_TYPE_UNSPECIFIED |
Unspecified. |
USER_CONTACT_GROUP |
User defined contact group. |
SYSTEM_CONTACT_GROUP |
System defined contact group. |
GroupClientData
Arbitrary client data that is populated by clients. Duplicate keys and values are allowed.
JSON representation |
---|
{ "key": string, "value": string } |
Fields | |
---|---|
key |
The client specified key of the client data. |
value |
The client specified value of the client data. |
Methods |
|
---|---|
|
Get a list of contact groups owned by the authenticated user by specifying a list of contact group resource names. |
|
Create a new contact group owned by the authenticated user. |
|
Delete an existing contact group owned by the authenticated user by specifying a contact group resource name. |
|
Get a specific contact group owned by the authenticated user by specifying a contact group resource name. |
|
List all contact groups owned by the authenticated user. |
|
Update the name of an existing contact group owned by the authenticated user. |