target.apidocs.com.google.api.services.dialogflow.v3.Dialogflow.Projects.Locations.Agents.Intents.html Maven / Gradle / Ivy
The newest version!
Dialogflow.Projects.Locations.Agents.Intents (Dialogflow API v3-rev20240617-2.0.0)
com.google.api.services.dialogflow.v3
Class Dialogflow.Projects.Locations.Agents.Intents
- java.lang.Object
-
- com.google.api.services.dialogflow.v3.Dialogflow.Projects.Locations.Agents.Intents
-
- Enclosing class:
- Dialogflow.Projects.Locations.Agents
public class Dialogflow.Projects.Locations.Agents.Intents
extends Object
The "intents" collection of methods.
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
Dialogflow.Projects.Locations.Agents.Intents.Create
class
Dialogflow.Projects.Locations.Agents.Intents.Delete
class
Dialogflow.Projects.Locations.Agents.Intents.DialogflowImport
class
Dialogflow.Projects.Locations.Agents.Intents.Export
class
Dialogflow.Projects.Locations.Agents.Intents.Get
class
Dialogflow.Projects.Locations.Agents.Intents.List
class
Dialogflow.Projects.Locations.Agents.Intents.Patch
-
Constructor Summary
Constructors
Constructor and Description
Intents()
-
Method Summary
-
-
Method Detail
-
create
public Dialogflow.Projects.Locations.Agents.Intents.Create create(String parent,
GoogleCloudDialogflowCxV3Intent content)
throws IOException
Creates an intent in the specified agent. Note: You should always train a flow prior to sending
it queries. See the [training
documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).
Create a request for the method "intents.create".
This request holds the parameters needed by the dialogflow server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
parent
- Required. The agent to create an intent for. Format: `projects//locations//agents/`.
content
- the GoogleCloudDialogflowCxV3Intent
- Returns:
- the request
- Throws:
IOException
-
delete
public Dialogflow.Projects.Locations.Agents.Intents.Delete delete(String name)
throws IOException
Deletes the specified intent. Note: You should always train a flow prior to sending it queries.
See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).
Create a request for the method "intents.delete".
This request holds the parameters needed by the dialogflow server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
name
- Required. The name of the intent to delete. Format: `projects//locations//agents//intents/`.
- Returns:
- the request
- Throws:
IOException
-
export
public Dialogflow.Projects.Locations.Agents.Intents.Export export(String parent,
GoogleCloudDialogflowCxV3ExportIntentsRequest content)
throws IOException
Exports the selected intents. This method is a [long-running
operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned
`Operation` type has the following method-specific fields: - `metadata`: ExportIntentsMetadata -
`response`: ExportIntentsResponse
Create a request for the method "intents.export".
This request holds the parameters needed by the dialogflow server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
parent
- Required. The name of the parent agent to export intents. Format: `projects//locations//agents/`.
content
- the GoogleCloudDialogflowCxV3ExportIntentsRequest
- Returns:
- the request
- Throws:
IOException
-
get
public Dialogflow.Projects.Locations.Agents.Intents.Get get(String name)
throws IOException
Retrieves the specified intent.
Create a request for the method "intents.get".
This request holds the parameters needed by the dialogflow server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
name
- Required. The name of the intent. Format: `projects//locations//agents//intents/`.
- Returns:
- the request
- Throws:
IOException
-
dialogflowImport
public Dialogflow.Projects.Locations.Agents.Intents.DialogflowImport dialogflowImport(String parent,
GoogleCloudDialogflowCxV3ImportIntentsRequest content)
throws IOException
Imports the specified intents into the agent. This method is a [long-running
operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned
`Operation` type has the following method-specific fields: - `metadata`: ImportIntentsMetadata -
`response`: ImportIntentsResponse
Create a request for the method "intents.import".
This request holds the parameters needed by the dialogflow server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
parent
- Required. The agent to import the intents into. Format: `projects//locations//agents/`.
content
- the GoogleCloudDialogflowCxV3ImportIntentsRequest
- Returns:
- the request
- Throws:
IOException
-
list
public Dialogflow.Projects.Locations.Agents.Intents.List list(String parent)
throws IOException
Returns the list of all intents in the specified agent.
Create a request for the method "intents.list".
This request holds the parameters needed by the dialogflow server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
parent
- Required. The agent to list all intents for. Format: `projects//locations//agents/`.
- Returns:
- the request
- Throws:
IOException
-
patch
public Dialogflow.Projects.Locations.Agents.Intents.Patch patch(String name,
GoogleCloudDialogflowCxV3Intent content)
throws IOException
Updates the specified intent. Note: You should always train a flow prior to sending it queries.
See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).
Create a request for the method "intents.patch".
This request holds the parameters needed by the dialogflow server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
name
- The unique identifier of the intent. Required for the Intents.UpdateIntent method.
Intents.CreateIntent populates the name automatically. Format:
`projects//locations//agents//intents/`.
content
- the GoogleCloudDialogflowCxV3Intent
- Returns:
- the request
- Throws:
IOException
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy