Network Connectivity v1 API - Class Spoke (2.7.0)

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 one or more network connectivity resources.

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
  • linked_vpc_network

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

Group

public string Group { get; set; }

Optional. The name of the group that this spoke is associated with.

Property Value
TypeDescription
string

GroupAsGroupName

public GroupName GroupAsGroupName { get; set; }

GroupName-typed view over the Group resource name property.

Property Value
TypeDescription
GroupName

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 pair format. For more information about labels, see Requirements for labels.

Property Value
TypeDescription
MapFieldstringstring

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

LinkedVpcNetwork

public LinkedVpcNetwork LinkedVpcNetwork { get; set; }

Optional. VPC network that is associated with the spoke.

Property Value
TypeDescription
LinkedVpcNetwork

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

Reasons

public RepeatedField<Spoke.Types.StateReason> Reasons { get; }

Output only. The reasons for current state of the spoke. Only present when the spoke is in the INACTIVE state.

Property Value
TypeDescription
RepeatedFieldSpokeTypesStateReason

SpokeName

public SpokeName SpokeName { get; set; }

SpokeName-typed view over the Name resource name property.

Property Value
TypeDescription
SpokeName

SpokeType

public SpokeType SpokeType { get; set; }

Output only. The type of resource associated with the spoke.

Property Value
TypeDescription
SpokeType

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