Google Cloud Talent Solution V4 Client - Class ListCompaniesResponse (2.3.0)

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

The List companies response object.

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

Namespace

Google \ Cloud \ Talent \ V4

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ companies array<Company>

Companies for the current client.

↳ next_page_token string

A token to retrieve the next page of results.

↳ metadata ResponseMetadata

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

getCompanies

Companies for the current client.

Returns
Type Description
Google\Protobuf\RepeatedField<Company>

setCompanies

Companies for the current client.

Parameter
Name Description
var array<Company>
Returns
Type Description
$this

getNextPageToken

A token to retrieve the next page of results.

Returns
Type Description
string

setNextPageToken

A token to retrieve the next page of results.

Parameter
Name Description
var string
Returns
Type Description
$this

getMetadata

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

Returns
Type Description
ResponseMetadata|null

hasMetadata

clearMetadata

setMetadata

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

Parameter
Name Description
var ResponseMetadata
Returns
Type Description
$this