Method: projects.locations.brands.evaluationContexts.create

Creates an EvaluationContext.

HTTP request

POST https://foodorderingaiagent.googleapis.com/v1/{parent=projects/*/locations/*/brands/*}/evaluationContexts

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The parent brand, which owns this collection of evaluation contexts. Format: projects/{project}/locations/{location}/brands/{brand}

Query parameters

Parameters
evaluationContextId

string

Optional. The ID to use for the evaluation context, which will become the final component of the evaluation context's resource name.

This value should only contain lower-case letters, numbers, and hyphen, with the first and last character a letter or a number, and a 63 character maximum.

Request body

The request body contains an instance of EvaluationContext.

Response body

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

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.