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
Attributes |
|
|---|---|
| Name | Description |
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
Optional. 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. |
linked_vpn_tunnels |
google.cloud.networkconnectivity_v1.types.LinkedVpnTunnels
Optional. VPN tunnels that are associated with the spoke. |
linked_interconnect_attachments |
google.cloud.networkconnectivity_v1.types.LinkedInterconnectAttachments
Optional. VLAN attachments that are associated with the spoke. |
linked_router_appliance_instances |
google.cloud.networkconnectivity_v1.types.LinkedRouterApplianceInstances
Optional. Router appliance instances that are associated with the spoke. |
linked_vpc_network |
google.cloud.networkconnectivity_v1.types.LinkedVpcNetwork
Optional. VPC network that is associated with the spoke. |
linked_producer_vpc_network |
google.cloud.networkconnectivity_v1.types.LinkedProducerVpcNetwork
Optional. The linked producer VPC 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.
|
state |
google.cloud.networkconnectivity_v1.types.State
Output only. The current lifecycle state of this spoke. |
reasons |
MutableSequence[google.cloud.networkconnectivity_v1.types.Spoke.StateReason]
Output only. The reasons for current state of the spoke. |
spoke_type |
google.cloud.networkconnectivity_v1.types.SpokeType
Output only. The type of resource associated with the spoke. |
etag |
str
Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. |
field_paths_pending_update |
MutableSequence[str]
Optional. The list of fields waiting for hub administration's approval. |
Classes
LabelsEntry
LabelsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)The abstract base class for a message.
| Parameters | |
|---|---|
| Name | Description |
kwargs |
dict
Keys and values corresponding to the fields of the message. |
mapping |
Union[dict,
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 |
StateReason
StateReason(mapping=None, *, ignore_unknown_fields=False, **kwargs)The reason a spoke is inactive.