Reference documentation and code samples for the Google Cloud BigQuery Analytics Hub V1 Client class DestinationPubSubSubscription.
Defines the destination Pub/Sub subscription.
Generated from protobuf message google.cloud.bigquery.analyticshub.v1.DestinationPubSubSubscription
Namespace
Google \ Cloud \ BigQuery \ AnalyticsHub \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ pubsub_subscription |
PubSubSubscription
Required. Destination Pub/Sub subscription resource. |
getPubsubSubscription
Required. Destination Pub/Sub subscription resource.
Returns | |
---|---|
Type | Description |
PubSubSubscription|null |
hasPubsubSubscription
clearPubsubSubscription
setPubsubSubscription
Required. Destination Pub/Sub subscription resource.
Parameter | |
---|---|
Name | Description |
var |
PubSubSubscription
|
Returns | |
---|---|
Type | Description |
$this |