REST Resource: projects.locations.groups

Resource: Group

A resource that represents an asset group. The purpose of an asset group is to bundle a set of assets that have something in common, while allowing users to add annotations to the group. An asset can belong to multiple groups.

JSON representation
{
  "name": string,
  "createTime": string,
  "updateTime": string,
  "labels": {
    string: string,
    ...
  },
  "displayName": string,
  "description": string
}
Fields
name

string

Output only. The name of the group.

createTime

string (Timestamp format)

Output only. The timestamp when the group was created.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

updateTime

string (Timestamp format)

Output only. The timestamp when the group was last updated.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

labels

map (key: string, value: string)

Labels as key value pairs.

An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

displayName

string

Optional. User-friendly display name.

description

string

Optional. The description of the group.

Methods

addAssets

Adds assets to a group.

create

Creates a new group in a given project and location.

delete

Deletes a group.

get

Gets the details of a group.

list

Lists all groups in a given project and location.

patch

Updates the parameters of a group.

removeAssets

Removes assets from a group.