target.apidocs.com.google.api.services.dialogflow.v3.Dialogflow.Projects.Locations.Agents.Webhooks.html Maven / Gradle / Ivy
The newest version!
Dialogflow.Projects.Locations.Agents.Webhooks (Dialogflow API v3-rev20240617-2.0.0)
com.google.api.services.dialogflow.v3
Class Dialogflow.Projects.Locations.Agents.Webhooks
- java.lang.Object
-
- com.google.api.services.dialogflow.v3.Dialogflow.Projects.Locations.Agents.Webhooks
-
- Enclosing class:
- Dialogflow.Projects.Locations.Agents
public class Dialogflow.Projects.Locations.Agents.Webhooks
extends Object
The "webhooks" collection of methods.
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
Dialogflow.Projects.Locations.Agents.Webhooks.Create
class
Dialogflow.Projects.Locations.Agents.Webhooks.Delete
class
Dialogflow.Projects.Locations.Agents.Webhooks.Get
class
Dialogflow.Projects.Locations.Agents.Webhooks.List
class
Dialogflow.Projects.Locations.Agents.Webhooks.Patch
-
Constructor Summary
Constructors
Constructor and Description
Webhooks()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
Dialogflow.Projects.Locations.Agents.Webhooks.Create
create(String parent,
GoogleCloudDialogflowCxV3Webhook content)
Creates a webhook in the specified agent.
Dialogflow.Projects.Locations.Agents.Webhooks.Delete
delete(String name)
Deletes the specified webhook.
Dialogflow.Projects.Locations.Agents.Webhooks.Get
get(String name)
Retrieves the specified webhook.
Dialogflow.Projects.Locations.Agents.Webhooks.List
list(String parent)
Returns the list of all webhooks in the specified agent.
Dialogflow.Projects.Locations.Agents.Webhooks.Patch
patch(String name,
GoogleCloudDialogflowCxV3Webhook content)
Updates the specified webhook.
-
-
Method Detail
-
create
public Dialogflow.Projects.Locations.Agents.Webhooks.Create create(String parent,
GoogleCloudDialogflowCxV3Webhook content)
throws IOException
Creates a webhook in the specified agent.
Create a request for the method "webhooks.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 a webhook for. Format: `projects//locations//agents/`.
content
- the GoogleCloudDialogflowCxV3Webhook
- Returns:
- the request
- Throws:
IOException
-
delete
public Dialogflow.Projects.Locations.Agents.Webhooks.Delete delete(String name)
throws IOException
Deletes the specified webhook.
Create a request for the method "webhooks.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 webhook to delete. Format: `projects//locations//agents//webhooks/`.
- Returns:
- the request
- Throws:
IOException
-
get
public Dialogflow.Projects.Locations.Agents.Webhooks.Get get(String name)
throws IOException
Retrieves the specified webhook.
Create a request for the method "webhooks.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 webhook. Format: `projects//locations//agents//webhooks/`.
- Returns:
- the request
- Throws:
IOException
-
list
public Dialogflow.Projects.Locations.Agents.Webhooks.List list(String parent)
throws IOException
Returns the list of all webhooks in the specified agent.
Create a request for the method "webhooks.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 webhooks for. Format: `projects//locations//agents/`.
- Returns:
- the request
- Throws:
IOException
-
patch
public Dialogflow.Projects.Locations.Agents.Webhooks.Patch patch(String name,
GoogleCloudDialogflowCxV3Webhook content)
throws IOException
Updates the specified webhook.
Create a request for the method "webhooks.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 webhook. Required for the Webhooks.UpdateWebhook method.
Webhooks.CreateWebhook populates the name automatically. Format:
`projects//locations//agents//webhooks/`.
content
- the GoogleCloudDialogflowCxV3Webhook
- Returns:
- the request
- Throws:
IOException
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy