Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

Cloud Talent Solution client samples

Open in Cloud Shell

Cloud Talent Solution is part of Google for Jobs - a Google-wide commitment to help people find jobs more easily. Talent Solution provides plug and play access to Google’s search and machine learning capabilities, enabling the entire recruiting ecosystem - company career sites, job boards, applicant tracking systems, and staffing agencies to improve job site engagement and candidate conversion.

This sample Java application demonstrates how to access the Cloud Talent Solution API using the Google Cloud Client Library for Java.

Setup

  1. Install Maven.
  2. Enable Cloud Talent Solution API.

Build

Build your project with:

   mvn clean package

Local testing

  1. Create a service account and set the GOOGLE_APPLICATION_CREDENTIALS environment variable, for example:
export GOOGLE_APPLICATION_CREDENTIALS=/path/to/your/key.json
  1. Run all samples with command:
   mvn -Dtest=SampleTests test

Or a single sample:

   mvn exec:java -Dexec.mainClass="com.google.samples.BatchOperationSample"