Google Cloud Ai Platform V1 Client - Class ListTrialsRequest (1.9.0)

Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class ListTrialsRequest.

Request message for VizierService.ListTrials.

Generated from protobuf message google.cloud.aiplatform.v1.ListTrialsRequest

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The resource name of the Study to list the Trial from. Format: projects/{project}/locations/{location}/studies/{study}

↳ page_token string

Optional. A page token to request the next page of results. If unspecified, there are no subsequent pages.

↳ page_size int

Optional. The number of Trials to retrieve per "page" of results. If unspecified, the service will pick an appropriate default.

getParent

Required. The resource name of the Study to list the Trial from.

Format: projects/{project}/locations/{location}/studies/{study}

Returns
Type Description
string

setParent

Required. The resource name of the Study to list the Trial from.

Format: projects/{project}/locations/{location}/studies/{study}

Parameter
Name Description
var string
Returns
Type Description
$this

getPageToken

Optional. A page token to request the next page of results.

If unspecified, there are no subsequent pages.

Returns
Type Description
string

setPageToken

Optional. A page token to request the next page of results.

If unspecified, there are no subsequent pages.

Parameter
Name Description
var string
Returns
Type Description
$this

getPageSize

Optional. The number of Trials to retrieve per "page" of results.

If unspecified, the service will pick an appropriate default.

Returns
Type Description
int

setPageSize

Optional. The number of Trials to retrieve per "page" of results.

If unspecified, the service will pick an appropriate default.

Parameter
Name Description
var int
Returns
Type Description
$this

static::build

Parameter
Name Description
parent string

Required. The resource name of the Study to list the Trial from. Format: projects/{project}/locations/{location}/studies/{study} Please see Google\Cloud\AIPlatform\V1\VizierServiceClient::studyName() for help formatting this field.

Returns
Type Description
Google\Cloud\AIPlatform\V1\ListTrialsRequest