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

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

↳ 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
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

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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this