Class Hub

Hub(mapping=None, *, ignore_unknown_fields=False, **kwargs)

A hub is a collection of spokes. A single hub can contain spokes from multiple regions. However, if any of a hub's spokes use the data transfer feature, the resources associated with those spokes must all reside in the same VPC network. Spokes that do not use data transfer can be associated with any VPC network in your project.

Attributes

NameDescription
name str
Immutable. The name of the hub. Hub names must be unique. They use the following form: ``projects/{project_number}/locations/global/hubs/{hub_id}``
create_time google.protobuf.timestamp_pb2.Timestamp
Output only. The time the hub was created.
update_time google.protobuf.timestamp_pb2.Timestamp
Output only. The time the hub was last updated.
labels Sequence[google.cloud.networkconnectivity_v1.types.Hub.LabelsEntry]
Optional labels in key:value format. For more information about labels, see `Requirements for labels
description str
An optional description of the hub.
unique_id str
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 unique_id.
state google.cloud.networkconnectivity_v1.types.State
Output only. The current lifecycle state of this hub.
routing_vpcs Sequence[google.cloud.networkconnectivity_v1.types.RoutingVPC]
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.

Inheritance

builtins.object > proto.message.Message > Hub

Classes

LabelsEntry

LabelsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

Parameters
NameDescription
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, `.Message`]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.