Retrieves the specified version of the Playbook and stores it as the current playbook draft, returning the playbook with resources updated.
HTTP request
POST https://{endpoint}/v3/{name=projects/*/locations/*/agents/*/playbooks/*/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 playbook 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 Playbooks.RestorePlaybookVersion.
If successful, the response body contains data with the following structure:
| JSON representation |
|---|
{
"playbook": {
object ( |
| Fields | |
|---|---|
playbook |
The updated playbook. |
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/cloud-platformhttps://www.googleapis.com/auth/dialogflow
For more information, see the Authentication Overview.