Generated from protobuf enumCONNECTION_STATE_UNSPECIFIED = 0;
MISSING_CREDENTIALS
Value: 1
The DLP API automatically created this connection during an initial scan,
and it is awaiting full configuration by a user.
Generated from protobuf enumMISSING_CREDENTIALS = 1;
AVAILABLE
Value: 2
A configured connection that has not encountered any errors.
Generated from protobuf enumAVAILABLE = 2;
ERROR
Value: 3
A configured connection that encountered errors during its last use. It
will not be used again until it is set to AVAILABLE.
If the resolution requires external action, then the client must send a
request to set the status to AVAILABLE when the connection is ready for
use. If the resolution doesn't require external action, then any changes to
the connection properties will automatically mark it as AVAILABLE.
[[["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,["# Data Loss Prevention V2 Client - Class ConnectionState (2.6.1)\n\nVersion latestkeyboard_arrow_down\n\n- [2.6.1 (latest)](/php/docs/reference/cloud-dlp/latest/V2.ConnectionState)\n- [2.6.0](/php/docs/reference/cloud-dlp/2.6.0/V2.ConnectionState)\n- [2.4.1](/php/docs/reference/cloud-dlp/2.4.1/V2.ConnectionState)\n- [2.3.0](/php/docs/reference/cloud-dlp/2.3.0/V2.ConnectionState)\n- [2.2.3](/php/docs/reference/cloud-dlp/2.2.3/V2.ConnectionState)\n- [2.1.0](/php/docs/reference/cloud-dlp/2.1.0/V2.ConnectionState)\n- [2.0.0](/php/docs/reference/cloud-dlp/2.0.0/V2.ConnectionState)\n- [1.19.0](/php/docs/reference/cloud-dlp/1.19.0/V2.ConnectionState)\n- [1.18.0](/php/docs/reference/cloud-dlp/1.18.0/V2.ConnectionState)\n- [1.17.0](/php/docs/reference/cloud-dlp/1.17.0/V2.ConnectionState)\n- [1.16.0](/php/docs/reference/cloud-dlp/1.16.0/V2.ConnectionState)\n- [1.15.1](/php/docs/reference/cloud-dlp/1.15.1/V2.ConnectionState)\n- [1.14.0](/php/docs/reference/cloud-dlp/1.14.0/V2.ConnectionState)\n- [1.13.2](/php/docs/reference/cloud-dlp/1.13.2/V2.ConnectionState)\n- [1.12.0](/php/docs/reference/cloud-dlp/1.12.0/V2.ConnectionState)\n- [1.11.0](/php/docs/reference/cloud-dlp/1.11.0/V2.ConnectionState)\n- [1.10.2](/php/docs/reference/cloud-dlp/1.10.2/V2.ConnectionState)\n- [1.9.0](/php/docs/reference/cloud-dlp/1.9.0/V2.ConnectionState)\n- [1.8.6](/php/docs/reference/cloud-dlp/1.8.6/V2.ConnectionState) \nReference documentation and code samples for the Data Loss Prevention V2 Client class ConnectionState.\n\nState of the connection.\n\nNew values may be added over time.\n\nProtobuf type `google.privacy.dlp.v2.ConnectionState`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Dlp \\\\ V2\n\nMethods\n-------\n\n### static::name\n\n### static::value\n\nConstants\n---------\n\n### CONNECTION_STATE_UNSPECIFIED\n\n Value: 0\n\nUnused\n\nGenerated from protobuf enum `CONNECTION_STATE_UNSPECIFIED = 0;`\n\n### MISSING_CREDENTIALS\n\n Value: 1\n\nThe DLP API automatically created this connection during an initial scan,\nand it is awaiting full configuration by a user.\n\nGenerated from protobuf enum `MISSING_CREDENTIALS = 1;`\n\n### AVAILABLE\n\n Value: 2\n\nA configured connection that has not encountered any errors.\n\nGenerated from protobuf enum `AVAILABLE = 2;`\n\n### ERROR\n\n Value: 3\n\nA configured connection that encountered errors during its last use. It\nwill not be used again until it is set to AVAILABLE.\n\nIf the resolution requires external action, then the client must send a\nrequest to set the status to AVAILABLE when the connection is ready for\nuse. If the resolution doesn't require external action, then any changes to\nthe connection properties will automatically mark it as AVAILABLE.\n\nGenerated from protobuf enum `ERROR = 3;`"]]