Method: projects.locations.agents.playbooks.versions.restore

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}/v3beta1/{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

string

Required. The name of the playbook version. Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/playbooks/<PlaybookID>/versions/<VersionID>.

Authorization requires the following IAM permission on the specified resource name:

  • dialogflow.playbooks.update

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 (Playbook)
  }
}
Fields
playbook

object (Playbook)

The updated playbook.

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.