Method: projects.locations.studies.trials.addMeasurement

Adds a measurement of the objective metrics to a trial. This measurement is assumed to have been taken before the trial is complete.

HTTP request

POST https://us-central1-ml.googleapis.com/v1/{name=projects/*/locations/*/studies/*/trials/*}:addMeasurement

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The trial name.

Request body

The request body contains data with the following structure:

JSON representation
{
  "measurement": {
    object (Measurement)
  }
}
Fields
measurement

object (Measurement)

Required. The measurement to be added to a trial.

Response body

If successful, the response body contains an instance of Trial.

Authorization Scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.