Class WebhookInput
java.lang.Object
com.google.genai.gaos.models.webhooks.WebhookInput
WebhookInput
A Webhook resource.
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionWebhookInput(String name, List<WebhookSubscribedEvent> subscribedEvents, String uri) WebhookInput(List<WebhookSubscribedEvent> subscribedEvents, String uri) -
Method Summary
Modifier and TypeMethodDescriptionstatic WebhookInput.Builderbuilder()booleaninthashCode()name()Optional.Required.toString()uri()Required.Optional.withSubscribedEvents(List<WebhookSubscribedEvent> subscribedEvents) Required.Required.
-
Constructor Details
-
WebhookInput
public WebhookInput(@Nullable String name, @Nonnull List<WebhookSubscribedEvent> subscribedEvents, @Nonnull String uri) -
WebhookInput
-
-
Method Details
-
name
Optional. The user-provided name of the webhook. -
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. -
builder
-
withName
Optional. The user-provided name of the webhook. -
withSubscribedEvents
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 -
withUri
Required. The URI to which webhook events will be sent. -
equals
-
hashCode
public int hashCode() -
toString
-