Reference documentation and code samples for the Google Cloud Network Connectivity V1 Client class PresetTopology.
The list of available preset topologies.
Protobuf type google.cloud.networkconnectivity.v1.PresetTopology
Namespace
Google \ Cloud \ NetworkConnectivity \ V1
Methods
static::name
Parameter
Name
Description
value
mixed
static::value
Parameter
Name
Description
name
mixed
Constants
PRESET_TOPOLOGY_UNSPECIFIED
Value: 0
Preset topology is unspecified. When policy_mode = PRESET,
it defaults to MESH.
Generated from protobuf enum PRESET_TOPOLOGY_UNSPECIFIED = 0;
MESH
Value: 2
Mesh topology is implemented. Group default is automatically created.
All spokes in the hub are added to group default.
Generated from protobuf enum MESH = 2;
STAR
Value: 3
Star topology is implemented. Two groups, center and edge, are
automatically created along with hub creation. Spokes have to join one of
the groups during creation.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Google Cloud Network Connectivity V1 Client - Class PresetTopology (2.3.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.3.0 (latest)](/php/docs/reference/cloud-network-connectivity/latest/V1.PresetTopology)\n- [2.2.2](/php/docs/reference/cloud-network-connectivity/2.2.2/V1.PresetTopology)\n- [2.1.2](/php/docs/reference/cloud-network-connectivity/2.1.2/V1.PresetTopology)\n- [2.0.2](/php/docs/reference/cloud-network-connectivity/2.0.2/V1.PresetTopology)\n- [1.5.5](/php/docs/reference/cloud-network-connectivity/1.5.5/V1.PresetTopology)\n- [1.4.2](/php/docs/reference/cloud-network-connectivity/1.4.2/V1.PresetTopology)\n- [1.3.0](/php/docs/reference/cloud-network-connectivity/1.3.0/V1.PresetTopology)\n- [1.2.0](/php/docs/reference/cloud-network-connectivity/1.2.0/V1.PresetTopology)\n- [1.1.1](/php/docs/reference/cloud-network-connectivity/1.1.1/V1.PresetTopology)\n- [1.0.5](/php/docs/reference/cloud-network-connectivity/1.0.5/V1.PresetTopology) \nReference documentation and code samples for the Google Cloud Network Connectivity V1 Client class PresetTopology.\n\nThe list of available preset topologies.\n\nProtobuf type `google.cloud.networkconnectivity.v1.PresetTopology`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ NetworkConnectivity \\\\ V1\n\nMethods\n-------\n\n### static::name\n\n### static::value\n\nConstants\n---------\n\n### PRESET_TOPOLOGY_UNSPECIFIED\n\n Value: 0\n\nPreset topology is unspecified. When policy_mode = PRESET,\nit defaults to MESH.\n\nGenerated from protobuf enum `PRESET_TOPOLOGY_UNSPECIFIED = 0;`\n\n### MESH\n\n Value: 2\n\nMesh topology is implemented. Group `default` is automatically created.\n\nAll spokes in the hub are added to group `default`.\n\nGenerated from protobuf enum `MESH = 2;`\n\n### STAR\n\n Value: 3\n\nStar topology is implemented. Two groups, `center` and `edge`, are\nautomatically created along with hub creation. Spokes have to join one of\nthe groups during creation.\n\nGenerated from protobuf enum `STAR = 3;`"]]