Create

Creates a new group

7 variables
5 variables

Creates a new group

Authorization

To use this building block you will have to grant access to at least one of the following scopes:

  • View and manage your data across Google Cloud Platform services
  • View and write monitoring data for all of your Google and third-party Cloud and API projects

Input

This building block consumes 7 input parameters

  = Parameter name
  = Format

name STRING Required

The project in which to create the group. The format is "projects/{project_id_or_number}"

validateOnly BOOLEAN

If true, validate this request but do not create the group

name STRING

Output only. The name of this group. The format is "projects/{project_id_or_number}/groups/{group_id}". When creating a group, this field is ignored and a new name is created consisting of the project specified in the call to CreateGroup and a unique {group_id} that is generated automatically

parentName STRING

The name of the group's parent, if it has one. The format is "projects/{project_id_or_number}/groups/{group_id}". For groups with no parent, parentName is the empty string, ""

displayName STRING

A user-assigned name for this group, used only for display purposes

isCluster BOOLEAN

If true, the members of this group are considered to be a cluster. The system can perform additional analysis on groups that are clusters

filter STRING

The filter used to determine which monitored resources belong to this group

Output

This building block provides 5 output parameters

  = Parameter name
  = Format

name STRING

Output only. The name of this group. The format is "projects/{project_id_or_number}/groups/{group_id}". When creating a group, this field is ignored and a new name is created consisting of the project specified in the call to CreateGroup and a unique {group_id} that is generated automatically

parentName STRING

The name of the group's parent, if it has one. The format is "projects/{project_id_or_number}/groups/{group_id}". For groups with no parent, parentName is the empty string, ""

displayName STRING

A user-assigned name for this group, used only for display purposes

isCluster BOOLEAN

If true, the members of this group are considered to be a cluster. The system can perform additional analysis on groups that are clusters

filter STRING

The filter used to determine which monitored resources belong to this group