Class Spoke

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
Attributes
NameDescription
strname
Immutable. The name of the spoke. Spoke names must be unique. They use the following form: ``projects/{project_number}/locations/{region}/spokes/{spoke_id}``
google.protobuf.timestamp_pb2.Timestampcreate_time
Output only. The time the spoke was created.
google.protobuf.timestamp_pb2.Timestampupdate_time
Output only. The time the spoke was last updated.
Sequence[google.cloud.networkconnectivity_v1.types.Spoke.LabelsEntry]labels
Optional labels in key:value format. For more information about labels, see `Requirements for labels
strdescription
An optional description of the spoke.
strhub
Immutable. The name of the hub that this spoke is attached to.
google.cloud.networkconnectivity_v1.types.LinkedVpnTunnelslinked_vpn_tunnels
VPN tunnels that are associated with the spoke.
google.cloud.networkconnectivity_v1.types.LinkedInterconnectAttachmentslinked_interconnect_attachments
VLAN attachments that are associated with the spoke.
google.cloud.networkconnectivity_v1.types.LinkedRouterApplianceInstanceslinked_router_appliance_instances
Router appliance instances that are associated with the spoke.
strunique_id
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.
google.cloud.networkconnectivity_v1.types.Statestate
Output only. The current lifecycle state of this spoke.

Inheritance

builtins.object > proto.message.Message > Spoke

Classes

LabelsEntry

LabelsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

API documentation for LabelsEntry class.