Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.AgentsResource.ToolsResource.VersionsResource

The "versions" collection of methods.

Inheritance
object
ProjectsResource.LocationsResource.AgentsResource.ToolsResource.VersionsResource
Inherited Members
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

Constructors

VersionsResource(IClientService)

Constructs a new resource.

Declaration
public VersionsResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

Create(GoogleCloudDialogflowCxV3beta1ToolVersion, string)

Creates a version for the specified Tool.

Declaration
public virtual ProjectsResource.LocationsResource.AgentsResource.ToolsResource.VersionsResource.CreateRequest Create(GoogleCloudDialogflowCxV3beta1ToolVersion body, string parent)
Parameters
Type Name Description
GoogleCloudDialogflowCxV3beta1ToolVersion body

The body of the request.

string parent

Required. The tool to create a version for. Format: projects//locations//agents//tools/.

Returns
Type Description
ProjectsResource.LocationsResource.AgentsResource.ToolsResource.VersionsResource.CreateRequest

Delete(string)

Deletes the specified version of the Tool.

Declaration
public virtual ProjectsResource.LocationsResource.AgentsResource.ToolsResource.VersionsResource.DeleteRequest Delete(string name)
Parameters
Type Name Description
string name

Required. The name of the tool version to delete. Format: projects//locations//agents//tools//versions/.

Returns
Type Description
ProjectsResource.LocationsResource.AgentsResource.ToolsResource.VersionsResource.DeleteRequest

Get(string)

Retrieves the specified version of the Tool.

Declaration
public virtual ProjectsResource.LocationsResource.AgentsResource.ToolsResource.VersionsResource.GetRequest Get(string name)
Parameters
Type Name Description
string name

Required. The name of the tool version. Format: projects//locations//agents//tools//versions/.

Returns
Type Description
ProjectsResource.LocationsResource.AgentsResource.ToolsResource.VersionsResource.GetRequest

List(string)

List versions of the specified Tool.

Declaration
public virtual ProjectsResource.LocationsResource.AgentsResource.ToolsResource.VersionsResource.ListRequest List(string parent)
Parameters
Type Name Description
string parent

Required. The parent of the tool versions. Format: projects//locations//agents//tools/.

Returns
Type Description
ProjectsResource.LocationsResource.AgentsResource.ToolsResource.VersionsResource.ListRequest

Restore(GoogleCloudDialogflowCxV3beta1RestoreToolVersionRequest, string)

Retrieves the specified version of the Tool and stores it as the current tool draft, returning the tool with resources updated.

Declaration
public virtual ProjectsResource.LocationsResource.AgentsResource.ToolsResource.VersionsResource.RestoreRequest Restore(GoogleCloudDialogflowCxV3beta1RestoreToolVersionRequest body, string name)
Parameters
Type Name Description
GoogleCloudDialogflowCxV3beta1RestoreToolVersionRequest body

The body of the request.

string name

Required. The name of the tool version. Format: projects//locations//agents//tools//versions/.

Returns
Type Description
ProjectsResource.LocationsResource.AgentsResource.ToolsResource.VersionsResource.RestoreRequest
In this article
Back to top Generated by DocFX