Class WebhookConfig
- Namespace
- GenerativeAI.Types
- Assembly
- GenerativeAI.dll
Per-request webhook configuration for long-running operations (e.g. batch jobs): notifications are sent when the operation completes. Only supported by the Gemini Developer API.
public class WebhookConfig
- Inheritance
-
WebhookConfig
- Inherited Members
- Extension Methods
Properties
Uris
The webhook URIs to receive notifications. If set, these webhook URIs are used instead of the registered webhooks.
[JsonPropertyName("uris")]
public List<string>? Uris { get; set; }
Property Value
UserMetadata
User metadata that will be included in each webhook event notification. Use this to attach custom key-value data to correlate webhook events with your internal systems.
[JsonPropertyName("userMetadata")]
public Dictionary<string, JsonNode?>? UserMetadata { get; set; }