Google Cloud Ai Platform V1 Client - Class ListTrialsRequest (0.15.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

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
string

setParent

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

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPageToken

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

If unspecified, there are no subsequent pages.

Returns
TypeDescription
string

setPageToken

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

If unspecified, there are no subsequent pages.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPageSize

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

If unspecified, the service will pick an appropriate default.

Returns
TypeDescription
int

setPageSize

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

If unspecified, the service will pick an appropriate default.

Parameter
NameDescription
var int
Returns
TypeDescription
$this