Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.ToolsResource

The "tools" collection of methods.

Inheritance
object
ProjectsResource.LocationsResource.ToolsResource
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.v2
Assembly: Google.Apis.Dialogflow.v2.dll
Syntax
public class ProjectsResource.LocationsResource.ToolsResource

Constructors

ToolsResource(IClientService)

Constructs a new resource.

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

Methods

Create(GoogleCloudDialogflowV2Tool, string)

Creates a tool.

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

The body of the request.

string parent

Required. The project/location to create tool for. Format: projects//locations/

Returns
Type Description
ProjectsResource.LocationsResource.ToolsResource.CreateRequest

Delete(string)

Deletes a tool.

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

Required. The tool resource name to delete. Format: projects//locations//tools/

Returns
Type Description
ProjectsResource.LocationsResource.ToolsResource.DeleteRequest

Get(string)

Retrieves a tool.

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

Required. The tool resource name to retrieve. Format: projects//locations//tools/

Returns
Type Description
ProjectsResource.LocationsResource.ToolsResource.GetRequest

List(string)

Lists tools.

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

Required. The project/location to list tools for. Format: projects//locations/

Returns
Type Description
ProjectsResource.LocationsResource.ToolsResource.ListRequest

Patch(GoogleCloudDialogflowV2Tool, string)

Updates a tool.

Declaration
public virtual ProjectsResource.LocationsResource.ToolsResource.PatchRequest Patch(GoogleCloudDialogflowV2Tool body, string name)
Parameters
Type Name Description
GoogleCloudDialogflowV2Tool body

The body of the request.

string name

Output only. Identifier. The resource name of the tool. Format: projects//locations//tools/.

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