# Analytics Hub V1 API - Class Google::Cloud::Bigquery::AnalyticsHub::V1::SubscribeDataExchangeRequest (v0.19.0)

0.19.0 (latest) 0.18.0 0.17.0 0.16.1 0.15.0 0.14.0 0.13.1 0.12.0 0.11.1 0.10.0 0.9.0 0.8.1 0.7.0 0.6.0 0.5.2 0.4.0 0.3.0 0.2.1 0.1.0 Reference documentation and code samples for the Analytics Hub V1 API class Google::Cloud::Bigquery::AnalyticsHub::V1::SubscribeDataExchangeRequest.

Message for subscribing to a Data Exchange.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #destination

    def destination() -> ::String

**Returns**

- (::String) --- Required. The parent resource path of the Subscription. e.g. `projects/subscriberproject/locations/us`

### #destination=

    def destination=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The parent resource path of the Subscription. e.g. `projects/subscriberproject/locations/us`
**Returns**

- (::String) --- Required. The parent resource path of the Subscription. e.g. `projects/subscriberproject/locations/us`

### #destination_dataset

    def destination_dataset() -> ::Google::Cloud::Bigquery::AnalyticsHub::V1::DestinationDataset

**Returns**

- ([::Google::Cloud::Bigquery::AnalyticsHub::V1::DestinationDataset](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bigquery-analytics_hub-v1/latest/Google-Cloud-Bigquery-AnalyticsHub-V1-DestinationDataset)) --- Optional. BigQuery destination dataset to create for the subscriber.

### #destination_dataset=

    def destination_dataset=(value) -> ::Google::Cloud::Bigquery::AnalyticsHub::V1::DestinationDataset

**Parameter**

- **value** ([::Google::Cloud::Bigquery::AnalyticsHub::V1::DestinationDataset](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bigquery-analytics_hub-v1/latest/Google-Cloud-Bigquery-AnalyticsHub-V1-DestinationDataset)) --- Optional. BigQuery destination dataset to create for the subscriber.
**Returns**

- ([::Google::Cloud::Bigquery::AnalyticsHub::V1::DestinationDataset](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bigquery-analytics_hub-v1/latest/Google-Cloud-Bigquery-AnalyticsHub-V1-DestinationDataset)) --- Optional. BigQuery destination dataset to create for the subscriber.

### #name

    def name() -> ::String

**Returns**

- (::String) --- Required. Resource name of the Data Exchange. e.g. `projects/publisherproject/locations/us/dataExchanges/123`

### #name=

    def name=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. Resource name of the Data Exchange. e.g. `projects/publisherproject/locations/us/dataExchanges/123`
**Returns**

- (::String) --- Required. Resource name of the Data Exchange. e.g. `projects/publisherproject/locations/us/dataExchanges/123`

### #subscriber_contact

    def subscriber_contact() -> ::String

**Returns**

- (::String) --- Email of the subscriber.

### #subscriber_contact=

    def subscriber_contact=(value) -> ::String

**Parameter**

- **value** (::String) --- Email of the subscriber.
**Returns**

- (::String) --- Email of the subscriber.

### #subscription

    def subscription() -> ::String

**Returns**

- (::String) --- Required. Name of the subscription to create. e.g. `subscription1`

### #subscription=

    def subscription=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. Name of the subscription to create. e.g. `subscription1`
**Returns**

- (::String) --- Required. Name of the subscription to create. e.g. `subscription1`