Google Cloud Talent Solution V4 Client - Class CompletionResult (1.2.2)

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

Namespace

Google \ Cloud \ Talent \ V4 \ CompleteQueryResponse

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
string

setSuggestion

The suggestion for the query.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getType

The completion topic.

Returns
TypeDescription
int

setType

The completion topic.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getImageUri

The URI of the company image for COMPANY_NAME.

Returns
TypeDescription
string

setImageUri

The URI of the company image for COMPANY_NAME.

Parameter
NameDescription
var string
Returns
TypeDescription
$this