Google Cloud Talent Solution V4 Client - Class CompleteQueryResponse (1.0.5)

Reference documentation and code samples for the Google Cloud Talent Solution V4 Client class CompleteQueryResponse.

Response of auto-complete query.

Generated from protobuf message google.cloud.talent.v4.CompleteQueryResponse

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ completion_results array<Google\Cloud\Talent\V4\CompleteQueryResponse\CompletionResult>

Results of the matching job/company candidates.

↳ metadata Google\Cloud\Talent\V4\ResponseMetadata

Additional information for the API invocation, such as the request tracking id.

getCompletionResults

Results of the matching job/company candidates.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setCompletionResults

Results of the matching job/company candidates.

Parameter
NameDescription
var array<Google\Cloud\Talent\V4\CompleteQueryResponse\CompletionResult>
Returns
TypeDescription
$this

getMetadata

Additional information for the API invocation, such as the request tracking id.

Returns
TypeDescription
Google\Cloud\Talent\V4\ResponseMetadata|null

hasMetadata

clearMetadata

setMetadata

Additional information for the API invocation, such as the request tracking id.

Parameter
NameDescription
var Google\Cloud\Talent\V4\ResponseMetadata
Returns
TypeDescription
$this