v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-132661,4471.5 MB
projects

Creates an EvaluationMetric.

post/v1/{+parent}/evaluationMetrics

Path parameters

parentstring required

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

Query parameters

evaluationMetricIdstring

Optional. The ID to use for the EvaluationMetric, which will become the final component of the EvaluationMetric's resource name. This value should be 1-63 characters, and valid characters are /a-z-/. The first character must be a lowercase letter, and the last character must be a lowercase letter or number.

Request body

namestring

Identifier. The resource name of the EvaluationMetric. Format: projects/{project}/locations/{location}/evaluationMetrics/{evaluation_metric}

descriptionstring

Optional. A description of the EvaluationMetric.

createTimestring google-datetime

Output only. The time when the EvaluationMetric was created.

updateTimestring google-datetime

Output only. The time when the EvaluationMetric was last updated.

displayNamestring

Required. The user-friendly display name for the EvaluationMetric.

labelsobject

Optional. Labels for the evaluation metric.

gcsUristring

Optional. The Google Cloud Storage URI that stores the metric specification..

Response

Successful response