Class Spoke (1.4.2)

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

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
name str
Immutable. The name of the spoke. Spoke names must be unique. They use the following form: ``projects/{project_number}/locations/{region}/spokes/{spoke_id}``
create_time google.protobuf.timestamp_pb2.Timestamp
Output only. The time the spoke was created.
update_time google.protobuf.timestamp_pb2.Timestamp
Output only. The time the spoke was last updated.
labels Mapping[str, str]
Optional labels in key:value format. For more information about labels, see `Requirements for labels
description str
An optional description of the spoke.
hub str
Immutable. The name of the hub that this spoke is attached to.
linked_vpn_tunnels google.cloud.networkconnectivity_v1.types.LinkedVpnTunnels
VPN tunnels that are associated with the spoke.
linked_interconnect_attachments google.cloud.networkconnectivity_v1.types.LinkedInterconnectAttachments
VLAN attachments that are associated with the spoke.
linked_router_appliance_instances google.cloud.networkconnectivity_v1.types.LinkedRouterApplianceInstances
Router appliance instances that are associated with the spoke.
unique_id str
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.
state google.cloud.networkconnectivity_v1.types.State
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)

The abstract base class for a message.

Parameters
NameDescription
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, `.Message`]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.