Class Spoke (2.4.2)

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

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


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 MutableMapping[str, str]
Optional labels in key-value pair 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.
group str
Optional. The name of the group that this spoke is associated with.
VPN tunnels that are associated with the spoke.
VLAN attachments that are associated with the spoke.
Router appliance instances that are associated with the spoke.
Optional. VPC network that is 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.
Output only. The current lifecycle state of this spoke.
reasons MutableSequence[]
Output only. The reasons for current state of the spoke. Only present when the spoke is in the INACTIVE state.
Output only. The type of resource associated with the spoke.



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

The abstract base class for a message.

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.


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

The reason a spoke is inactive.