Class ProjectsResource.TenantsResource.CompleteQueryRequest
Completes the specified prefix with keyword suggestions. Intended for use by a job search auto-complete search box.
Inheritance
Inherited Members
Namespace: Google.Apis.CloudTalentSolution.v4
Assembly: Google.Apis.CloudTalentSolution.v4.dll
Syntax
public class ProjectsResource.TenantsResource.CompleteQueryRequest : CloudTalentSolutionBaseServiceRequest<CompleteQueryResponse>, IClientServiceRequest<CompleteQueryResponse>, IClientServiceRequest
Constructors
CompleteQueryRequest(IClientService, string)
Constructs a new CompleteQuery request.
Declaration
public CompleteQueryRequest(IClientService service, string tenant)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | tenant |
Properties
Company
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".
Declaration
[RequestParameter("company", RequestParameterType.Query)]
public virtual string Company { get; set; }
Property Value
Type | Description |
---|---|
string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
LanguageCodes
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.
Declaration
[RequestParameter("languageCodes", RequestParameterType.Query)]
public virtual Repeatable<string> LanguageCodes { get; set; }
Property Value
Type | Description |
---|---|
Repeatable<string> |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
PageSize
Required. Completion result count. The maximum allowed page size is 10.
Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
Type | Description |
---|---|
int? |
Query
Required. The query used to generate suggestions. The maximum number of allowed characters is 255.
Declaration
[RequestParameter("query", RequestParameterType.Query)]
public virtual string Query { get; set; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Scope
The scope of the completion. The defaults is CompletionScope.PUBLIC.
Declaration
[RequestParameter("scope", RequestParameterType.Query)]
public virtual ProjectsResource.TenantsResource.CompleteQueryRequest.ScopeEnum? Scope { get; set; }
Property Value
Type | Description |
---|---|
ProjectsResource.TenantsResource.CompleteQueryRequest.ScopeEnum? |
Tenant
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".
Declaration
[RequestParameter("tenant", RequestParameterType.Path)]
public virtual string Tenant { get; }
Property Value
Type | Description |
---|---|
string |
Type
The completion topic. The default is CompletionType.COMBINED.
Declaration
[RequestParameter("type", RequestParameterType.Query)]
public virtual ProjectsResource.TenantsResource.CompleteQueryRequest.TypeEnum? Type { get; set; }
Property Value
Type | Description |
---|---|
ProjectsResource.TenantsResource.CompleteQueryRequest.TypeEnum? |
Methods
InitParameters()
Initializes CompleteQuery parameter list.
Declaration
protected override void InitParameters()