Class WebhooksClient (1.0.0)

public abstract class WebhooksClient

Webhooks client wrapper, for convenient use.

Inheritance

System.Object > WebhooksClient

Namespace

Google.Cloud.Dialogflow.Cx.V3

Assembly

Google.Cloud.Dialogflow.Cx.V3.dll

Remarks

Service for managing [Webhooks][google.cloud.dialogflow.cx.v3.Webhook].

Properties

DefaultEndpoint

public static string DefaultEndpoint { get; }

The default endpoint for the Webhooks service, which is a host of "dialogflow.googleapis.com" and a port of 443.

Property Value
TypeDescription
System.String

DefaultScopes

public static IReadOnlyList<string> DefaultScopes { get; }

The default Webhooks scopes.

Property Value
TypeDescription
System.Collections.Generic.IReadOnlyList<System.String>
Remarks

GrpcClient

public virtual Webhooks.WebhooksClient GrpcClient { get; }

The underlying gRPC Webhooks client

Property Value
TypeDescription
Webhooks.WebhooksClient

Methods

Create()

public static WebhooksClient Create()

Synchronously creates a WebhooksClient using the default credentials, endpoint and settings. To specify custom credentials or other settings, use WebhooksClientBuilder.

Returns
TypeDescription
WebhooksClient

The created WebhooksClient.

CreateAsync(CancellationToken)

public static Task<WebhooksClient> CreateAsync(CancellationToken cancellationToken = default(CancellationToken))

Asynchronously creates a WebhooksClient using the default credentials, endpoint and settings. To specify custom credentials or other settings, use WebhooksClientBuilder.

Parameter
NameDescription
cancellationTokenSystem.Threading.CancellationToken

The System.Threading.CancellationToken to use while creating the client.

Returns
TypeDescription
System.Threading.Tasks.Task<WebhooksClient>

The task representing the created WebhooksClient.

CreateWebhook(AgentName, Webhook, CallSettings)

public virtual Webhook CreateWebhook(AgentName parent, Webhook webhook, CallSettings callSettings = null)

Creates a webhook in the specified agent.

Parameters
NameDescription
parentAgentName

Required. The agent to create a webhook for. Format: projects/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;/agents/&amp;lt;Agent ID&amp;gt;.

webhookWebhook

Required. The webhook to create.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Webhook

The RPC response.

CreateWebhook(CreateWebhookRequest, CallSettings)

public virtual Webhook CreateWebhook(CreateWebhookRequest request, CallSettings callSettings = null)

Creates a webhook in the specified agent.

Parameters
NameDescription
requestCreateWebhookRequest

The request object containing all of the parameters for the API call.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Webhook

The RPC response.

CreateWebhook(String, Webhook, CallSettings)

public virtual Webhook CreateWebhook(string parent, Webhook webhook, CallSettings callSettings = null)

Creates a webhook in the specified agent.

Parameters
NameDescription
parentSystem.String

Required. The agent to create a webhook for. Format: projects/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;/agents/&amp;lt;Agent ID&amp;gt;.

webhookWebhook

Required. The webhook to create.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Webhook

The RPC response.

CreateWebhookAsync(AgentName, Webhook, CallSettings)

public virtual Task<Webhook> CreateWebhookAsync(AgentName parent, Webhook webhook, CallSettings callSettings = null)

Creates a webhook in the specified agent.

Parameters
NameDescription
parentAgentName

Required. The agent to create a webhook for. Format: projects/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;/agents/&amp;lt;Agent ID&amp;gt;.

webhookWebhook

Required. The webhook to create.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
System.Threading.Tasks.Task<Webhook>

A Task containing the RPC response.

CreateWebhookAsync(AgentName, Webhook, CancellationToken)

public virtual Task<Webhook> CreateWebhookAsync(AgentName parent, Webhook webhook, CancellationToken cancellationToken)

Creates a webhook in the specified agent.

Parameters
NameDescription
parentAgentName

Required. The agent to create a webhook for. Format: projects/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;/agents/&amp;lt;Agent ID&amp;gt;.

webhookWebhook

Required. The webhook to create.

cancellationTokenSystem.Threading.CancellationToken

A System.Threading.CancellationToken to use for this RPC.

Returns
TypeDescription
System.Threading.Tasks.Task<Webhook>

A Task containing the RPC response.

CreateWebhookAsync(CreateWebhookRequest, CallSettings)

public virtual Task<Webhook> CreateWebhookAsync(CreateWebhookRequest request, CallSettings callSettings = null)

