Method: projects.locations.studies.trials.create

Adds a user provided trial to a study.

HTTP request

POST https://{endpoint}/v1/{parent=projects/*/locations/*/studies/*}/trials

Where {endpoint} is one of the supported service endpoints.

The URLs use gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The name of the study that the trial belongs to.

Request body

The request body contains an instance of Trial.

Response body

If successful, the response body contains a newly created instance of Trial.

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.