Deploys an Agent.
HTTP request
POST https://discoveryengine.googleapis.com/v1alpha/{name=projects/*/locations/*/collections/*/engines/*/agents/*}:deploy
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
name | 
                
                   
 Required. Resource name of   | 
              
Request body
The request body contains data with the following structure:
| JSON representation | 
|---|
{ "force": boolean }  | 
                
| Fields | |
|---|---|
force | 
                  
                     
 Optional. If true, force to redeploy the deployed agent.  | 
                
Response body
If successful, the response body contains an instance of Operation.
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/cloud-platformhttps://www.googleapis.com/auth/discoveryengine.readwritehttps://www.googleapis.com/auth/discoveryengine.assist.readwrite
For more information, see the Authentication Overview.