Skip to main content

trials_measurement

Creates, updates, deletes, gets or lists a trials_measurement resource.

Overview

Nametrials_measurement
TypeResource
Idgoogle.ml.trials_measurement

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
projects_locations_studies_trials_add_measurementinsertprojectsId, locationsId, studiesId, trialsIdAdds a measurement of the objective metrics to a trial. This measurement is assumed to have been taken before the trial is complete.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
locationsIdstring
projectsIdstring
studiesIdstring
trialsIdstring

INSERT examples

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

INSERT INTO google.ml.trials_measurement (
data__measurement,
projectsId,
locationsId,
studiesId,
trialsId
)
SELECT
'{{ measurement }}',
'{{ projectsId }}',
'{{ locationsId }}',
'{{ studiesId }}',
'{{ trialsId }}'
RETURNING
name,
clientId,
endTime,
finalMeasurement,
infeasibleReason,
measurements,
parameters,
startTime,
state,
trialInfeasible
;