- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
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 |
Required. The resource name of the app to create an example in. |
Query parameters
| Parameters | |
|---|---|
exampleId |
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.