Class ProjectsResource.LocationsResource.AgentsResource.ToolsResource
The "tools" collection of methods.
Inherited Members
Namespace: Google.Apis.Dialogflow.v3beta1
Assembly: Google.Apis.Dialogflow.v3beta1.dll
Syntax
public class ProjectsResource.LocationsResource.AgentsResource.ToolsResource
Constructors
ToolsResource(IClientService)
Constructs a new resource.
Declaration
public ToolsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(GoogleCloudDialogflowCxV3beta1Tool, string)
Creates a Tool in the specified agent.
Declaration
public virtual ProjectsResource.LocationsResource.AgentsResource.ToolsResource.CreateRequest Create(GoogleCloudDialogflowCxV3beta1Tool body, string parent)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDialogflowCxV3beta1Tool | body | The body of the request. |
string | parent | Required. The agent to create a Tool for. Format: |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.AgentsResource.ToolsResource.CreateRequest |
Delete(string)
Deletes a specified Tool.
Declaration
public virtual ProjectsResource.LocationsResource.AgentsResource.ToolsResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the Tool to be deleted. Format: |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.AgentsResource.ToolsResource.DeleteRequest |
Export(GoogleCloudDialogflowCxV3beta1ExportToolsRequest, string)
Exports the selected tools.
Declaration
public virtual ProjectsResource.LocationsResource.AgentsResource.ToolsResource.ExportRequest Export(GoogleCloudDialogflowCxV3beta1ExportToolsRequest body, string parent)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDialogflowCxV3beta1ExportToolsRequest | body | The body of the request. |
string | parent | Required. The agent to export tools from. Format: |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.AgentsResource.ToolsResource.ExportRequest |
Get(string)
Retrieves the specified Tool.
Declaration
public virtual ProjectsResource.LocationsResource.AgentsResource.ToolsResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the Tool. Format: |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.AgentsResource.ToolsResource.GetRequest |
List(string)
Returns a list of Tools in the specified agent.
Declaration
public virtual ProjectsResource.LocationsResource.AgentsResource.ToolsResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The agent to list the Tools from. Format: |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.AgentsResource.ToolsResource.ListRequest |
Patch(GoogleCloudDialogflowCxV3beta1Tool, string)
Update the specified Tool.
Declaration
public virtual ProjectsResource.LocationsResource.AgentsResource.ToolsResource.PatchRequest Patch(GoogleCloudDialogflowCxV3beta1Tool body, string name)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDialogflowCxV3beta1Tool | body | The body of the request. |
string | name | The unique identifier of the Tool. Format: |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.AgentsResource.ToolsResource.PatchRequest |