Reference documentation and code samples for the Google Cloud Talent Solution V4 Client class CompletionResult.
Resource that represents completion results.
Generated from protobuf message google.cloud.talent.v4.CompleteQueryResponse.CompletionResult
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ suggestion |
string
The suggestion for the query. |
↳ type |
int
The completion topic. |
↳ image_uri |
string
The URI of the company image for COMPANY_NAME. |
getSuggestion
The suggestion for the query.
Returns | |
---|---|
Type | Description |
string |
setSuggestion
The suggestion for the query.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getType
The completion topic.
Returns | |
---|---|
Type | Description |
int |
setType
The completion topic.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getImageUri
The URI of the company image for COMPANY_NAME.
Returns | |
---|---|
Type | Description |
string |
setImageUri
The URI of the company image for COMPANY_NAME.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |