Class Spoke (1.2.0)

public sealed class Spoke : IMessage<Spoke>, IEquatable<Spoke>, IDeepCloneable<Spoke>, IBufferMessage, IMessage

A 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

Inheritance

Object > Spoke

Namespace

Google.Cloud.NetworkConnectivity.V1

Assembly

Google.Cloud.NetworkConnectivity.V1.dll

Constructors

Spoke()

public Spoke()

Spoke(Spoke)

public Spoke(Spoke other)
Parameter
NameDescription
otherSpoke

Properties

CreateTime

public Timestamp CreateTime { get; set; }

Output only. The time the spoke was created.

Property Value
TypeDescription
Timestamp

Description

public string Description { get; set; }

An optional description of the spoke.

Property Value
TypeDescription
String

Hub

public string Hub { get; set; }

Immutable. The name of the hub that this spoke is attached to.

Property Value
TypeDescription
String

HubAsHubName

public HubName HubAsHubName { get; set; }

HubName-typed view over the Hub resource name property.

Property Value
TypeDescription
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
TypeDescription
MapField<String, String>

LinkedInterconnectAttachments

public LinkedInterconnectAttachments LinkedInterconnectAttachments { get; set; }

VLAN attachments that are associated with the spoke.

Property Value
TypeDescription
LinkedInterconnectAttachments

LinkedRouterApplianceInstances

public LinkedRouterApplianceInstances LinkedRouterApplianceInstances { get; set; }

Router appliance instances that are associated with the spoke.

Property Value
TypeDescription
LinkedRouterApplianceInstances

LinkedVpnTunnels

public LinkedVpnTunnels LinkedVpnTunnels { get; set; }

VPN tunnels that are associated with the spoke.

Property Value
TypeDescription
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
TypeDescription
String

SpokeName

public SpokeName SpokeName { get; set; }

SpokeName-typed view over the Name resource name property.

Property Value
TypeDescription
SpokeName

State

public State State { get; set; }

Output only. The current lifecycle state of this spoke.

Property Value
TypeDescription
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
TypeDescription
String

UpdateTime

public Timestamp UpdateTime { get; set; }

Output only. The time the spoke was last updated.

Property Value
TypeDescription
Timestamp