Data Loss Prevention V2 Client - Class ConnectionState (2.0.0)

Reference documentation and code samples for the Data Loss Prevention V2 Client class ConnectionState.

State of the connection.

New values may be added over time.

Protobuf type google.privacy.dlp.v2.ConnectionState

Namespace

Google \ Cloud \ Dlp \ V2

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

CONNECTION_STATE_UNSPECIFIED

Value: 0

Unused

Generated from protobuf enum CONNECTION_STATE_UNSPECIFIED = 0;

MISSING_CREDENTIALS

Value: 1

DLP automatically created this connection during an initial scan, and it is awaiting full configuration by a user.

Generated from protobuf enum MISSING_CREDENTIALS = 1;

AVAILABLE

Value: 2

A configured connection that has not encountered any errors.

Generated from protobuf enum AVAILABLE = 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.

Generated from protobuf enum ERROR = 3;