Creates a webhook in the specified agent.

Parameters
NameDescription
requestCreateWebhookRequest

The request object containing all of the parameters for the API call.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
System.Threading.Tasks.Task<Webhook>

A Task containing the RPC response.

CreateWebhookAsync(CreateWebhookRequest, CancellationToken)

public virtual Task<Webhook> CreateWebhookAsync(CreateWebhookRequest request, CancellationToken cancellationToken)

Creates a webhook in the specified agent.

Parameters
NameDescription
requestCreateWebhookRequest

The request object containing all of the parameters for the API call.

cancellationTokenSystem.Threading.CancellationToken

A System.Threading.CancellationToken to use for this RPC.

Returns
TypeDescription
System.Threading.Tasks.Task<Webhook>

A Task containing the RPC response.

CreateWebhookAsync(String, Webhook, CallSettings)

public virtual Task<Webhook> CreateWebhookAsync(string parent, Webhook webhook, CallSettings callSettings = null)

Creates a webhook in the specified agent.

Parameters
NameDescription
parentSystem.String

Required. The agent to create a webhook for. Format: projects/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;/agents/&amp;lt;Agent ID&amp;gt;.

webhookWebhook

Required. The webhook to create.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
System.Threading.Tasks.Task<Webhook>

A Task containing the RPC response.

CreateWebhookAsync(String, Webhook, CancellationToken)

public virtual Task<Webhook> CreateWebhookAsync(string parent, Webhook webhook, CancellationToken cancellationToken)

Creates a webhook in the specified agent.

Parameters
NameDescription
parentSystem.String

Required. The agent to create a webhook for. Format: projects/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;/agents/&amp;lt;Agent ID&amp;gt;.

webhookWebhook

Required. The webhook to create.

cancellationTokenSystem.Threading.CancellationToken

A System.Threading.CancellationToken to use for this RPC.

Returns
TypeDescription
System.Threading.Tasks.Task<Webhook>

A Task containing the RPC response.

DeleteWebhook(DeleteWebhookRequest, CallSettings)

public virtual void DeleteWebhook(DeleteWebhookRequest request, CallSettings callSettings = null)

Deletes the specified webhook.

Parameters
NameDescription
requestDeleteWebhookRequest

The request object containing all of the parameters for the API call.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

DeleteWebhook(WebhookName, CallSettings)

public virtual void DeleteWebhook(WebhookName name, CallSettings callSettings = null)

Deletes the specified webhook.

Parameters
NameDescription
nameWebhookName

Required. The name of the webhook to delete. Format: projects/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;/agents/&amp;lt;Agent ID&amp;gt;/webhooks/&amp;lt;Webhook ID&amp;gt;.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

DeleteWebhook(String, CallSettings)

public virtual void DeleteWebhook(string name, CallSettings callSettings = null)

Deletes the specified webhook.

Parameters
NameDescription
nameSystem.String

Required. The name of the webhook to delete. Format: projects/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;/agents/&amp;lt;Agent ID&amp;gt;/webhooks/&amp;lt;Webhook ID&amp;gt;.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

DeleteWebhookAsync(DeleteWebhookRequest, CallSettings)

public virtual Task DeleteWebhookAsync(DeleteWebhookRequest request, CallSettings callSettings = null)

Deletes the specified webhook.

Parameters
NameDescription
requestDeleteWebhookRequest

The request object containing all of the parameters for the API call.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
System.Threading.Tasks.Task

A Task containing the RPC response.

DeleteWebhookAsync(DeleteWebhookRequest, CancellationToken)

public virtual Task DeleteWebhookAsync(DeleteWebhookRequest request, CancellationToken cancellationToken)

Deletes the specified webhook.

Parameters
NameDescription
requestDeleteWebhookRequest

The request object containing all of the parameters for the API call.

cancellationTokenSystem.Threading.CancellationToken

A System.Threading.CancellationToken to use for this RPC.

Returns
TypeDescription
System.Threading.Tasks.Task

A Task containing the RPC response.

DeleteWebhookAsync(WebhookName, CallSettings)

public virtual Task DeleteWebhookAsync(WebhookName name, CallSettings callSettings = null)

Deletes the specified webhook.

Parameters
NameDescription
nameWebhookName

Required. The name of the webhook to delete. Format: projects/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;/agents/&amp;lt;Agent ID&amp;gt;/webhooks/&amp;lt;Webhook ID&amp;gt;.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
System.Threading.Tasks.Task

A Task containing the RPC response.

