projects

POST /v1/projects/{projectsId}/locations/{locationsId}/evaluationMetrics

Creates an EvaluationMetric.

Request

  • Base URL
    https://aiplatform.googleapis.com
  • Auth
    OAuth 2 and OAuth 2
    Implicit: https://accounts.google.com/o/oauth2/auth
    Scopes: https://www.googleapis.com/auth/cloud-platform
    Authorization code: https://accounts.google.com/o/oauth2/auth
    Token URL: https://accounts.google.com/o/oauth2/token scopes: https://www.googleapis.com/auth/cloud-platform

Path parameters

projectsIdstring required
locationsIdstring required

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

createTimestring google-datetime

Output only. The time when the EvaluationMetric was created.

descriptionstring

Optional. A description of the EvaluationMetric.

displayNamestring

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

gcsUristring

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

labelsobject

Optional. Labels for the evaluation metric.

namestring

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

updateTimestring google-datetime

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

Response

Successful response

createTimestring google-datetime

Output only. The time when the EvaluationMetric was created.

descriptionstring

Optional. A description of the EvaluationMetric.

displayNamestring

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

gcsUristring

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

labelsobject

Optional. Labels for the evaluation metric.

namestring

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

updateTimestring google-datetime

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

Changes

No recorded changes to this operation across all 8 revisions of this API.