Network Connectivity v1 API - Class Spoke (2.9.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
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

Group

public string Group { get; set; }

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

Property Value
Type Description
string

GroupAsGroupName

public GroupName GroupAsGroupName { get; set; }

GroupName-typed view over the Group resource name property.

Property Value
Type Description
GroupName

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; }

HubName-typed view over the Hub resource name property.

Property Value
Type Description
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
Type Description
MapFieldstringstring

LinkedInterconnectAttachments

public LinkedInterconnectAttachments LinkedInterconnectAttachments { get; set; }

VLAN attachments that are associated with the spoke.

Property Value
Type Description
LinkedInterconnectAttachments

LinkedProducerVpcNetwork

public LinkedProducerVpcNetwork LinkedProducerVpcNetwork { get; set; }

Optional. The linked producer VPC that is associated with the spoke.

Property Value
Type Description
LinkedProducerVpcNetwork

LinkedRouterApplianceInstances

public LinkedRouterApplianceInstances LinkedRouterApplianceInstances { get; set; }

Router appliance instances that are associated with the spoke.

Property Value
Type Description
LinkedRouterApplianceInstances

LinkedVpcNetwork

public LinkedVpcNetwork LinkedVpcNetwork { get; set; }

Optional. VPC network that is associated with the spoke.

Property Value
Type Description
LinkedVpcNetwork

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

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
Type Description
RepeatedFieldSpokeTypesStateReason

SpokeName

public SpokeName SpokeName { get; set; }

SpokeName-typed view over the Name resource name property.

Property Value
Type Description
SpokeName

SpokeType

public SpokeType SpokeType { get; set; }

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

Property Value
Type Description
SpokeType

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