DeleteWebhookAsync(WebhookName, CancellationToken)

public virtual Task DeleteWebhookAsync(WebhookName name, CancellationToken cancellationToken)

Deletes the specified webhook.

Parameters
NameDescription
nameWebhookName

Required. The name of the webhook to delete. Format: projects/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;/agents/&amp;lt;Agent ID&amp;gt;/webhooks/&amp;lt;Webhook ID&amp;gt;.

cancellationTokenSystem.Threading.CancellationToken

A System.Threading.CancellationToken to use for this RPC.

Returns
TypeDescription
System.Threading.Tasks.Task

A Task containing the RPC response.

DeleteWebhookAsync(String, CallSettings)

public virtual Task DeleteWebhookAsync(string name, CallSettings callSettings = null)

Deletes the specified webhook.

Parameters
NameDescription
nameSystem.String

Required. The name of the webhook to delete. Format: projects/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;/agents/&amp;lt;Agent ID&amp;gt;/webhooks/&amp;lt;Webhook ID&amp;gt;.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
System.Threading.Tasks.Task

A Task containing the RPC response.

DeleteWebhookAsync(String, CancellationToken)

public virtual Task DeleteWebhookAsync(string name, CancellationToken cancellationToken)

Deletes the specified webhook.

Parameters
NameDescription
nameSystem.String

Required. The name of the webhook to delete. Format: projects/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;/agents/&amp;lt;Agent ID&amp;gt;/webhooks/&amp;lt;Webhook ID&amp;gt;.

cancellationTokenSystem.Threading.CancellationToken

A System.Threading.CancellationToken to use for this RPC.

Returns
TypeDescription
System.Threading.Tasks.Task

A Task containing the RPC response.

GetWebhook(GetWebhookRequest, CallSettings)

public virtual Webhook GetWebhook(GetWebhookRequest request, CallSettings callSettings = null)

Retrieves the specified webhook.

Parameters
NameDescription
requestGetWebhookRequest

The request object containing all of the parameters for the API call.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Webhook

The RPC response.

GetWebhook(WebhookName, CallSettings)

public virtual Webhook GetWebhook(WebhookName name, CallSettings callSettings = null)

Retrieves the specified webhook.

Parameters
NameDescription
nameWebhookName

Required. The name of the webhook. Format: projects/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;/agents/&amp;lt;Agent ID&amp;gt;/webhooks/&amp;lt;Webhook ID&amp;gt;.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Webhook

The RPC response.

GetWebhook(String, CallSettings)

public virtual Webhook GetWebhook(string name, CallSettings callSettings = null)

Retrieves the specified webhook.

Parameters
NameDescription
nameSystem.String

Required. The name of the webhook. Format: projects/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;/agents/&amp;lt;Agent ID&amp;gt;/webhooks/&amp;lt;Webhook ID&amp;gt;.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Webhook

The RPC response.

GetWebhookAsync(GetWebhookRequest, CallSettings)

public virtual Task<Webhook> GetWebhookAsync(GetWebhookRequest request, CallSettings callSettings = null)

Retrieves the specified webhook.

Parameters
NameDescription
requestGetWebhookRequest

The request object containing all of the parameters for the API call.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
System.Threading.Tasks.Task<Webhook>

A Task containing the RPC response.

GetWebhookAsync(GetWebhookRequest, CancellationToken)

public virtual Task<Webhook> GetWebhookAsync(GetWebhookRequest request, CancellationToken cancellationToken)

Retrieves the specified webhook.

Parameters
NameDescription
requestGetWebhookRequest

The request object containing all of the parameters for the API call.

cancellationTokenSystem.Threading.CancellationToken

A System.Threading.CancellationToken to use for this RPC.

Returns
TypeDescription
System.Threading.Tasks.Task<Webhook>

A Task containing the RPC response.

GetWebhookAsync(WebhookName, CallSettings)

public virtual Task<Webhook> GetWebhookAsync(WebhookName name, CallSettings callSettings = null)

Retrieves the specified webhook.

Parameters
NameDescription
nameWebhookName

Required. The name of the webhook. Format: projects/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;/agents/&amp;lt;Agent ID&amp;gt;/webhooks/&amp;lt;Webhook ID&amp;gt;.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
System.Threading.Tasks.Task<Webhook>

A Task containing the RPC response.

GetWebhookAsync(WebhookName, CancellationToken)

public virtual Task<Webhook> GetWebhookAsync(WebhookName name, CancellationToken cancellationToken)

Retrieves the specified webhook.

