Cloud Translation V3 Client - Class ListGlossariesResponse (1.18.1)

Reference documentation and code samples for the Cloud Translation V3 Client class ListGlossariesResponse.

Response message for ListGlossaries.

Generated from protobuf message google.cloud.translation.v3.ListGlossariesResponse

Namespace

Google \ Cloud \ Translate \ V3

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ glossaries array<Google\Cloud\Translate\V3\Glossary>

The list of glossaries for a project.

↳ next_page_token string

A token to retrieve a page of results. Pass this value in the [ListGlossariesRequest.page_token] field in the subsequent call to ListGlossaries method to retrieve the next page of results.

getGlossaries

The list of glossaries for a project.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setGlossaries

The list of glossaries for a project.

Parameter
Name Description
var array<Google\Cloud\Translate\V3\Glossary>
Returns
Type Description
$this

getNextPageToken

A token to retrieve a page of results. Pass this value in the [ListGlossariesRequest.page_token] field in the subsequent call to ListGlossaries method to retrieve the next page of results.

Returns
Type Description
string

setNextPageToken

A token to retrieve a page of results. Pass this value in the [ListGlossariesRequest.page_token] field in the subsequent call to ListGlossaries method to retrieve the next page of results.

Parameter
Name Description
var string
Returns
Type Description
$this