Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.AgentsResource.WebhooksResource

The "webhooks" collection of methods.

Inheritance
object
ProjectsResource.LocationsResource.AgentsResource.WebhooksResource
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.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: projects//locations//agents/.

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

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

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

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

Returns
Type Description
ProjectsResource.LocationsResource.AgentsResource.WebhooksResource.PatchRequest
In this article
Back to top Generated by DocFX