Class WebhookInput.Builder
java.lang.Object
com.google.genai.gaos.models.webhooks.WebhookInput.Builder
- Enclosing class:
- WebhookInput
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Optional.subscribedEvents(List<WebhookSubscribedEvent> subscribedEvents) Required.Required.
-
Method Details
-
name
Optional. The user-provided name of the webhook. -
subscribedEvents
public WebhookInput.Builder subscribedEvents(@Nonnull List<WebhookSubscribedEvent> subscribedEvents) Required. The events that the webhook is subscribed to. Available events: - batch.succeeded - batch.expired - batch.failed - interaction.requires_action - interaction.completed - interaction.failed - video.generated -
uri
Required. The URI to which webhook events will be sent. -
build
-