Class Webhook.Builder
java.lang.Object
com.google.genai.gaos.models.webhooks.Webhook.Builder
- Enclosing class:
- Webhook
-
Method Summary
Modifier and TypeMethodDescriptionbuild()createTime(OffsetDateTime createTime) Output only.Output only.Optional.newSigningSecret(String newSigningSecret) Output only.signingSecrets(List<SigningSecret> signingSecrets) Output only.state(WebhookState state) Output only.subscribedEvents(List<WebhookSubscribedEvent> subscribedEvents) Required.updateTime(OffsetDateTime updateTime) Output only.Required.
-
Method Details
-
createTime
Output only. The timestamp when the webhook was created. -
id
Output only. The ID of the webhook. -
name
Optional. The user-provided name of the webhook. -
newSigningSecret
Output only. The new signing secret for the webhook. Only populated on create. -
signingSecrets
Output only. The signing secrets associated with this webhook. -
state
Output only. The state 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 -
updateTime
Output only. The timestamp when the webhook was last updated. -
uri
Required. The URI to which webhook events will be sent. -
build
-