Reference documentation and code samples for the Cloud Translation V3 Client class ListModelsRequest.
Request message for ListModels.
Generated from protobuf message google.cloud.translation.v3.ListModelsRequest
Namespace
Google \ Cloud \ Translate \ V3Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ parent
string
Required. Name of the parent project. In form of projects/{project-number-or-id}/locations/{location-id}
↳ filter
string
Optional. An expression for filtering the models that will be returned. Supported filter: dataset_id=${dataset_id}
↳ page_size
int
Optional. Requested page size. The server can return fewer results than requested.
↳ page_token
string
Optional. A token identifying a page of results for the server to return. Typically obtained from next_page_token field in the response of a ListModels call.
getParent
Required. Name of the parent project. In form of projects/{project-number-or-id}/locations/{location-id}
string
setParent
Required. Name of the parent project. In form of projects/{project-number-or-id}/locations/{location-id}
var
string
$this
getFilter
Optional. An expression for filtering the models that will be returned.
Supported filter: dataset_id=${dataset_id}
string
setFilter
Optional. An expression for filtering the models that will be returned.
Supported filter: dataset_id=${dataset_id}
var
string
$this
getPageSize
Optional. Requested page size. The server can return fewer results than requested.
int
setPageSize
Optional. Requested page size. The server can return fewer results than requested.
var
int
$this
getPageToken
Optional. A token identifying a page of results for the server to return.
Typically obtained from next_page_token field in the response of a ListModels call.
string
setPageToken
Optional. A token identifying a page of results for the server to return.
Typically obtained from next_page_token field in the response of a ListModels call.
var
string
$this
static::build
parent
string
Required. Name of the parent project. In form of projects/{project-number-or-id}/locations/{location-id}
Please see TranslationServiceClient::locationName()
for help formatting this field.