Class ProjectsResource.LocationsResource.AgentsResource.ToolsResource.VersionsResource.RestoreRequest
Retrieves the specified version of the Tool and stores it as the current tool draft, returning the tool with resources updated.
Inheritance
ProjectsResource.LocationsResource.AgentsResource.ToolsResource.VersionsResource.RestoreRequest
Implements
Inherited Members
Namespace: Google.Apis.Dialogflow.v3beta1
Assembly: Google.Apis.Dialogflow.v3beta1.dll
Syntax
public class ProjectsResource.LocationsResource.AgentsResource.ToolsResource.VersionsResource.RestoreRequest : DialogflowBaseServiceRequest<GoogleCloudDialogflowCxV3beta1RestoreToolVersionResponse>, IClientServiceRequest<GoogleCloudDialogflowCxV3beta1RestoreToolVersionResponse>, IClientServiceRequest
Constructors
RestoreRequest(IClientService, GoogleCloudDialogflowCxV3beta1RestoreToolVersionRequest, string)
Constructs a new Restore request.
Declaration
public RestoreRequest(IClientService service, GoogleCloudDialogflowCxV3beta1RestoreToolVersionRequest body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| GoogleCloudDialogflowCxV3beta1RestoreToolVersionRequest | 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 tool version. Format:
projects//locations//agents//tools//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()