Class ProjectsResource.LocationsResource.AgentsResource.PlaybooksResource.VersionsResource.RestoreRequest
Retrieves the specified version of the Playbook and stores it as the current playbook draft, returning the playbook with resources updated.
Inheritance
ProjectsResource.LocationsResource.AgentsResource.PlaybooksResource.VersionsResource.RestoreRequest
Implements
Inherited Members
DialogflowBaseServiceRequest<GoogleCloudDialogflowCxV3beta1RestorePlaybookVersionResponse>.QuotaUser
ClientServiceRequest<GoogleCloudDialogflowCxV3beta1RestorePlaybookVersionResponse>.ExecuteAsStream()
Namespace: Google.Apis.Dialogflow.v3beta1
Assembly: Google.Apis.Dialogflow.v3beta1.dll
Syntax
public class ProjectsResource.LocationsResource.AgentsResource.PlaybooksResource.VersionsResource.RestoreRequest : DialogflowBaseServiceRequest<GoogleCloudDialogflowCxV3beta1RestorePlaybookVersionResponse>, IClientServiceRequest<GoogleCloudDialogflowCxV3beta1RestorePlaybookVersionResponse>, IClientServiceRequest
Constructors
RestoreRequest(IClientService, GoogleCloudDialogflowCxV3beta1RestorePlaybookVersionRequest, string)
Constructs a new Restore request.
Declaration
public RestoreRequest(IClientService service, GoogleCloudDialogflowCxV3beta1RestorePlaybookVersionRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleCloudDialogflowCxV3beta1RestorePlaybookVersionRequest | body | |
string | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Name
Required. The name of the playbook version. Format:
projects//locations//agents//playbooks//versions/
.
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Restore parameter list.
Declaration
protected override void InitParameters()