Resource: Group
A group within the Cloud Identity Groups API.
A Group 
is a collection of entities, where each entity is either a user, another group, or a service account.
| JSON representation | 
|---|
| { "name" : string , "groupKey" : { object ( | 
| Fields | |
|---|---|
| name |   Output only. The resource name 
of the  Shall be of the form  | 
| groupKey |   Required. The  | 
| additionalGroupKeys[] |   Output only. Additional group keys associated with the Group. | 
| parent |   Required. Immutable. The resource name of the entity under which this  Must be of the form  | 
| displayName |   The display name of the  | 
| description |   An extended description to help users determine the purpose of a  Must not be longer than 4,096 characters. | 
| createTime |   Output only. The time when the  Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples:  | 
| updateTime |   Output only. The time when the  Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples:  | 
| labels |   Required. One or more label entries that apply to the Group. Labels contain a key with an empty value. Google Groups are the default type of group and have a label with a key of  Existing Google Groups can have an additional label with a key of  Dynamic groups have a label with a key of  Identity-mapped groups for Cloud Search have a label with a key of  Google Groups can be locked 
. To lock a group, add a label with a key of  An object containing a list of  | 
| dynamicGroupMetadata |   Optional. Dynamic group metadata like queries and status. | 
| posixGroups[] |   Optional. The POSIX groups associated with the  | 
DynamicGroupMetadata
Dynamic group metadata like queries and status.
| JSON representation | 
|---|
| { "queries" : [ { object ( | 
| Fields | |
|---|---|
| queries[] |   Memberships will be the union of all queries. Only one entry with USER resource is currently supported. Customers can create up to 500 dynamic groups. | 
| status |   Output only. Status of the dynamic group. | 
DynamicGroupQuery
Defines a query on a resource.
| JSON representation | 
|---|
|  { 
 "resourceType" 
 : 
 enum (  | 
| Fields | |
|---|---|
| resourceType |   | 
| query |   Query that determines the memberships of the dynamic group. Examples: All users with at least one    All users with at least one location that has    All users with any variation of the name John Doe (case-insensitive queries add    | 
ResourceType
Resources supported for dynamic groups.
| Enums | |
|---|---|
| RESOURCE_TYPE_UNSPECIFIED | Default value (not valid) | 
| USER | For queries on User | 
DynamicGroupStatus
The current status of a dynamic group along with timestamp.
| JSON representation | 
|---|
|  { 
 "status" 
 : 
 enum (  | 
| Fields | |
|---|---|
| status |   Status of the dynamic group. | 
| statusTime |   The latest time at which the dynamic group is guaranteed to be in the given status. If status is  Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples:  | 
Status
All possible statuses of a dynamic group.
| Enums | |
|---|---|
| STATUS_UNSPECIFIED | Default. | 
| UP_TO_DATE | The dynamic group is up-to-date. | 
| UPDATING_MEMBERSHIPS | The dynamic group has just been created and memberships are being updated. | 
| INVALID_QUERY | Group is in an unrecoverable state and its memberships can't be updated. | 
PosixGroup
POSIX Group definition to represent a group in a POSIX compliant system. Caution: POSIX groups are deprecated. As of September 26, 2024, you can no longer create new POSIX groups. For more information, see https://cloud.google.com/identity/docs/deprecations/posix-groups
| JSON representation | 
|---|
| { "name" : string , "gid" : string , "systemId" : string } | 
| Fields | |
|---|---|
| name |   Name of the POSIX group. | 
| gid |   GID of the POSIX group. | 
| systemId |   System identifier for which group name and gid apply to. If not specified it will default to empty value. | 
| Methods | |
|---|---|
|   | Creates a Group. | 
|   | Deletes a Group. | 
|   | Retrieves a Group. | 
|   | Get Security Settings | 
|   | Lists the Groupresources under a customer or namespace. | 
|   | Looks up the resource name 
of a Groupby itsEntityKey. | 
|   | Updates a Group. | 
|   | Searches for Groupresources matching a specified query. | 
|   | Update Security Settings | 

