Reference documentation and code samples for the Google Cloud BigQuery Analytics Hub V1 Client class SubscribeDataExchangeRequest.
Message for subscribing to a Data Exchange.
Generated from protobuf message google.cloud.bigquery.analyticshub.v1.SubscribeDataExchangeRequest
Namespace
Google \ Cloud \ BigQuery \ AnalyticsHub \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Required. Resource name of the Data Exchange. e.g. |
↳ destination |
string
Required. The parent resource path of the Subscription. e.g. |
↳ destination_dataset |
DestinationDataset
Optional. BigQuery destination dataset to create for the subscriber. |
↳ subscription |
string
Required. Name of the subscription to create. e.g. |
↳ subscriber_contact |
string
Email of the subscriber. |
getName
Required. Resource name of the Data Exchange.
e.g. projects/publisherproject/locations/us/dataExchanges/123
| Returns | |
|---|---|
| Type | Description |
string |
|
setName
Required. Resource name of the Data Exchange.
e.g. projects/publisherproject/locations/us/dataExchanges/123
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDestination
Required. The parent resource path of the Subscription.
e.g. projects/subscriberproject/locations/us
| Returns | |
|---|---|
| Type | Description |
string |
|
setDestination
Required. The parent resource path of the Subscription.
e.g. projects/subscriberproject/locations/us
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDestinationDataset
Optional. BigQuery destination dataset to create for the subscriber.
| Returns | |
|---|---|
| Type | Description |
DestinationDataset|null |
|
hasDestinationDataset
clearDestinationDataset
setDestinationDataset
Optional. BigQuery destination dataset to create for the subscriber.
| Parameter | |
|---|---|
| Name | Description |
var |
DestinationDataset
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSubscription
Required. Name of the subscription to create.
e.g. subscription1
| Returns | |
|---|---|
| Type | Description |
string |
|
setSubscription
Required. Name of the subscription to create.
e.g. subscription1
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSubscriberContact
Email of the subscriber.
| Returns | |
|---|---|
| Type | Description |
string |
|
setSubscriberContact
Email of the subscriber.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
static::build
| Parameter | |
|---|---|
| Name | Description |
name |
string
Required. Resource name of the Data Exchange.
e.g. |
| Returns | |
|---|---|
| Type | Description |
SubscribeDataExchangeRequest |
|