Google Cloud Talent Solution V4 Client - Class JobEvent (1.3.4)

Reference documentation and code samples for the Google Cloud Talent Solution V4 Client class JobEvent.

An event issued when a job seeker interacts with the application that implements Cloud Talent Solution.

Generated from protobuf message google.cloud.talent.v4.JobEvent

Namespace

Google \ Cloud \ Talent \ V4

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ type int

Required. The type of the event (see JobEventType).

↳ jobs array

Required. The job name(s) associated with this event. For example, if this is an impression event, this field contains the identifiers of all jobs shown to the job seeker. If this was a view event, this field contains the identifier of the viewed job. The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}", for example, "projects/foo/tenants/bar/jobs/baz".

getType

Required. The type of the event (see JobEventType).

Returns
Type Description
int

setType

Required. The type of the event (see JobEventType).

Parameter
Name Description
var int
Returns
Type Description
$this

getJobs

Required. The job name(s) associated with this event. For example, if this is an impression event, this field contains the identifiers of all jobs shown to the job seeker. If this was a view event, this field contains the identifier of the viewed job.

The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}", for example, "projects/foo/tenants/bar/jobs/baz".

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setJobs

Required. The job name(s) associated with this event. For example, if this is an impression event, this field contains the identifiers of all jobs shown to the job seeker. If this was a view event, this field contains the identifier of the viewed job.

The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}", for example, "projects/foo/tenants/bar/jobs/baz".

Parameter
Name Description
var string[]
Returns
Type Description
$this