Google Cloud Dataplex V1 Client - Class JobEvent (0.1.6)

Reference documentation and code samples for the Google Cloud Dataplex V1 Client class JobEvent.

The payload associated with Job logs that contains events describing jobs that have run within a Lake.

Generated from protobuf message google.cloud.dataplex.v1.JobEvent

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ message string

The log message.

↳ job_id string

The unique id identifying the job.

↳ start_time Google\Protobuf\Timestamp

The time when the job started running.

↳ end_time Google\Protobuf\Timestamp

The time when the job ended running.

↳ state int

The job state on completion.

↳ retries int

The number of retries.

↳ type int

The type of the job.

↳ service int

The service used to execute the job.

↳ service_job string

The reference to the job within the service.

getMessage

The log message.

Generated from protobuf field string message = 1;

Returns
TypeDescription
string

setMessage

The log message.

Generated from protobuf field string message = 1;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getJobId

The unique id identifying the job.

Generated from protobuf field string job_id = 2;

Returns
TypeDescription
string

setJobId

The unique id identifying the job.

Generated from protobuf field string job_id = 2;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getStartTime

The time when the job started running.

Generated from protobuf field .google.protobuf.Timestamp start_time = 3;

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasStartTime

clearStartTime

setStartTime

The time when the job started running.

Generated from protobuf field .google.protobuf.Timestamp start_time = 3;

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getEndTime

The time when the job ended running.

Generated from protobuf field .google.protobuf.Timestamp end_time = 4;

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasEndTime

clearEndTime

setEndTime

The time when the job ended running.

Generated from protobuf field .google.protobuf.Timestamp end_time = 4;

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getState

The job state on completion.

Generated from protobuf field .google.cloud.dataplex.v1.JobEvent.State state = 5;

Returns
TypeDescription
int

setState

The job state on completion.

Generated from protobuf field .google.cloud.dataplex.v1.JobEvent.State state = 5;

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getRetries

The number of retries.

Generated from protobuf field int32 retries = 6;

Returns
TypeDescription
int

setRetries

The number of retries.

Generated from protobuf field int32 retries = 6;

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getType

The type of the job.

Generated from protobuf field .google.cloud.dataplex.v1.JobEvent.Type type = 7;

Returns
TypeDescription
int

setType

The type of the job.

Generated from protobuf field .google.cloud.dataplex.v1.JobEvent.Type type = 7;

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getService

The service used to execute the job.

Generated from protobuf field .google.cloud.dataplex.v1.JobEvent.Service service = 8;

Returns
TypeDescription
int

setService

The service used to execute the job.

Generated from protobuf field .google.cloud.dataplex.v1.JobEvent.Service service = 8;

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getServiceJob

The reference to the job within the service.

Generated from protobuf field string service_job = 9;

Returns
TypeDescription
string

setServiceJob

The reference to the job within the service.

Generated from protobuf field string service_job = 9;

Parameter
NameDescription
var string
Returns
TypeDescription
$this