Method: projects.locations.apps.tools.create

Creates a new tool in the given app.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The resource name of the app to create a tool in.

Query parameters

Parameters
toolId

string

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

Request body

The request body contains an instance of Tool.

Response body

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

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.tools.create

For more information, see the IAM documentation.