Reference documentation and code samples for the Google Cloud Filestore V1 Client class ConnectMode.
Available connection modes.
Protobuf type google.cloud.filestore.v1.NetworkConfig.ConnectMode
Namespace
Google \ Cloud \ Filestore \ V1 \ NetworkConfig
Methods
static::name
Parameter
Name
Description
value
mixed
static::value
Parameter
Name
Description
name
mixed
Constants
CONNECT_MODE_UNSPECIFIED
Value: 0
Not set.
Generated from protobuf enum CONNECT_MODE_UNSPECIFIED = 0;
DIRECT_PEERING
Value: 1
Connect via direct peering to the Filestore service.
Generated from protobuf enum DIRECT_PEERING = 1;
PRIVATE_SERVICE_ACCESS
Value: 2
Connect to your Filestore instance using Private Service
Access. Private services access provides an IP address range for multiple
Google Cloud services, including Filestore.
Generated from protobuf enum PRIVATE_SERVICE_ACCESS = 2;
[[["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-09-04 UTC."],[],[],null,["# Google Cloud Filestore V1 Client - Class ConnectMode (2.1.1)\n\nVersion latestkeyboard_arrow_down\n\n- [2.1.1 (latest)](/php/docs/reference/cloud-filestore/latest/V1.NetworkConfig.ConnectMode)\n- [2.1.0](/php/docs/reference/cloud-filestore/2.1.0/V1.NetworkConfig.ConnectMode)\n- [2.0.4](/php/docs/reference/cloud-filestore/2.0.4/V1.NetworkConfig.ConnectMode)\n- [1.5.7](/php/docs/reference/cloud-filestore/1.5.7/V1.NetworkConfig.ConnectMode)\n- [1.4.0](/php/docs/reference/cloud-filestore/1.4.0/V1.NetworkConfig.ConnectMode)\n- [1.3.2](/php/docs/reference/cloud-filestore/1.3.2/V1.NetworkConfig.ConnectMode)\n- [1.2.1](/php/docs/reference/cloud-filestore/1.2.1/V1.NetworkConfig.ConnectMode)\n- [1.1.2](/php/docs/reference/cloud-filestore/1.1.2/V1.NetworkConfig.ConnectMode)\n- [1.0.3](/php/docs/reference/cloud-filestore/1.0.3/V1.NetworkConfig.ConnectMode) \nReference documentation and code samples for the Google Cloud Filestore V1 Client class ConnectMode.\n\nAvailable connection modes.\n\nProtobuf type `google.cloud.filestore.v1.NetworkConfig.ConnectMode`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Filestore \\\\ V1 \\\\ NetworkConfig\n\nMethods\n-------\n\n### static::name\n\n### static::value\n\nConstants\n---------\n\n### CONNECT_MODE_UNSPECIFIED\n\n Value: 0\n\nNot set.\n\nGenerated from protobuf enum `CONNECT_MODE_UNSPECIFIED = 0;`\n\n### DIRECT_PEERING\n\n Value: 1\n\nConnect via direct peering to the Filestore service.\n\nGenerated from protobuf enum `DIRECT_PEERING = 1;`\n\n### PRIVATE_SERVICE_ACCESS\n\n Value: 2\n\nConnect to your Filestore instance using Private Service\nAccess. Private services access provides an IP address range for multiple\nGoogle Cloud services, including Filestore.\n\nGenerated from protobuf enum `PRIVATE_SERVICE_ACCESS = 2;`"]]