Data Loss Prevention V2 Client - Class JobState (1.15.1)

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

Possible states of a job. New items may be added.

Protobuf type google.privacy.dlp.v2.DlpJob.JobState

Namespace

Google \ Cloud \ Dlp \ V2 \ DlpJob

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

JOB_STATE_UNSPECIFIED

Value: 0

Unused.

Generated from protobuf enum JOB_STATE_UNSPECIFIED = 0;

PENDING

Value: 1

The job has not yet started.

Generated from protobuf enum PENDING = 1;

RUNNING

Value: 2

The job is currently running. Once a job has finished it will transition to FAILED or DONE.

Generated from protobuf enum RUNNING = 2;

DONE

Value: 3

The job is no longer running.

Generated from protobuf enum DONE = 3;

CANCELED

Value: 4

The job was canceled before it could be completed.

Generated from protobuf enum CANCELED = 4;

FAILED

Value: 5

The job had an error and did not complete.

Generated from protobuf enum FAILED = 5;

ACTIVE

Value: 6

The job is currently accepting findings via hybridInspect.

A hybrid job in ACTIVE state may continue to have findings added to it through the calling of hybridInspect. After the job has finished no more calls to hybridInspect may be made. ACTIVE jobs can transition to DONE.

Generated from protobuf enum ACTIVE = 6;