Method: projects.locations.apps.examples.create

Creates a new example in the given app.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The resource name of the app to create an example in.

Query parameters

Parameters
exampleId

string

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

Request body

The request body contains an instance of Example.

Response body

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

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the parent resource:

  • ces.examples.create

For more information, see the IAM documentation.