Google Cloud Talent Solution v4 API - Class CompleteQueryRequest (2.2.0)

public sealed class CompleteQueryRequest : IMessage<CompleteQueryRequest>, IEquatable<CompleteQueryRequest>, IDeepCloneable<CompleteQueryRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Talent Solution v4 API class CompleteQueryRequest.

Auto-complete parameters.

Inheritance

Object > CompleteQueryRequest

Namespace

Google.Cloud.Talent.V4

Assembly

Google.Cloud.Talent.V4.dll

Constructors

CompleteQueryRequest()

public CompleteQueryRequest()

CompleteQueryRequest(CompleteQueryRequest)

public CompleteQueryRequest(CompleteQueryRequest other)
Parameter
NameDescription
otherCompleteQueryRequest

Properties

Company

public string Company { get; set; }

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".

Property Value
TypeDescription
String

CompanyAsCompanyName

public CompanyName CompanyAsCompanyName { get; set; }

CompanyName-typed view over the Company resource name property.

Property Value
TypeDescription
CompanyName

LanguageCodes

public RepeatedField<string> LanguageCodes { get; }

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.

Property Value
TypeDescription
RepeatedField<String>

PageSize

public int PageSize { get; set; }

Required. Completion result count.

The maximum allowed page size is 10.

Property Value
TypeDescription
Int32

Query

public string Query { get; set; }

Required. The query used to generate suggestions.

The maximum number of allowed characters is 255.

Property Value
TypeDescription
String

Scope

public CompleteQueryRequest.Types.CompletionScope Scope { get; set; }

The scope of the completion. The defaults is [CompletionScope.PUBLIC][google.cloud.talent.v4.CompleteQueryRequest.CompletionScope.PUBLIC].

Property Value
TypeDescription
CompleteQueryRequest.Types.CompletionScope

Tenant

public string Tenant { get; set; }

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".

Property Value
TypeDescription
String

TenantAsTenantName

public TenantName TenantAsTenantName { get; set; }

TenantName-typed view over the Tenant resource name property.

Property Value
TypeDescription
TenantName

Type

public CompleteQueryRequest.Types.CompletionType Type { get; set; }

The completion topic. The default is [CompletionType.COMBINED][google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMBINED].

Property Value
TypeDescription
CompleteQueryRequest.Types.CompletionType