REST Resource: projects.locations.global.hubs.groups

Resource: Group

A group represents a subset of spokes attached to a hub.

JSON representation
{
  "name": string,
  "createTime": string,
  "updateTime": string,
  "labels": {
    string: string,
    ...
  },
  "description": string,
  "uid": string,
  "state": enum (State),
  "autoAccept": {
    object (AutoAccept)
  },
  "routeTable": string
}
Fields
name

string

Immutable. The name of the group. Group names must be unique. They use the following form: projects/{projectNumber}/locations/global/hubs/{hub}/groups/{groupId}

createTime

string (Timestamp format)

Output only. The time 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 time 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)

Optional. Labels in key-value pair format. For more information about labels, see Requirements for labels.

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

description

string

Optional. The description of the group.

uid

string

Output only. The Google-generated UUID for the group. This value is unique across all group resources. If a group is deleted and another with the same name is created, the new route table is assigned a different uniqueId.

state

enum (State)

Output only. The current lifecycle state of this group.

autoAccept

object (AutoAccept)

Optional. The auto-accept setting for this group.

routeTable

string

Output only. The name of the route table that corresponds to this group. They use the following form: projects/{projectNumber}/locations/global/hubs/{hubId}/routeTables/{route_table_id}

AutoAccept

The auto-accept setting for a group controls whether proposed spokes are automatically attached to the hub. If auto-accept is enabled, the spoke immediately is attached to the hub and becomes part of the group. In this case, the new spoke is in the ACTIVE state. If auto-accept is disabled, the spoke goes to the INACTIVE state, and it must be reviewed and accepted by a hub administrator.

JSON representation
{
  "autoAcceptProjects": [
    string
  ]
}
Fields
autoAcceptProjects[]

string

A list of project ids or project numbers for which you want to enable auto-accept. The auto-accept setting is applied to spokes being created or updated in these projects.

Methods

get

Gets details about a Network Connectivity Center group.

getIamPolicy

Gets the access control policy for a resource.

list

Lists groups in a given hub.

patch

Updates the parameters of a Network Connectivity Center group.

setIamPolicy

Sets the access control policy on the specified resource.

testIamPermissions

Returns permissions that a caller has on the specified resource.