Cloud Translation V3 Client - Class ListGlossaryEntriesRequest (1.18.1)

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

Request message for ListGlossaryEntries

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

Namespace

Google \ Cloud \ Translate \ V3

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The parent glossary resource name for listing the glossary's entries.

↳ page_size int

Optional. Requested page size. The server may return fewer glossary entries than requested. If unspecified, the server picks an appropriate default.

↳ page_token string

Optional. A token identifying a page of results the server should return. Typically, this is the value of [ListGlossaryEntriesResponse.next_page_token] returned from the previous call. The first page is returned if page_tokenis empty or missing.

getParent

Required. The parent glossary resource name for listing the glossary's entries.

Returns
Type Description
string

setParent

Required. The parent glossary resource name for listing the glossary's entries.

Parameter
Name Description
var string
Returns
Type Description
$this

getPageSize

Optional. Requested page size. The server may return fewer glossary entries than requested. If unspecified, the server picks an appropriate default.

Returns
Type Description
int

setPageSize

Optional. Requested page size. The server may return fewer glossary entries than requested. If unspecified, the server picks an appropriate default.

Parameter
Name Description
var int
Returns
Type Description
$this

getPageToken

Optional. A token identifying a page of results the server should return.

Typically, this is the value of [ListGlossaryEntriesResponse.next_page_token] returned from the previous call. The first page is returned if page_tokenis empty or missing.

Returns
Type Description
string

setPageToken

Optional. A token identifying a page of results the server should return.

Typically, this is the value of [ListGlossaryEntriesResponse.next_page_token] returned from the previous call. The first page is returned if page_tokenis empty or missing.

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
parent string

Required. The parent glossary resource name for listing the glossary's entries. Please see Google\Cloud\Translate\V3\TranslationServiceClient::glossaryName() for help formatting this field.

Returns
Type Description
Google\Cloud\Translate\V3\ListGlossaryEntriesRequest