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

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 create the Trial in. Format: projects/{project}/locations/{location}/studies/{study}

↳ trial 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
Type Description
string

setParent

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

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

Parameter
Name Description
var string
Returns
Type Description
$this

getTrial

Required. The Trial to create.

Returns
Type Description
Trial|null

hasTrial

clearTrial

setTrial

Required. The Trial to create.

Parameter
Name Description
var Trial
Returns
Type Description
$this

static::build

Parameters
Name Description
parent string

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

trial Trial

Required. The Trial to create.

Returns
Type Description
CreateTrialRequest