public sealed class CompleteQueryRequest : IMessage<CompleteQueryRequest>, IEquatable<CompleteQueryRequest>, IDeepCloneable<CompleteQueryRequest>, IBufferMessage, IMessage
Auto-complete parameters.
Implements
IMessage<CompleteQueryRequest>, IEquatable<CompleteQueryRequest>, IDeepCloneable<CompleteQueryRequest>, IBufferMessage, IMessageNamespace
Google.Cloud.Talent.V4Beta1Assembly
Google.Cloud.Talent.V4Beta1.dll
Constructors
CompleteQueryRequest()
public CompleteQueryRequest()
CompleteQueryRequest(CompleteQueryRequest)
public CompleteQueryRequest(CompleteQueryRequest other)
Parameter | |
---|---|
Name | Description |
other | CompleteQueryRequest |
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".
If tenant id is unspecified, the default tenant is used, for example, "projects/foo".
Property Value | |
---|---|
Type | Description |
String |
CompanyAsCompanyName
public CompanyName CompanyAsCompanyName { get; set; }
CompanyName-typed view over the Company resource name property.
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
RepeatedField<String> |
PageSize
public int PageSize { get; set; }
Required. Completion result count.
The maximum allowed page size is 10.
Property Value | |
---|---|
Type | Description |
Int32 |
Parent
public string Parent { 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/tenant/bar".
If tenant id is unspecified, the default tenant is used, for example, "projects/foo".
Property Value | |
---|---|
Type | Description |
String |
ParentAsProjectName
public ProjectName ParentAsProjectName { get; set; }
ProjectName-typed view over the Parent resource name property.
Property Value | |
---|---|
Type | Description |
ProjectName |
ParentAsResourceName
public IResourceName ParentAsResourceName { get; set; }
IResourceName-typed view over the Parent resource name property.
Property Value | |
---|---|
Type | Description |
IResourceName |
ParentAsTenantName
public TenantName ParentAsTenantName { get; set; }
TenantName-typed view over the Parent resource name property.
Property Value | |
---|---|
Type | Description |
TenantName |
Query
public string Query { get; set; }
Required. The query used to generate suggestions.
The maximum number of allowed characters is 255.
Property Value | |
---|---|
Type | Description |
String |
Scope
public CompleteQueryRequest.Types.CompletionScope Scope { get; set; }
The scope of the completion. The defaults is [CompletionScope.PUBLIC][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope.PUBLIC].
Property Value | |
---|---|
Type | Description |
CompleteQueryRequest.Types.CompletionScope |
Type
public CompleteQueryRequest.Types.CompletionType Type { get; set; }
The completion topic. The default is [CompletionType.COMBINED][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMBINED].
Property Value | |
---|---|
Type | Description |
CompleteQueryRequest.Types.CompletionType |