Show / Hide Table of Contents

Class ProjectsResource.AgentResource.IntentsResource

The "intents" collection of methods.

Inheritance
System.Object
ProjectsResource.AgentResource.IntentsResource
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
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.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: projects//agent.

Returns
Type Description
ProjectsResource.AgentResource.IntentsResource.BatchDeleteRequest

BatchUpdate(GoogleCloudDialogflowV2BatchUpdateIntentsRequest, String)

Updates/Creates multiple intents in the specified agent. Operation

Declaration
public virtual ProjectsResource.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: projects//agent.

Returns
Type Description
ProjectsResource.AgentResource.IntentsResource.BatchUpdateRequest

Create(GoogleCloudDialogflowV2Intent, String)

Creates an intent in the specified agent.

Declaration
public virtual ProjectsResource.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: projects//agent.

Returns
Type Description
ProjectsResource.AgentResource.IntentsResource.CreateRequest

Delete(String)

Deletes the specified intent and its direct or indirect followup intents.

Declaration
public virtual ProjectsResource.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: projects//agent/intents/.

Returns
Type Description
ProjectsResource.AgentResource.IntentsResource.DeleteRequest

Get(String)

Retrieves the specified intent.

Declaration
public virtual ProjectsResource.AgentResource.IntentsResource.GetRequest Get(string name)
Parameters
Type Name Description
System.String name

Required. The name of the intent. Format: projects//agent/intents/.

Returns
Type Description
ProjectsResource.AgentResource.IntentsResource.GetRequest

List(String)

Returns the list of all intents in the specified agent.

Declaration
public virtual ProjectsResource.AgentResource.IntentsResource.ListRequest List(string parent)
Parameters
Type Name Description
System.String parent

Required. The agent to list all intents from. Format: projects//agent.

Returns
Type Description
ProjectsResource.AgentResource.IntentsResource.ListRequest

Patch(GoogleCloudDialogflowV2Intent, String)

Updates the specified intent.

Declaration
public virtual ProjectsResource.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: projects//agent/intents/.

Returns
Type Description
ProjectsResource.AgentResource.IntentsResource.PatchRequest
In This Article
Back to top