Class ProjectsResource.LocationsResource.AgentsResource.WebhooksResource
The "webhooks" collection of methods.
Inherited Members
Namespace: Google.Apis.Dialogflow.v3beta1
Assembly: Google.Apis.Dialogflow.v3beta1.dll
Syntax
public class ProjectsResource.LocationsResource.AgentsResource.WebhooksResource
Constructors
WebhooksResource(IClientService)
Constructs a new resource.
Declaration
public WebhooksResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(GoogleCloudDialogflowCxV3beta1Webhook, string)
Creates a webhook in the specified agent.
Declaration
public virtual ProjectsResource.LocationsResource.AgentsResource.WebhooksResource.CreateRequest Create(GoogleCloudDialogflowCxV3beta1Webhook body, string parent)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDialogflowCxV3beta1Webhook | body | The body of the request. |
string | parent | Required. The agent to create a webhook for. Format: |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.AgentsResource.WebhooksResource.CreateRequest |
Delete(string)
Deletes the specified webhook.
Declaration
public virtual ProjectsResource.LocationsResource.AgentsResource.WebhooksResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the webhook to delete. Format: |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.AgentsResource.WebhooksResource.DeleteRequest |
Get(string)
Retrieves the specified webhook.
Declaration
public virtual ProjectsResource.LocationsResource.AgentsResource.WebhooksResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the webhook. Format: |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.AgentsResource.WebhooksResource.GetRequest |
List(string)
Returns the list of all webhooks in the specified agent.
Declaration
public virtual ProjectsResource.LocationsResource.AgentsResource.WebhooksResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The agent to list all webhooks for. Format: |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.AgentsResource.WebhooksResource.ListRequest |
Patch(GoogleCloudDialogflowCxV3beta1Webhook, string)
Updates the specified webhook.
Declaration
public virtual ProjectsResource.LocationsResource.AgentsResource.WebhooksResource.PatchRequest Patch(GoogleCloudDialogflowCxV3beta1Webhook body, string name)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDialogflowCxV3beta1Webhook | body | The body of the request. |
string | name | The unique identifier of the webhook. Required for the Webhooks.UpdateWebhook method.
Webhooks.CreateWebhook populates the name automatically. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.AgentsResource.WebhooksResource.PatchRequest |