Reference documentation and code samples for the Cloud Talent Solution V4 API class Google::Cloud::Talent::V4::CompleteQueryRequest.
Auto-complete parameters.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#company
def company() -> ::String
-
(::String) — 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".
#company=
def company=(value) -> ::String
-
value (::String) — 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".
-
(::String) — 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".
#language_codes
def language_codes() -> ::Array<::String>
-
(::Array<::String>) — 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.
#language_codes=
def language_codes=(value) -> ::Array<::String>
-
value (::Array<::String>) — 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.
-
(::Array<::String>) — 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.
#page_size
def page_size() -> ::Integer
-
(::Integer) — Required. Completion result count.
The maximum allowed page size is 10.
#page_size=
def page_size=(value) -> ::Integer
-
value (::Integer) — Required. Completion result count.
The maximum allowed page size is 10.
-
(::Integer) — Required. Completion result count.
The maximum allowed page size is 10.
#query
def query() -> ::String
-
(::String) — Required. The query used to generate suggestions.
The maximum number of allowed characters is 255.
#query=
def query=(value) -> ::String
-
value (::String) — Required. The query used to generate suggestions.
The maximum number of allowed characters is 255.
-
(::String) — Required. The query used to generate suggestions.
The maximum number of allowed characters is 255.
#scope
def scope() -> ::Google::Cloud::Talent::V4::CompleteQueryRequest::CompletionScope
- (::Google::Cloud::Talent::V4::CompleteQueryRequest::CompletionScope) — The scope of the completion. The defaults is CompletionScope.PUBLIC.
#scope=
def scope=(value) -> ::Google::Cloud::Talent::V4::CompleteQueryRequest::CompletionScope
- value (::Google::Cloud::Talent::V4::CompleteQueryRequest::CompletionScope) — The scope of the completion. The defaults is CompletionScope.PUBLIC.
- (::Google::Cloud::Talent::V4::CompleteQueryRequest::CompletionScope) — The scope of the completion. The defaults is CompletionScope.PUBLIC.
#tenant
def tenant() -> ::String
-
(::String) — 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".
#tenant=
def tenant=(value) -> ::String
-
value (::String) — 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".
-
(::String) — 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".
#type
def type() -> ::Google::Cloud::Talent::V4::CompleteQueryRequest::CompletionType
- (::Google::Cloud::Talent::V4::CompleteQueryRequest::CompletionType) — The completion topic. The default is CompletionType.COMBINED.
#type=
def type=(value) -> ::Google::Cloud::Talent::V4::CompleteQueryRequest::CompletionType
- value (::Google::Cloud::Talent::V4::CompleteQueryRequest::CompletionType) — The completion topic. The default is CompletionType.COMBINED.
- (::Google::Cloud::Talent::V4::CompleteQueryRequest::CompletionType) — The completion topic. The default is CompletionType.COMBINED.