Resource: Hub
A Network Connectivity Center hub is a global management resource to which you attach spokes. A single hub can contain spokes from multiple regions. However, if any of a hub's spokes use the site-to-site data transfer feature, the resources associated with those spokes must all be in the same VPC network. Spokes that do not use site-to-site data transfer can be associated with any VPC network in your project.
JSON representation |
---|
{ "name": string, "createTime": string, "updateTime": string, "labels": { string: string, ... }, "description": string, "uniqueId": string, "state": enum ( |
Fields | |
---|---|
name |
Immutable. The name of the hub. Hub names must be unique. They use the following form: |
createTime |
Output only. The time the hub was created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
updateTime |
Output only. The time the hub was last updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
labels |
Optional labels in key:value format. For more information about labels, see Requirements for labels. An object containing a list of |
description |
An optional description of the hub. |
uniqueId |
Output only. The Google-generated UUID for the hub. This value is unique across all hub resources. If a hub is deleted and another with the same name is created, the new hub is assigned a different uniqueId. |
state |
Output only. The current lifecycle state of this hub. |
routingVpcs[] |
The VPC networks associated with this hub's spokes. This field is read-only. Network Connectivity Center automatically populates it based on the set of spokes attached to the hub. |
RoutingVPC
RoutingVPC contains information about the VPC networks associated with the spokes of a Network Connectivity Center hub.
JSON representation |
---|
{ "uri": string, "requiredForNewSiteToSiteDataTransferSpokes": boolean } |
Fields | |
---|---|
uri |
The URI of the VPC network. |
requiredForNewSiteToSiteDataTransferSpokes |
Output only. If true, indicates that this VPC network is currently associated with spokes that use the data transfer feature (spokes where the siteToSiteDataTransfer field is set to true). If you create new spokes that use data transfer, they must be associated with this VPC network. At most, one VPC network will have this field set to true. |
Methods |
|
---|---|
|
Creates a new Network Connectivity Center hub in the specified project. |
|
Deletes a Network Connectivity Center hub. |
|
Gets details about a Network Connectivity Center hub. |
|
Gets the access control policy for a resource. |
|
Lists the Network Connectivity Center hubs associated with a given project. |
|
Updates the description and/or labels of a Network Connectivity Center hub. |
|
Sets the access control policy on the specified resource. |
|
Returns permissions that a caller has on the specified resource. |