Parameters
NameDescription
nameWebhookName

Required. The name of the webhook. Format: projects/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;/agents/&amp;lt;Agent ID&amp;gt;/webhooks/&amp;lt;Webhook ID&amp;gt;.

cancellationTokenSystem.Threading.CancellationToken

A System.Threading.CancellationToken to use for this RPC.

Returns
TypeDescription
System.Threading.Tasks.Task<Webhook>

A Task containing the RPC response.

GetWebhookAsync(String, CallSettings)

public virtual Task<Webhook> GetWebhookAsync(string name, CallSettings callSettings = null)

Retrieves the specified webhook.

Parameters
NameDescription
nameSystem.String

Required. The name of the webhook. Format: projects/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;/agents/&amp;lt;Agent ID&amp;gt;/webhooks/&amp;lt;Webhook ID&amp;gt;.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
System.Threading.Tasks.Task<Webhook>

A Task containing the RPC response.

GetWebhookAsync(String, CancellationToken)

public virtual Task<Webhook> GetWebhookAsync(string name, CancellationToken cancellationToken)

Retrieves the specified webhook.

Parameters
NameDescription
nameSystem.String

Required. The name of the webhook. Format: projects/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;/agents/&amp;lt;Agent ID&amp;gt;/webhooks/&amp;lt;Webhook ID&amp;gt;.

cancellationTokenSystem.Threading.CancellationToken

A System.Threading.CancellationToken to use for this RPC.

Returns
TypeDescription
System.Threading.Tasks.Task<Webhook>

A Task containing the RPC response.

ListWebhooks(AgentName, String, Nullable<Int32>, CallSettings)

public virtual PagedEnumerable<ListWebhooksResponse, Webhook> ListWebhooks(AgentName parent, string pageToken = null, int? pageSize = default(int? ), CallSettings callSettings = null)

Returns the list of all webhooks in the specified agent.

Parameters
NameDescription
parentAgentName

Required. The agent to list all webhooks for. Format: projects/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;/agents/&amp;lt;Agent ID&amp;gt;.

pageTokenSystem.String

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeSystem.Nullable<System.Int32>

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Google.Api.Gax.PagedEnumerable<ListWebhooksResponse, Webhook>

A pageable sequence of Webhook resources.

ListWebhooks(ListWebhooksRequest, CallSettings)

public virtual PagedEnumerable<ListWebhooksResponse, Webhook> ListWebhooks(ListWebhooksRequest request, CallSettings callSettings = null)

Returns the list of all webhooks in the specified agent.

Parameters
NameDescription
requestListWebhooksRequest

The request object containing all of the parameters for the API call.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Google.Api.Gax.PagedEnumerable<ListWebhooksResponse, Webhook>

A pageable sequence of Webhook resources.

ListWebhooks(String, String, Nullable<Int32>, CallSettings)

public virtual PagedEnumerable<ListWebhooksResponse, Webhook> ListWebhooks(string parent, string pageToken = null, int? pageSize = default(int? ), CallSettings callSettings = null)

Returns the list of all webhooks in the specified agent.

Parameters
NameDescription
parentSystem.String

Required. The agent to list all webhooks for. Format: projects/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;/agents/&amp;lt;Agent ID&amp;gt;.

pageTokenSystem.String

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeSystem.Nullable<System.Int32>

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Google.Api.Gax.PagedEnumerable<ListWebhooksResponse, Webhook>

A pageable sequence of Webhook resources.

ListWebhooksAsync(AgentName, String, Nullable<Int32>, CallSettings)

public virtual PagedAsyncEnumerable<ListWebhooksResponse, Webhook> ListWebhooksAsync(AgentName parent, string pageToken = null, int? pageSize = default(int? ), CallSettings callSettings = null)

Returns the list of all webhooks in the specified agent.

Parameters
NameDescription
parentAgentName

Required. The agent to list all webhooks for. Format: projects/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;/agents/&amp;lt;Agent ID&amp;gt;.

pageTokenSystem.String

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeSystem.Nullable<System.Int32>

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Google.Api.Gax.PagedAsyncEnumerable<ListWebhooksResponse, Webhook>

A pageable asynchronous sequence of Webhook resources.

ListWebhooksAsync(ListWebhooksRequest, CallSettings)

public virtual PagedAsyncEnumerable<ListWebhooksResponse, Webhook> ListWebhooksAsync(ListWebhooksRequest request, CallSettings callSettings = null)

Returns the list of all webhooks in the specified agent.

