Method: projects.locations.apps.evaluationExpectations.create

Creates an evaluation expectation.

HTTP request

POST https://ces.googleapis.com/v1beta/{parent=projects/*/locations/*/apps/*}/evaluationExpectations

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The app to create the evaluation expectation for. Format: projects/{project}/locations/{location}/apps/{app}

Query parameters

Parameters
evaluationExpectationId

string

Optional. The ID to use for the evaluation expectation, which will become the final component of the evaluation expectation's resource name. If not provided, a unique ID will be automatically assigned for the evaluation expectation.

Request body

The request body contains an instance of EvaluationExpectation.

Response body

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

Authorization scopes

Requires one of the following OAuth scopes:

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

For more information, see the Authentication Overview.