Retrieves the specified version of the Tool and stores it as the current tool draft, returning the tool with resources updated.
HTTP request
POST https://{endpoint}/v3/{name=projects/*/locations/*/agents/*/tools/*/versions/*}:restore
Where {endpoint} is one of the supported service endpoints.
The URLs use gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
| name | 
 Required. The name of the tool version. Format:  Authorization requires the following IAM permission on the specified resource  
 | 
Request body
The request body must be empty.
Response body
The response message for Tools.RestoreToolVersion.
If successful, the response body contains data with the following structure:
| JSON representation | 
|---|
| {
  "tool": {
    object ( | 
| Fields | |
|---|---|
| tool | 
 The updated tool. | 
Authorization scopes
Requires one of the following OAuth scopes:
- https://www.googleapis.com/auth/cloud-platform
- https://www.googleapis.com/auth/dialogflow
For more information, see the Authentication Overview.