Class ProjectsResource.LocationsResource.AgentResource.IntentsResource
The "intents" collection of methods.
Inheritance
Inherited Members
Namespace: Google.Apis.Dialogflow.v2
Assembly: Google.Apis.Dialogflow.v2.dll
Syntax
public class IntentsResource
Constructors
IntentsResource(IClientService)
Constructs a new resource.
Declaration
public IntentsResource(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
Methods
BatchDelete(GoogleCloudDialogflowV2BatchDeleteIntentsRequest, String)
Deletes intents in the specified agent. Operation
Declaration
public virtual ProjectsResource.LocationsResource.AgentResource.IntentsResource.BatchDeleteRequest BatchDelete(GoogleCloudDialogflowV2BatchDeleteIntentsRequest body, string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| GoogleCloudDialogflowV2BatchDeleteIntentsRequest | body | The body of the request. |
| System.String | parent | Required. The name of the agent to delete all entities types for. Format: |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.AgentResource.IntentsResource.BatchDeleteRequest |
BatchUpdate(GoogleCloudDialogflowV2BatchUpdateIntentsRequest, String)
Updates/Creates multiple intents in the specified agent. Operation
Declaration
public virtual ProjectsResource.LocationsResource.AgentResource.IntentsResource.BatchUpdateRequest BatchUpdate(GoogleCloudDialogflowV2BatchUpdateIntentsRequest body, string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| GoogleCloudDialogflowV2BatchUpdateIntentsRequest | body | The body of the request. |
| System.String | parent | Required. The name of the agent to update or create intents in. Format: |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.AgentResource.IntentsResource.BatchUpdateRequest |
Create(GoogleCloudDialogflowV2Intent, String)
Creates an intent in the specified agent.
Declaration
public virtual ProjectsResource.LocationsResource.AgentResource.IntentsResource.CreateRequest Create(GoogleCloudDialogflowV2Intent body, string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| GoogleCloudDialogflowV2Intent | body | The body of the request. |
| System.String | parent | Required. The agent to create a intent for. Format: |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.AgentResource.IntentsResource.CreateRequest |
Delete(String)
Deletes the specified intent and its direct or indirect followup intents.
Declaration
public virtual ProjectsResource.LocationsResource.AgentResource.IntentsResource.DeleteRequest Delete(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | Required. The name of the intent to delete. If this intent has direct or indirect followup
intents, we also delete them. Format: |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.AgentResource.IntentsResource.DeleteRequest |
Get(String)
Retrieves the specified intent.
Declaration
public virtual ProjectsResource.LocationsResource.AgentResource.IntentsResource.GetRequest Get(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | Required. The name of the intent. Format: |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.AgentResource.IntentsResource.GetRequest |
List(String)
Returns the list of all intents in the specified agent.
Declaration
public virtual ProjectsResource.LocationsResource.AgentResource.IntentsResource.ListRequest List(string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | parent | Required. The agent to list all intents from. Format: |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.AgentResource.IntentsResource.ListRequest |
Patch(GoogleCloudDialogflowV2Intent, String)
Updates the specified intent.
Declaration
public virtual ProjectsResource.LocationsResource.AgentResource.IntentsResource.PatchRequest Patch(GoogleCloudDialogflowV2Intent body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| GoogleCloudDialogflowV2Intent | body | The body of the request. |
| System.String | name | Optional. The unique identifier of this intent. Required for Intents.UpdateIntent and
Intents.BatchUpdateIntents methods. Format: |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.AgentResource.IntentsResource.PatchRequest |