Cloud Talent Solution provides several different job attributes out-of-the-box to support the needs of various customers. To gain the best performance from Cloud Talent Solution, it's highly recommended you use the out-of-the-box fields as much as possible.
In addition, Cloud Talent Solution also provides custom attributes to store generic information. Custom attributes are used to provide even more flexibility to allow customers to support their business logic. Custom attributes store either a string or numerical information, and can be filtered against in search queries by setting appropriate filters.
Custom attributes features
- Define your own custom field name: Define a name for a particular
attribute of a job. Set this attribute to be either filterable or
non-filterable depending on your needs. Typically, if the UI needs a
filterable facet that is not provided out-of-the-box by Cloud Talent Solution a
customAttribute
can be used to provide the right filtering. - Case (in)sensitive search: Each search request can specify whether the search against all custom attributes is case sensitive or case insensitive.
- Range based filtering:
customAttribute
search filters can filter jobs between a range of specified numeric values. For example, if a givencustomAttribute
field is used to store the minimum GPA requirements of a job, thecustomAttribute
search filter can be used to return jobs within a certain minimum GPA range, greater than a minimum GPA value, lesser than a minimum GPA value, etc. Cross-field filtering:
customAttribute
also provides customers of Cloud Talent Solution with the ability to define expressions that filter a combination of custom attributes. For example, a customer has business logic that states they only want jobs that sponsor visas, or telecommute jobs. The customer stores both these fields in a differentcustomAttribute
. The customer can then specify a search filter with an expression that defines the logic needed. Only 3 levels of nested expressions are supported.Keyword specific search: Specify a certain
customAttribute
in thekeywordSearchableCustomAttributes
of the associated company to ensure search requests that contain a value in the specified customAttribute return the jobs containing this value in that customAttribute.SQL based searches:
customAttribute
allows you to define boolean-style expressions in the search request. Cloud Talent Solution automatically parses these expressions, applies the filters to the search request, and returns results accordingly. Only 3 levels of nesting of the boolean expressions and at most 2000 characters are allowed.Define custom histogram buckets: Custom attributes allow customers of Cloud Talent Solution to set custom buckets by which histograms can be calculated. For example, you can use a
customAttribute
to store minimum GPA information, and then create a histogram on this field. You can further create buckets from 3.0 - 3.5, 3.51 - 4.0, etc., to group all the minimum GPAs within these buckets.
Using custom attributes
Create a new job with the customAttribute
field (can be used with either numeric or string values):
Go
To learn how to install and use the client library for CTS, see CTS client libraries. For more information, see the CTS Go API reference documentation.
To authenticate to CTS, set up Application Default Credentials. For more information, see Set up authentication for a local development environment.
Java
For more on installing and creating a Cloud Talent Solution client, see Cloud Talent Solution Client Libraries.
Node.js
For more on installing and creating a Cloud Talent Solution client, see Cloud Talent Solution Client Libraries.
Python
For more on installing and creating a Cloud Talent Solution client, see Cloud Talent Solution Client Libraries.
By default, the searchJobs
and searchJobsForAlert
endpoints only search against out-of-the-box fields. If you also need to search against customAttribute fields, use the keywordSearchableJobCustomAttributes field to define a list of custom attributes to search.
For example, if a recruiter wishes to use a customAttribute
"customRequisitions" to store the requisition ids of jobs particular to a specific employer, then by setting keywordSearchableJobCustomAttributes
to include this field, a regular search conducted by a recruiter for "ABC123" returns all jobs that have the customAttribute
"customRequisitions" with a value of "ABC123".