Method: projects.locations.apps.agents.create

Creates a new agent in the given app.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

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

Query parameters

Parameters
agentId

string

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

Request body

The request body contains an instance of Agent.

Response body

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

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

For more information, see the IAM documentation.