Class ProjectsResource.LocationsResource.AgentsResource.IntentsResource
The "intents" collection of methods.
Inherited Members
Namespace: Google.Apis.Dialogflow.v3
Assembly: Google.Apis.Dialogflow.v3.dll
Syntax
public class ProjectsResource.LocationsResource.AgentsResource.IntentsResource
Constructors
IntentsResource(IClientService)
Constructs a new resource.
Declaration
public IntentsResource(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
Methods
Create(GoogleCloudDialogflowCxV3Intent, string)
Creates an intent in the specified agent. Note: You should always train a flow prior to sending it queries. See the training documentation.
Declaration
public virtual ProjectsResource.LocationsResource.AgentsResource.IntentsResource.CreateRequest Create(GoogleCloudDialogflowCxV3Intent body, string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| GoogleCloudDialogflowCxV3Intent | body | The body of the request. |
| string | parent | Required. The agent to create an intent for. Format: |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.AgentsResource.IntentsResource.CreateRequest |
Delete(string)
Deletes the specified intent. Note: You should always train a flow prior to sending it queries. See the training documentation.
Declaration
public virtual ProjectsResource.LocationsResource.AgentsResource.IntentsResource.DeleteRequest Delete(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Required. The name of the intent to delete. Format: |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.AgentsResource.IntentsResource.DeleteRequest |
Get(string)
Retrieves the specified intent.
Declaration
public virtual ProjectsResource.LocationsResource.AgentsResource.IntentsResource.GetRequest Get(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Required. The name of the intent. Format: |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.AgentsResource.IntentsResource.GetRequest |
List(string)
Returns the list of all intents in the specified agent.
Declaration
public virtual ProjectsResource.LocationsResource.AgentsResource.IntentsResource.ListRequest List(string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| string | parent | Required. The agent to list all intents for. Format: |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.AgentsResource.IntentsResource.ListRequest |
Patch(GoogleCloudDialogflowCxV3Intent, string)
Updates the specified intent. Note: You should always train a flow prior to sending it queries. See the training documentation.
Declaration
public virtual ProjectsResource.LocationsResource.AgentsResource.IntentsResource.PatchRequest Patch(GoogleCloudDialogflowCxV3Intent body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| GoogleCloudDialogflowCxV3Intent | body | The body of the request. |
| string | name | The unique identifier of the intent. Required for the Intents.UpdateIntent method.
Intents.CreateIntent populates the name automatically. Format:
|
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.AgentsResource.IntentsResource.PatchRequest |