Class ProjectsResource.LocationsResource.ToolsResource
The "tools" collection of methods.
Inherited Members
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: |
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: |
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: |
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: |
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: |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.ToolsResource.PatchRequest |