Class V2Resource.CompleteRequest
Completes the specified prefix with job keyword suggestions. Intended for use by a job search auto- complete search box.
Inheritance
Inherited Members
Namespace: Google.Apis.CloudTalentSolution.v2
Assembly: Google.Apis.CloudTalentSolution.v2.dll
Syntax
public class CompleteRequest : CloudTalentSolutionBaseServiceRequest<CompleteQueryResponse>, IClientServiceRequest<CompleteQueryResponse>, IClientServiceRequest
Constructors
CompleteRequest(IClientService)
Constructs a new Complete request.
Declaration
public CompleteRequest(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Properties
CompanyName
Optional. If provided, restricts completion to the specified company.
Declaration
[RequestParameter("companyName", RequestParameterType.Query)]
public virtual string CompanyName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
LanguageCode
Required. 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 same language_code are returned. For CompletionType.COMPANY_NAME type, only companies having open jobs with same language_code are returned. For CompletionType.COMBINED type, only open jobs with same language_code or companies having open jobs with same language_code are returned.
Declaration
[RequestParameter("languageCode", RequestParameterType.Query)]
public virtual string LanguageCode { get; set; }
Property Value
Type | Description |
---|---|
System.String |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
System.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 |
---|---|
System.Nullable<System.Int32> |
Query
Required. The query used to generate suggestions.
Declaration
[RequestParameter("query", RequestParameterType.Query)]
public virtual string Query { get; set; }
Property Value
Type | Description |
---|---|
System.String |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Scope
Optional. The scope of the completion. The defaults is CompletionScope.PUBLIC.
Declaration
[RequestParameter("scope", RequestParameterType.Query)]
public virtual V2Resource.CompleteRequest.ScopeEnum? Scope { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<V2Resource.CompleteRequest.ScopeEnum> |
Type
Optional. The completion topic. The default is CompletionType.COMBINED.
Declaration
[RequestParameter("type", RequestParameterType.Query)]
public virtual V2Resource.CompleteRequest.TypeEnum? Type { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<V2Resource.CompleteRequest.TypeEnum> |
Methods
InitParameters()
Initializes Complete parameter list.
Declaration
protected override void InitParameters()