Class WebhookUpdate.Builder
java.lang.Object
com.google.genai.gaos.models.webhooks.WebhookUpdate.Builder
- Enclosing class:
- WebhookUpdate
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Optional.state(WebhookUpdateState state) Optional.subscribedEvents(List<WebhookUpdateSubscribedEvent> subscribedEvents) Optional.Optional.
-
Method Details
-
name
Optional. The user-provided name of the webhook. -
state
Optional. The state of the webhook. -
subscribedEvents
public WebhookUpdate.Builder subscribedEvents(@Nullable List<WebhookUpdateSubscribedEvent> subscribedEvents) Optional. 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
Optional. The URI to which webhook events will be sent. -
build
-