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

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
NameDescription
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
TypeDescription
int

setType

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

Parameter
NameDescription
var int
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var string[]
Returns
TypeDescription
$this