Class WebhookInput.Builder

java.lang.Object
com.google.genai.gaos.models.webhooks.WebhookInput.Builder
Enclosing class:
WebhookInput

public static final class WebhookInput.Builder extends Object
  • Method Details

    • name

      public WebhookInput.Builder name(@Nullable String 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

      public WebhookInput.Builder uri(@Nonnull String uri)
      Required. The URI to which webhook events will be sent.
    • build

      public WebhookInput build()