/// <summary>Snippet for CreateTrainingPipelineAsync</summary>
        public async Task CreateTrainingPipelineAsync()
        {
            // Snippet: CreateTrainingPipelineAsync(string, TrainingPipeline, CallSettings)
            // Additional: CreateTrainingPipelineAsync(string, TrainingPipeline, CancellationToken)
            // Create client
            PipelineServiceClient pipelineServiceClient = await PipelineServiceClient.CreateAsync();

            // Initialize request argument(s)
            string           parent           = "projects/[PROJECT]/locations/[LOCATION]";
            TrainingPipeline trainingPipeline = new TrainingPipeline();
            // Make the request
            TrainingPipeline response = await pipelineServiceClient.CreateTrainingPipelineAsync(parent, trainingPipeline);

            // End snippet
        }
        /// <summary>Snippet for CreateTrainingPipelineAsync</summary>
        public async Task CreateTrainingPipelineResourceNamesAsync()
        {
            // Snippet: CreateTrainingPipelineAsync(LocationName, TrainingPipeline, CallSettings)
            // Additional: CreateTrainingPipelineAsync(LocationName, TrainingPipeline, CancellationToken)
            // Create client
            PipelineServiceClient pipelineServiceClient = await PipelineServiceClient.CreateAsync();

            // Initialize request argument(s)
            LocationName     parent           = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
            TrainingPipeline trainingPipeline = new TrainingPipeline();
            // Make the request
            TrainingPipeline response = await pipelineServiceClient.CreateTrainingPipelineAsync(parent, trainingPipeline);

            // End snippet
        }
        /// <summary>Snippet for CreateTrainingPipelineAsync</summary>
        public async Task CreateTrainingPipelineRequestObjectAsync()
        {
            // Snippet: CreateTrainingPipelineAsync(CreateTrainingPipelineRequest, CallSettings)
            // Additional: CreateTrainingPipelineAsync(CreateTrainingPipelineRequest, CancellationToken)
            // Create client
            PipelineServiceClient pipelineServiceClient = await PipelineServiceClient.CreateAsync();

            // Initialize request argument(s)
            CreateTrainingPipelineRequest request = new CreateTrainingPipelineRequest
            {
                ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
                TrainingPipeline     = new TrainingPipeline(),
            };
            // Make the request
            TrainingPipeline response = await pipelineServiceClient.CreateTrainingPipelineAsync(request);

            // End snippet
        }