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
Enum of type JobEventType.
setType
Required. The type of the event (see
JobEventType).
Parameter
Name
Description
var
int
Enum of type JobEventType.
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".
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".
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[],[],null,["# Google Cloud Talent Solution V4 Client - Class JobEvent (2.1.3)\n\nVersion latestkeyboard_arrow_down\n\n- [2.1.3 (latest)](/php/docs/reference/cloud-talent/latest/V4.JobEvent)\n- [2.1.2](/php/docs/reference/cloud-talent/2.1.2/V4.JobEvent)\n- [2.0.2](/php/docs/reference/cloud-talent/2.0.2/V4.JobEvent)\n- [1.3.5](/php/docs/reference/cloud-talent/1.3.5/V4.JobEvent)\n- [1.2.2](/php/docs/reference/cloud-talent/1.2.2/V4.JobEvent)\n- [1.1.1](/php/docs/reference/cloud-talent/1.1.1/V4.JobEvent)\n- [1.0.5](/php/docs/reference/cloud-talent/1.0.5/V4.JobEvent) \nReference documentation and code samples for the Google Cloud Talent Solution V4 Client class JobEvent.\n\nAn event issued when a job seeker interacts with the application that\nimplements Cloud Talent Solution.\n\nGenerated from protobuf message `google.cloud.talent.v4.JobEvent`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Talent \\\\ V4\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getType\n\nRequired. The type of the event (see\n[JobEventType](/php/docs/reference/cloud-talent/latest/V4.JobEvent.JobEventType)).\n\n### setType\n\nRequired. The type of the event (see\n[JobEventType](/php/docs/reference/cloud-talent/latest/V4.JobEvent.JobEventType)).\n\n### getJobs\n\nRequired. The [job name(s)](/php/docs/reference/cloud-talent/latest/V4.Job#_Google_Cloud_Talent_V4_Job__getName__) associated\nwith this event. For example, if this is an\n[impression](/php/docs/reference/cloud-talent/latest/V4.JobEvent.JobEventType#_Google_Cloud_Talent_V4_JobEvent_JobEventType__IMPRESSION)\nevent, this field contains the identifiers of all jobs shown to the job\nseeker. If this was a\n[view](/php/docs/reference/cloud-talent/latest/V4.JobEvent.JobEventType#_Google_Cloud_Talent_V4_JobEvent_JobEventType__VIEW) event, this field\ncontains the identifier of the viewed job.\n\nThe format is\n\"projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}\", for\nexample, \"projects/foo/tenants/bar/jobs/baz\".\n\n### setJobs\n\nRequired. The [job name(s)](/php/docs/reference/cloud-talent/latest/V4.Job#_Google_Cloud_Talent_V4_Job__getName__) associated\nwith this event. For example, if this is an\n[impression](/php/docs/reference/cloud-talent/latest/V4.JobEvent.JobEventType#_Google_Cloud_Talent_V4_JobEvent_JobEventType__IMPRESSION)\nevent, this field contains the identifiers of all jobs shown to the job\nseeker. If this was a\n[view](/php/docs/reference/cloud-talent/latest/V4.JobEvent.JobEventType#_Google_Cloud_Talent_V4_JobEvent_JobEventType__VIEW) event, this field\ncontains the identifier of the viewed job.\n\nThe format is\n\"projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}\", for\nexample, \"projects/foo/tenants/bar/jobs/baz\"."]]