Class ProjectsResource.CompleteRequest
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.v3p1beta1
Assembly: Google.Apis.CloudTalentSolution.v3p1beta1.dll
Syntax
public class ProjectsResource.CompleteRequest : CloudTalentSolutionBaseServiceRequest<CompleteQueryResponse>, IClientServiceRequest<CompleteQueryResponse>, IClientServiceRequest
Constructors
CompleteRequest(IClientService, string)
Constructs a new Complete request.
Declaration
public CompleteRequest(IClientService service, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | name |
Properties
CompanyName
Optional. If provided, restricts completion to specified company. The format is "projects/{project_id}/companies/{company_id}", for example, "projects/api-test-project/companies/foo".
Declaration
[RequestParameter("companyName", RequestParameterType.Query)]
public virtual string CompanyName { get; set; }
Property Value
Type | Description |
---|---|
string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
LanguageCode
Deprecated. Use language_codes instead. Optional. The language 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. For CompletionType.JOB_TITLE type, only open jobs with the same language_code are returned. For CompletionType.COMPANY_NAME type, only companies having open jobs with the same language_code are returned. For CompletionType.COMBINED type, only open jobs with the same language_code or companies having open jobs with the same language_code are returned. The maximum number of allowed characters is 255.
Declaration
[RequestParameter("languageCode", RequestParameterType.Query)]
public virtual string LanguageCode { get; set; }
Property Value
Type | Description |
---|---|
string |
LanguageCodes
Optional. 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. For CompletionType.JOB_TITLE type, only open jobs with the same language_codes are returned. For CompletionType.COMPANY_NAME type, only companies having open jobs with the same language_codes are returned. For CompletionType.COMBINED type, only open jobs with the same language_codes or companies having open jobs with the same language_codes are returned. 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
Name
Required. Resource name of project the completion is performed within. The format is "projects/{project_id}", for example, "projects/api-test-project".
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type | Description |
---|---|
string |
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
Optional. The scope of the completion. The defaults is CompletionScope.PUBLIC.
Declaration
[RequestParameter("scope", RequestParameterType.Query)]
public virtual ProjectsResource.CompleteRequest.ScopeEnum? Scope { get; set; }
Property Value
Type | Description |
---|---|
ProjectsResource.CompleteRequest.ScopeEnum? |
Type
Optional. The completion topic. The default is CompletionType.COMBINED.
Declaration
[RequestParameter("type", RequestParameterType.Query)]
public virtual ProjectsResource.CompleteRequest.TypeEnum? Type { get; set; }
Property Value
Type | Description |
---|---|
ProjectsResource.CompleteRequest.TypeEnum? |
Methods
InitParameters()
Initializes Complete parameter list.
Declaration
protected override void InitParameters()