Cloud AutoML V1beta1 Client - Class ListDatasetsRequest (1.4.17)

Reference documentation and code samples for the Cloud AutoML V1beta1 Client class ListDatasetsRequest.

Request message for AutoMl.ListDatasets.

Generated from protobuf message google.cloud.automl.v1beta1.ListDatasetsRequest

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The resource name of the project from which to list datasets.

↳ filter string

An expression for filtering the results of the request. * dataset_metadata - for existence of the case (e.g. image_classification_dataset_metadata:*). Some examples of using the filter are: * translation_dataset_metadata:* --> The dataset has translation_dataset_metadata.

↳ page_size int

Requested page size. Server may return fewer results than requested. If unspecified, server will pick a default size.

↳ page_token string

A token identifying a page of results for the server to return Typically obtained via ListDatasetsResponse.next_page_token of the previous AutoMl.ListDatasets call.

getParent

Required. The resource name of the project from which to list datasets.

Returns
TypeDescription
string

setParent

Required. The resource name of the project from which to list datasets.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getFilter

An expression for filtering the results of the request.

  • dataset_metadata - for existence of the case (e.g. image_classification_dataset_metadata:*). Some examples of using the filter are:
    • translation_dataset_metadata:* --> The dataset has translation_dataset_metadata.
Returns
TypeDescription
string

setFilter

An expression for filtering the results of the request.

  • dataset_metadata - for existence of the case (e.g. image_classification_dataset_metadata:*). Some examples of using the filter are:
    • translation_dataset_metadata:* --> The dataset has translation_dataset_metadata.
Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPageSize

Requested page size. Server may return fewer results than requested.

If unspecified, server will pick a default size.

Returns
TypeDescription
int

setPageSize

Requested page size. Server may return fewer results than requested.

If unspecified, server will pick a default size.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getPageToken

A token identifying a page of results for the server to return Typically obtained via ListDatasetsResponse.next_page_token of the previous AutoMl.ListDatasets call.

Returns
TypeDescription
string

setPageToken

A token identifying a page of results for the server to return Typically obtained via ListDatasetsResponse.next_page_token of the previous AutoMl.ListDatasets call.

Parameter
NameDescription
var string
Returns
TypeDescription
$this