REST Resource: projects.locations.global.hubs

Resource: Hub

Network Connectivity Center is a hub-and-spoke abstraction for network connectivity management in Google Cloud. It reduces operational complexity through a simple, centralized connectivity management model. Following is the resource message of a hub.

JSON representation
{
  "name": string,
  "createTime": string,
  "updateTime": string,
  "labels": {
    string: string,
    ...
  },
  "description": string,
  "spokes": [
    string
  ],
  "uniqueId": string,
  "state": enum (State)
}
Fields
name

string

Immutable. The name of a Hub resource.

createTime

string (Timestamp format)

Time when the Hub 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)

Time when the Hub was 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)

User-defined labels.

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

description

string

Short description of the hub resource.

spokes[]
(deprecated)

string

Output only. A list of the URIs of all attached spokes.

This field is deprecated and will not be included in future API versions. Call ListSpokes on each region instead.

uniqueId

string

Output only. Google-generated UUID for this resource. This is unique across all Hub resources. If a Hub resource is deleted and another with the same name is created, it gets a different uniqueId.

state

enum (State)

Output only. The current lifecycle state of this Hub.

Methods

create

Creates a new Network Connectivity Center hub in the specified project.

delete

Deletes a Network Connectivity Center hub.

get

Gets details about a Network Connectivity Center hub.

getIamPolicy

Gets the access control policy for a resource.

list

Lists the Network Connectivity Center hubs associated with a given project.

patch

Updates the description and/or labels of a Network Connectivity Center hub.

setIamPolicy

Sets the access control policy on the specified resource.

testIamPermissions

Returns permissions that a caller has on the specified resource.