public sealed class Spoke : IMessage<Spoke>, IEquatable<Spoke>, IDeepCloneable<Spoke>, IBufferMessage, IMessage
Reference documentation and code samples for the Network Connectivity v1 API class Spoke.
A Network Connectivity Center spoke represents a connection between your Google Cloud network resources and a non-Google-Cloud network.
When you create a spoke, you associate it with a hub. You must also identify a value for exactly one of the following fields:
- linked_vpn_tunnels
- linked_interconnect_attachments
- linked_router_appliance_instances
Namespace
GoogleCloudGoogle.Cloud.NetworkConnectivityV1Assembly
Google.Cloud.NetworkConnectivity.V1.dll
Constructors
Spoke()
public Spoke()
Spoke(Spoke)
public Spoke(Spoke other)
Parameter | |
---|---|
Name | Description |
other | Spoke |
Properties
CreateTime
public Timestamp CreateTime { get; set; }
Output only. The time the spoke was created.
Property Value | |
---|---|
Type | Description |
Timestamp |
Description
public string Description { get; set; }
An optional description of the spoke.
Property Value | |
---|---|
Type | Description |
string |
Hub
public string Hub { get; set; }
Immutable. The name of the hub that this spoke is attached to.
Property Value | |
---|---|
Type | Description |
string |
HubAsHubName
public HubName HubAsHubName { 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 |
LinkedInterconnectAttachments
public LinkedInterconnectAttachments LinkedInterconnectAttachments { get; set; }
VLAN attachments that are associated with the spoke.
Property Value | |
---|---|
Type | Description |
LinkedInterconnectAttachments |
LinkedRouterApplianceInstances
public LinkedRouterApplianceInstances LinkedRouterApplianceInstances { get; set; }
Router appliance instances that are associated with the spoke.
Property Value | |
---|---|
Type | Description |
LinkedRouterApplianceInstances |
LinkedVpnTunnels
public LinkedVpnTunnels LinkedVpnTunnels { get; set; }
VPN tunnels that are associated with the spoke.
Property Value | |
---|---|
Type | Description |
LinkedVpnTunnels |
Name
public string Name { get; set; }
Immutable. The name of the spoke. Spoke names must be unique. They use the
following form:
projects/{project_number}/locations/{region}/spokes/{spoke_id}
Property Value | |
---|---|
Type | Description |
string |
SpokeName
public SpokeName SpokeName { get; set; }
Property Value | |
---|---|
Type | Description |
SpokeName |
State
public State State { get; set; }
Output only. The current lifecycle state of this spoke.
Property Value | |
---|---|
Type | Description |
State |
UniqueId
public string UniqueId { get; set; }
Output only. The Google-generated UUID for the spoke. This value is unique across all spoke resources. If a spoke is deleted and another with the same name is created, the new spoke is assigned a different unique_id.
Property Value | |
---|---|
Type | Description |
string |
UpdateTime
public Timestamp UpdateTime { get; set; }
Output only. The time the spoke was last updated.
Property Value | |
---|---|
Type | Description |
Timestamp |