public sealed class Hub : IMessage<Hub>, IEquatable<Hub>, IDeepCloneable<Hub>, IBufferMessage, IMessage
Reference documentation and code samples for the Network Connectivity v1 API class Hub.
A Network Connectivity Center 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.
Namespace
Google.Cloud.NetworkConnectivity.V1Assembly
Google.Cloud.NetworkConnectivity.V1.dll
Constructors
Hub()
public Hub()
Hub(Hub)
public Hub(Hub other)
Parameter | |
---|---|
Name | Description |
other | Hub |
Properties
CreateTime
public Timestamp CreateTime { get; set; }
Output only. The time the hub was created.
Property Value | |
---|---|
Type | Description |
Timestamp |
Description
public string Description { get; set; }
An optional description of the hub.
Property Value | |
---|---|
Type | Description |
string |
HubName
public HubName HubName { get; set; }
Property Value | |
---|---|
Type | Description |
HubName |
Labels
public MapField<string, string> Labels { get; }
Optional labels in key:value format. For more information about labels, see Requirements for labels.
Property Value | |
---|---|
Type | Description |
MapFieldstringstring |
Name
public string Name { get; set; }
Immutable. The name of the hub. Hub names must be unique. They use the
following form:
projects/{project_number}/locations/global/hubs/{hub_id}
Property Value | |
---|---|
Type | Description |
string |
RoutingVpcs
public RepeatedField<RoutingVPC> RoutingVpcs { get; }
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.
Property Value | |
---|---|
Type | Description |
RepeatedFieldRoutingVPC |
State
public State State { get; set; }
Output only. The current lifecycle state of this hub.
Property Value | |
---|---|
Type | Description |
State |
UniqueId
public string UniqueId { get; set; }
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.
Property Value | |
---|---|
Type | Description |
string |
UpdateTime
public Timestamp UpdateTime { get; set; }
Output only. The time the hub was last updated.
Property Value | |
---|---|
Type | Description |
Timestamp |