Parameters
NameDescription
requestListWebhooksRequest

The request object containing all of the parameters for the API call.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Google.Api.Gax.PagedAsyncEnumerable<ListWebhooksResponse, Webhook>

A pageable asynchronous sequence of Webhook resources.

ListWebhooksAsync(String, String, Nullable<Int32>, CallSettings)

public virtual PagedAsyncEnumerable<ListWebhooksResponse, Webhook> ListWebhooksAsync(string parent, string pageToken = null, int? pageSize = default(int? ), CallSettings callSettings = null)

Returns the list of all webhooks in the specified agent.

Parameters
NameDescription
parentSystem.String

Required. The agent to list all webhooks for. Format: projects/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;/agents/&amp;lt;Agent ID&amp;gt;.

pageTokenSystem.String

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeSystem.Nullable<System.Int32>

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Google.Api.Gax.PagedAsyncEnumerable<ListWebhooksResponse, Webhook>

A pageable asynchronous sequence of Webhook resources.

ShutdownDefaultChannelsAsync()

public static Task ShutdownDefaultChannelsAsync()

Shuts down any channels automatically created by Create() and CreateAsync(CancellationToken). Channels which weren't automatically created are not affected.

Returns
TypeDescription
System.Threading.Tasks.Task

A task representing the asynchronous shutdown operation.

Remarks

After calling this method, further calls to Create() and CreateAsync(CancellationToken) will create new channels, which could in turn be shut down by another call to this method.

UpdateWebhook(UpdateWebhookRequest, CallSettings)

public virtual Webhook UpdateWebhook(UpdateWebhookRequest request, CallSettings callSettings = null)

Updates the specified webhook.

Parameters
NameDescription
requestUpdateWebhookRequest

The request object containing all of the parameters for the API call.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Webhook

The RPC response.

UpdateWebhook(Webhook, FieldMask, CallSettings)

public virtual Webhook UpdateWebhook(Webhook webhook, FieldMask updateMask, CallSettings callSettings = null)

Updates the specified webhook.

Parameters
NameDescription
webhookWebhook

Required. The webhook to update.

updateMaskGoogle.Protobuf.WellKnownTypes.FieldMask

The mask to control which fields get updated. If the mask is not present, all fields will be updated.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Webhook

The RPC response.

UpdateWebhookAsync(UpdateWebhookRequest, CallSettings)

public virtual Task<Webhook> UpdateWebhookAsync(UpdateWebhookRequest request, CallSettings callSettings = null)

Updates the specified webhook.

Parameters
NameDescription
requestUpdateWebhookRequest

The request object containing all of the parameters for the API call.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
System.Threading.Tasks.Task<Webhook>

A Task containing the RPC response.

UpdateWebhookAsync(UpdateWebhookRequest, CancellationToken)

public virtual Task<Webhook> UpdateWebhookAsync(UpdateWebhookRequest request, CancellationToken cancellationToken)

Updates the specified webhook.

Parameters
NameDescription
requestUpdateWebhookRequest

The request object containing all of the parameters for the API call.

cancellationTokenSystem.Threading.CancellationToken

A System.Threading.CancellationToken to use for this RPC.

Returns
TypeDescription
System.Threading.Tasks.Task<Webhook>

A Task containing the RPC response.

UpdateWebhookAsync(Webhook, FieldMask, CallSettings)

public virtual Task<Webhook> UpdateWebhookAsync(Webhook webhook, FieldMask updateMask, CallSettings callSettings = null)

Updates the specified webhook.

Parameters
NameDescription
webhookWebhook

Required. The webhook to update.

updateMaskGoogle.Protobuf.WellKnownTypes.FieldMask

The mask to control which fields get updated. If the mask is not present, all fields will be updated.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
System.Threading.Tasks.Task<Webhook>

A Task containing the RPC response.

UpdateWebhookAsync(Webhook, FieldMask, CancellationToken)

public virtual Task<Webhook> UpdateWebhookAsync(Webhook webhook, FieldMask updateMask, CancellationToken cancellationToken)

Updates the specified webhook.

Parameters
NameDescription
webhookWebhook

Required. The webhook to update.

updateMaskGoogle.Protobuf.WellKnownTypes.FieldMask

The mask to control which fields get updated. If the mask is not present, all fields will be updated.

cancellationTokenSystem.Threading.CancellationToken

A System.Threading.CancellationToken to use for this RPC.

Returns
TypeDescription
System.Threading.Tasks.Task<Webhook>

A Task containing the RPC response.