Reference documentation and code samples for the Google Cloud BeyondCorp AppConnectors V1 Client class CloudPubSubNotificationConfig.
The configuration for Pub/Sub messaging for the AppConnector.
Generated from protobuf message google.cloud.beyondcorp.appconnectors.v1.NotificationConfig.CloudPubSubNotificationConfig
Namespace
Google \ Cloud \ BeyondCorp \ AppConnectors \ V1 \ NotificationConfigMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ pubsub_subscription |
string
The Pub/Sub subscription the AppConnector uses to receive notifications. |
getPubsubSubscription
The Pub/Sub subscription the AppConnector uses to receive notifications.
| Returns | |
|---|---|
| Type | Description |
string |
|
setPubsubSubscription
The Pub/Sub subscription the AppConnector uses to receive notifications.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|