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

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

Request message for VizierService.GetTrial.

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

Methods

build

Parameter
NameDescription
name string

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

Returns
TypeDescription
Google\Cloud\AIPlatform\V1\GetTrialRequest

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Required. The name of the Trial resource. Format: projects/{project}/locations/{location}/studies/{study}/trials/{trial}

getName

Required. The name of the Trial resource.

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

Returns
TypeDescription
string

setName

Required. The name of the Trial resource.

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this