Class SearchJobsRequest
Input only. The Request body of the SearchJobs
call.
Inheritance
Implements
Inherited Members
Namespace: Google.Apis.CloudTalentSolution.v2.Data
Assembly: Google.Apis.CloudTalentSolution.v2.dll
Syntax
public class SearchJobsRequest : IDirectResponseSchema
Properties
DisableRelevanceThresholding
Optional. Controls whether to disable relevance thresholding. Relevance thresholding removes jobs that have low relevance in search results, for example, removing "Assistant to the CEO" positions from the search results of a search for "CEO". Disabling relevance thresholding improves the accuracy of subsequent search requests. Defaults to false.
Declaration
[JsonProperty("disableRelevanceThresholding")]
public virtual bool? DisableRelevanceThresholding { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |
EnableBroadening
Optional. Controls whether to broaden the search when it produces sparse results. Broadened queries append results to the end of the matching results list. Defaults to false.
Declaration
[JsonProperty("enableBroadening")]
public virtual bool? EnableBroadening { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |
EnablePreciseResultSize
Optional. Controls if the search job request requires the return of a precise count of the first
300 results. Setting this to true
ensures consistency in the number of results per page. Best practice is
to set this value to true if a client allows users to jump directly to a non-sequential search results page.
Enabling this flag may adversely impact performance. Defaults to false.
Declaration
[JsonProperty("enablePreciseResultSize")]
public virtual bool? EnablePreciseResultSize { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Filters
Deprecated. Use query instead. Optional. Restrictions on the scope of the search request, such as filtering by location.
Declaration
[JsonProperty("filters")]
public virtual JobFilters Filters { get; set; }
Property Value
Type | Description |
---|---|
JobFilters |
HistogramFacets
Optional. Restrictions on what fields to perform histogram on, such as COMPANY_SIZE
etc.
Declaration
[JsonProperty("histogramFacets")]
public virtual HistogramFacets HistogramFacets { get; set; }
Property Value
Type | Description |
---|---|
HistogramFacets |
JobView
Optional. The number of job attributes returned for jobs in the search response. Defaults to JobView.SMALL if no value is specified.
Declaration
[JsonProperty("jobView")]
public virtual string JobView { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Mode
Required. Mode of a search.
Declaration
[JsonProperty("mode")]
public virtual string Mode { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Offset
Optional. An integer that specifies the current offset (that is, starting result location, amongst the jobs deemed by the API as relevant) in search results. This field is only considered if page_token is unset. For example, 0 means to return results starting from the first matching job, and 10 means to return from the 11th job. This can be used for pagination, (for example, pageSize = 10 and offset = 10 means to return from the second page).
Declaration
[JsonProperty("offset")]
public virtual int? Offset { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
OrderBy
Deprecated. Use sort_by instead. Optional. The criteria determining how search results are sorted. Defaults to SortBy.RELEVANCE_DESC if no value is specified.
Declaration
[JsonProperty("orderBy")]
public virtual string OrderBy { get; set; }
Property Value
Type | Description |
---|---|
System.String |
PageSize
Optional. A limit on the number of jobs returned in the search results. Increasing this value above the default value of 10 can increase search response time. The value can be between 1 and 100.
Declaration
[JsonProperty("pageSize")]
public virtual int? PageSize { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
PageToken
Optional. The token specifying the current offset within search results. See SearchJobsResponse.next_page_token for an explanation of how to obtain the next set of query results.
Declaration
[JsonProperty("pageToken")]
public virtual string PageToken { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Query
Optional. Query used to search against jobs, such as keyword, location filters, etc.
Declaration
[JsonProperty("query")]
public virtual JobQuery Query { get; set; }
Property Value
Type | Description |
---|---|
JobQuery |
RequestMetadata
Required. The meta information collected about the job searcher, used to improve the search quality
of the service. The identifiers, (such as user_id
) are provided by users, and must be unique and
consistent.
Declaration
[JsonProperty("requestMetadata")]
public virtual RequestMetadata RequestMetadata { get; set; }
Property Value
Type | Description |
---|---|
RequestMetadata |
SortBy
Optional. The criteria determining how search results are sorted. Defaults to SortBy.RELEVANCE_DESC if no value is specified.
Declaration
[JsonProperty("sortBy")]
public virtual string SortBy { get; set; }
Property Value
Type | Description |
---|---|
System.String |