| Package | Description |
|---|---|
| com.google.api.services.pubsub.model |
| Modifier and Type | Method and Description |
|---|---|
PushConfig |
PushConfig.clone() |
PushConfig |
ModifyPushConfigRequest.getPushConfig()
Required.
|
PushConfig |
Subscription.getPushConfig()
If push delivery is used with this subscription, this field is used to configure it.
|
PushConfig |
PushConfig.set(String fieldName,
Object value) |
PushConfig |
PushConfig.setAttributes(Map<String,String> attributes)
Endpoint configuration attributes that can be used to control different aspects of the message
delivery.
|
PushConfig |
PushConfig.setNoWrapper(NoWrapper noWrapper)
When set, the payload to the push endpoint is not wrapped.
|
PushConfig |
PushConfig.setOidcToken(OidcToken oidcToken)
If specified, Pub/Sub will generate and attach an OIDC JWT token as an `Authorization` header
in the HTTP request for every pushed message.
|
PushConfig |
PushConfig.setPubsubWrapper(PubsubWrapper pubsubWrapper)
When set, the payload to the push endpoint is in the form of the JSON representation of a
PubsubMessage
(https://cloud.google.com/pubsub/docs/reference/rpc/google.pubsub.v1#pubsubmessage).
|
PushConfig |
PushConfig.setPushEndpoint(String pushEndpoint)
A URL locating the endpoint to which messages should be pushed.
|
| Modifier and Type | Method and Description |
|---|---|
ModifyPushConfigRequest |
ModifyPushConfigRequest.setPushConfig(PushConfig pushConfig)
Required.
|
Subscription |
Subscription.setPushConfig(PushConfig pushConfig)
If push delivery is used with this subscription, this field is used to configure it.
|
Copyright © 2011–2023 Google. All rights reserved.