Class WebhookConfig

java.lang.Object
com.google.genai.gaos.models.interactions.WebhookConfig

public class WebhookConfig extends Object
WebhookConfig

Message for configuring webhook events for a request.

  • Constructor Details

    • WebhookConfig

      public WebhookConfig(@Nullable List<String> uris, @Nullable Map<String,Object> userMetadata)
    • WebhookConfig

      public WebhookConfig()
  • Method Details

    • uris

      public Optional<List<String>> uris()
      Optional. If set, these webhook URIs will be used for webhook events instead of the registered webhooks.
    • userMetadata

      public Optional<Map<String,Object>> userMetadata()
      Optional. The user metadata that will be returned on each event emission to the webhooks.
    • builder

      public static WebhookConfig.Builder builder()
    • withUris

      public WebhookConfig withUris(@Nullable List<String> uris)
      Optional. If set, these webhook URIs will be used for webhook events instead of the registered webhooks.
    • withUserMetadata

      public WebhookConfig withUserMetadata(@Nullable Map<String,Object> userMetadata)
      Optional. The user metadata that will be returned on each event emission to the webhooks.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object