Closed codenprose closed 5 years ago
@dkh215 👋 thanks for reporting the issue.
@RenlongZ can you have a look at the samples please. Thanks!
@dkh215 Thanks for asking the issue. Actually, all fields in REQUEST_META_DATA have nothing to do with authentication.
The REQUEST_META_DATA collected here is about the job searcher. Our system would use this information to improve the search quality of the service. The identifiers, (such as
userId
or sessionId
) should be provided by you, and must be unique and consistent.
See https://cloud.google.com/talent-solution/job-search/docs/search#requestmetadata for more information.
In the location-search-sample there isn't any info on how to obtain the
userId
andsessionId
values for the required requestMetadata property.The docs mention that
UNKNOWN
can be used in the absence of said values, but I'm currently not getting amatchingJobs
property back in the SearchJobsResponse object.I've authenticated via a service account. My initial assumption is that I need to introduce outh2 flow to get a
userId
andsessionId
? If so, why are these required?Example Request