Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.AgentsResource.IntentsResource

The "intents" collection of methods.

Inheritance
object
ProjectsResource.LocationsResource.AgentsResource.IntentsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Dialogflow.v3beta1
Assembly: Google.Apis.Dialogflow.v3beta1.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(GoogleCloudDialogflowCxV3beta1Intent, 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(GoogleCloudDialogflowCxV3beta1Intent body, string parent)
Parameters
Type Name Description
GoogleCloudDialogflowCxV3beta1Intent body

The body of the request.

string parent

Required. The agent to create an intent for. Format: projects//locations//agents/.

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: projects//locations//agents//intents/.

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: projects//locations//agents//intents/.

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: projects//locations//agents/.

Returns
Type Description
ProjectsResource.LocationsResource.AgentsResource.IntentsResource.ListRequest

Patch(GoogleCloudDialogflowCxV3beta1Intent, 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(GoogleCloudDialogflowCxV3beta1Intent body, string name)
Parameters
Type Name Description
GoogleCloudDialogflowCxV3beta1Intent 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: projects//locations//agents//intents/.

Returns
Type Description
ProjectsResource.LocationsResource.AgentsResource.IntentsResource.PatchRequest
In This Article
Back to top Generated by DocFX