Reference documentation and code samples for the Google Cloud Talent Solution V4 Client class CompleteQueryRequest.
Auto-complete parameters.
Generated from protobuf message google.cloud.talent.v4.CompleteQueryRequest
Namespace
Google \ Cloud \ Talent \ V4Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ tenant
string
Required. Resource name of tenant the completion is performed within. The format is "projects/{project_id}/tenants/{tenant_id}", for example, "projects/foo/tenants/bar".
↳ query
string
Required. The query used to generate suggestions. The maximum number of allowed characters is 255.
↳ language_codes
array
The list of languages of the query. This is the BCP-47 language code, such as "en-US" or "sr-Latn". For more information, see Tags for Identifying Languages . The maximum number of allowed characters is 255.
↳ page_size
int
Required. Completion result count. The maximum allowed page size is 10.
↳ company
string
If provided, restricts completion to specified company. The format is "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for example, "projects/foo/tenants/bar/companies/baz".
↳ scope
int
The scope of the completion. The defaults is CompletionScope.PUBLIC .
↳ type
getTenant
Required. Resource name of tenant the completion is performed within.
The format is "projects/{project_id}/tenants/{tenant_id}", for example, "projects/foo/tenants/bar".
string
setTenant
Required. Resource name of tenant the completion is performed within.
The format is "projects/{project_id}/tenants/{tenant_id}", for example, "projects/foo/tenants/bar".
var
string
$this
getQuery
Required. The query used to generate suggestions.
The maximum number of allowed characters is 255.
string
setQuery
Required. The query used to generate suggestions.
The maximum number of allowed characters is 255.
var
string
$this
getLanguageCodes
The list of languages of the query. This is the BCP-47 language code, such as "en-US" or "sr-Latn".
For more information, see Tags for Identifying Languages . The maximum number of allowed characters is 255.
setLanguageCodes
The list of languages of the query. This is the BCP-47 language code, such as "en-US" or "sr-Latn".
For more information, see Tags for Identifying Languages . The maximum number of allowed characters is 255.
var
string[]
$this
getPageSize
Required. Completion result count.
The maximum allowed page size is 10.
int
setPageSize
Required. Completion result count.
The maximum allowed page size is 10.
var
int
$this
getCompany
If provided, restricts completion to specified company.
The format is "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for example, "projects/foo/tenants/bar/companies/baz".
string
setCompany
If provided, restricts completion to specified company.
The format is "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for example, "projects/foo/tenants/bar/companies/baz".
var
string
$this
getScope
The scope of the completion. The defaults is CompletionScope.PUBLIC .
setScope
The scope of the completion. The defaults is CompletionScope.PUBLIC .
$this
getType
The completion topic. The default is CompletionType.COMBINED .
setType
The completion topic. The default is CompletionType.COMBINED .
$this

