Google Cloud Talent Solution V4beta1 Client - Class JobEvent (1.3.3)

Reference documentation and code samples for the Google Cloud Talent Solution V4beta1 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.v4beta1.JobEvent

Namespace

Google \ Cloud \ Talent \ V4beta1

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".

↳ profile string

The profile name associated with this client event. The format is "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}", for example, "projects/foo/tenants/bar/profiles/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

getProfile

The profile name associated with this client event.

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

Returns
Type Description
string

setProfile

The profile name associated with this client event.

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

Parameter
Name Description
var string
Returns
Type Description
$this