Package com.google.genai.types
Class WebhookConfig.Builder
-
- All Implemented Interfaces:
public abstract class WebhookConfig.BuilderBuilder for WebhookConfig.
-
-
Constructor Summary
Constructors Constructor Description WebhookConfig.Builder()
-
Method Summary
Modifier and Type Method Description abstract WebhookConfig.Builderuris(List<String> uris)Setter for uris. WebhookConfig.Builderuris(Array<String> uris)Setter for uris. WebhookConfig.BuilderclearUris()Clears the value of uris field. abstract WebhookConfig.BuilderuserMetadata(Map<String, Object> userMetadata)Setter for userMetadata. WebhookConfig.BuilderclearUserMetadata()Clears the value of userMetadata field. abstract WebhookConfigbuild()-
-
Method Detail
-
uris
abstract WebhookConfig.Builder uris(List<String> uris)
Setter for uris.
uris: The webhook URIs to receive notifications. If set, these webhook URIs will be used instead of the registered webhooks.
-
uris
@CanIgnoreReturnValue() WebhookConfig.Builder uris(Array<String> uris)
Setter for uris.
uris: The webhook URIs to receive notifications. If set, these webhook URIs will be used instead of the registered webhooks.
-
clearUris
@CanIgnoreReturnValue() WebhookConfig.Builder clearUris()
Clears the value of uris field.
-
userMetadata
abstract WebhookConfig.Builder userMetadata(Map<String, Object> userMetadata)
Setter for userMetadata.
userMetadata: User metadata that will be included in each webhook event notification. Use this to attach custom key-value data to correlate webhook events with your internal systems.
-
clearUserMetadata
@CanIgnoreReturnValue() WebhookConfig.Builder clearUserMetadata()
Clears the value of userMetadata field.
-
build
abstract WebhookConfig build()
-
-
-
-