Google Cloud Ai Platform V1 Client - Class CreateTrialRequest (0.17.0)

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

Request message for VizierService.CreateTrial.

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

Methods

build

Parameters
NameDescription
parent string

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

trial Google\Cloud\AIPlatform\V1\Trial

Required. The Trial to create.

Returns
TypeDescription
Google\Cloud\AIPlatform\V1\CreateTrialRequest

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

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

↳ trial Google\Cloud\AIPlatform\V1\Trial

Required. The Trial to create.

getParent

Required. The resource name of the Study to create the Trial in.

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

Returns
TypeDescription
string

setParent

Required. The resource name of the Study to create the Trial in.

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getTrial

Required. The Trial to create.

Returns
TypeDescription
Google\Cloud\AIPlatform\V1\Trial|null

hasTrial

clearTrial

setTrial

Required. The Trial to create.

Parameter
NameDescription
var Google\Cloud\AIPlatform\V1\Trial
Returns
TypeDescription
$this