Reference documentation and code samples for the Google Cloud Talent Solution V4 Client class ClientEvent.
An event issued when an end user interacts with the application that implements Cloud Talent Solution. Providing this information improves the quality of results for the API clients, enabling the service to perform optimally. The number of events sent must be consistent with other calls, such as job searches, issued to the service by the client.
Generated from protobuf message google.cloud.talent.v4.ClientEvent
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ request_id |
string
Strongly recommended for the best service experience. A unique ID generated in the API responses. It can be found in ResponseMetadata.request_id. |
↳ event_id |
string
Required. A unique identifier, generated by the client application. |
↳ create_time |
Google\Protobuf\Timestamp
Required. The timestamp of the event. |
↳ job_event |
Google\Cloud\Talent\V4\JobEvent
An event issued when a job seeker interacts with the application that implements Cloud Talent Solution. |
↳ event_notes |
string
Notes about the event provided by recruiters or other users, for example, feedback on why a job was bookmarked. |
getRequestId
Strongly recommended for the best service experience.
A unique ID generated in the API responses. It can be found in ResponseMetadata.request_id.
Returns | |
---|---|
Type | Description |
string |
setRequestId
Strongly recommended for the best service experience.
A unique ID generated in the API responses. It can be found in ResponseMetadata.request_id.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getEventId
Required. A unique identifier, generated by the client application.
Returns | |
---|---|
Type | Description |
string |
setEventId
Required. A unique identifier, generated by the client application.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getCreateTime
Required. The timestamp of the event.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Timestamp|null |
hasCreateTime
clearCreateTime
setCreateTime
Required. The timestamp of the event.
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Timestamp
|
Returns | |
---|---|
Type | Description |
$this |
getJobEvent
An event issued when a job seeker interacts with the application that implements Cloud Talent Solution.
Returns | |
---|---|
Type | Description |
Google\Cloud\Talent\V4\JobEvent|null |
hasJobEvent
setJobEvent
An event issued when a job seeker interacts with the application that implements Cloud Talent Solution.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Talent\V4\JobEvent
|
Returns | |
---|---|
Type | Description |
$this |
getEventNotes
Notes about the event provided by recruiters or other users, for example, feedback on why a job was bookmarked.
Returns | |
---|---|
Type | Description |
string |
setEventNotes
Notes about the event provided by recruiters or other users, for example, feedback on why a job was bookmarked.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getEvent
Returns | |
---|---|
Type | Description |
string |