Google Cloud Ai Platform V1 Client - Class CreateTrainingPipelineRequest (0.16.0)

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

Request message for PipelineService.CreateTrainingPipeline.

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

Methods

build

Parameters
NameDescription
parent string

Required. The resource name of the Location to create the TrainingPipeline in. Format: projects/{project}/locations/{location} Please see {@see \Google\Cloud\AIPlatform\V1\PipelineServiceClient::locationName()} for help formatting this field.

trainingPipeline Google\Cloud\AIPlatform\V1\TrainingPipeline

Required. The TrainingPipeline to create.

Returns
TypeDescription
Google\Cloud\AIPlatform\V1\CreateTrainingPipelineRequest

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The resource name of the Location to create the TrainingPipeline in. Format: projects/{project}/locations/{location}

↳ training_pipeline Google\Cloud\AIPlatform\V1\TrainingPipeline

Required. The TrainingPipeline to create.

getParent

Required. The resource name of the Location to create the TrainingPipeline in. Format: projects/{project}/locations/{location}

Returns
TypeDescription
string

setParent

Required. The resource name of the Location to create the TrainingPipeline in. Format: projects/{project}/locations/{location}

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getTrainingPipeline

Required. The TrainingPipeline to create.

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

hasTrainingPipeline

clearTrainingPipeline

setTrainingPipeline

Required. The TrainingPipeline to create.

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