Cloud Translation V3 Client - Class ListGlossariesResponse (1.14.3)

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
NameDescription
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
TypeDescription
Google\Protobuf\Internal\RepeatedField

setGlossaries

The list of glossaries for a project.

Parameter
NameDescription
var array<Google\Cloud\Translate\V3\Glossary>
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this