Groups

Use the Groups resource to organize user accounts in a logical manner. For example, you can create a "devs" group and add all user accounts for your developers into this group.

For a list of methods for this resource, see the end of this page.

Resource representations

A Group resource.

{
  "kind": "clouduseraccounts#group",
  "id": unsigned long,
  "creationTimestamp": string,
  "name": string,
  "description": string,
  "selfLink": string,
  "members": [
    string
  ]
}
Property name Value Description Notes
creationTimestamp string [Output Only] Creation timestamp in RFC3339 text format.
description string An optional textual description of the resource; provided by the client when the resource is created.
id unsigned long [Output Only] Unique identifier for the resource; defined by the server.
kind string [Output Only] Type of the resource. Always clouduseraccounts#group for groups.
members[] list [Output Only] A list of URLs to User resources who belong to the group. Users may only be members of groups in the same project.
name string Name of the resource; provided by the client when the resource is created.

Methods

addMember
Adds users to the specified group.
delete
Deletes the specified Group resource.
get
Returns the specified Group resource.
insert
Creates a Group resource in the specified project using the data included in the request.
list
Retrieves the list of groups contained within the specified project.
removeMember
Removes users from the specified group.

Send feedback about...

Compute Engine Documentation