Show / Hide Table of Contents

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
object
ClientServiceRequest
ClientServiceRequest<GoogleCloudDialogflowCxV3beta1RestoreToolVersionResponse>
DialogflowBaseServiceRequest<GoogleCloudDialogflowCxV3beta1RestoreToolVersionResponse>
ProjectsResource.LocationsResource.AgentsResource.ToolsResource.VersionsResource.RestoreRequest
Implements
IClientServiceRequest<GoogleCloudDialogflowCxV3beta1RestoreToolVersionResponse>
IClientServiceRequest
Inherited Members
DialogflowBaseServiceRequest<GoogleCloudDialogflowCxV3beta1RestoreToolVersionResponse>.Xgafv
DialogflowBaseServiceRequest<GoogleCloudDialogflowCxV3beta1RestoreToolVersionResponse>.AccessToken
DialogflowBaseServiceRequest<GoogleCloudDialogflowCxV3beta1RestoreToolVersionResponse>.Alt
DialogflowBaseServiceRequest<GoogleCloudDialogflowCxV3beta1RestoreToolVersionResponse>.Callback
DialogflowBaseServiceRequest<GoogleCloudDialogflowCxV3beta1RestoreToolVersionResponse>.Fields
DialogflowBaseServiceRequest<GoogleCloudDialogflowCxV3beta1RestoreToolVersionResponse>.Key
DialogflowBaseServiceRequest<GoogleCloudDialogflowCxV3beta1RestoreToolVersionResponse>.OauthToken
DialogflowBaseServiceRequest<GoogleCloudDialogflowCxV3beta1RestoreToolVersionResponse>.PrettyPrint
DialogflowBaseServiceRequest<GoogleCloudDialogflowCxV3beta1RestoreToolVersionResponse>.QuotaUser
DialogflowBaseServiceRequest<GoogleCloudDialogflowCxV3beta1RestoreToolVersionResponse>.UploadType
DialogflowBaseServiceRequest<GoogleCloudDialogflowCxV3beta1RestoreToolVersionResponse>.UploadProtocol
ClientServiceRequest<GoogleCloudDialogflowCxV3beta1RestoreToolVersionResponse>.Execute()
ClientServiceRequest<GoogleCloudDialogflowCxV3beta1RestoreToolVersionResponse>.ExecuteAsStream()
ClientServiceRequest<GoogleCloudDialogflowCxV3beta1RestoreToolVersionResponse>.ExecuteAsync()
ClientServiceRequest<GoogleCloudDialogflowCxV3beta1RestoreToolVersionResponse>.ExecuteAsync(CancellationToken)
ClientServiceRequest<GoogleCloudDialogflowCxV3beta1RestoreToolVersionResponse>.ExecuteAsStreamAsync()
ClientServiceRequest<GoogleCloudDialogflowCxV3beta1RestoreToolVersionResponse>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<GoogleCloudDialogflowCxV3beta1RestoreToolVersionResponse>.CreateRequest(bool?)
ClientServiceRequest<GoogleCloudDialogflowCxV3beta1RestoreToolVersionResponse>.GenerateRequestUri()
ClientServiceRequest<GoogleCloudDialogflowCxV3beta1RestoreToolVersionResponse>.GetDefaultETagAction(string)
ClientServiceRequest<GoogleCloudDialogflowCxV3beta1RestoreToolVersionResponse>.ETagAction
ClientServiceRequest<GoogleCloudDialogflowCxV3beta1RestoreToolVersionResponse>.ModifyRequest
ClientServiceRequest<GoogleCloudDialogflowCxV3beta1RestoreToolVersionResponse>.ValidateParameters
ClientServiceRequest<GoogleCloudDialogflowCxV3beta1RestoreToolVersionResponse>.ApiVersion
ClientServiceRequest<GoogleCloudDialogflowCxV3beta1RestoreToolVersionResponse>.RequestParameters
ClientServiceRequest<GoogleCloudDialogflowCxV3beta1RestoreToolVersionResponse>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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
ClientServiceRequest<GoogleCloudDialogflowCxV3beta1RestoreToolVersionResponse>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<GoogleCloudDialogflowCxV3beta1RestoreToolVersionResponse>.MethodName

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
ClientServiceRequest<GoogleCloudDialogflowCxV3beta1RestoreToolVersionResponse>.RestPath

Methods

GetBody()

Returns the body of the request.

Declaration
protected override object GetBody()
Returns
Type Description
object
Overrides
ClientServiceRequest<GoogleCloudDialogflowCxV3beta1RestoreToolVersionResponse>.GetBody()

InitParameters()

Initializes Restore parameter list.

Declaration
protected override void InitParameters()
Overrides
DialogflowBaseServiceRequest<GoogleCloudDialogflowCxV3beta1RestoreToolVersionResponse>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX