1.12.0 (latest) 1.11.0 1.10.0 1.9.0 1.8.0 1.7.0 1.6.0 1.5.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0

    public sealed class SubscribeListingRequest : IMessage<SubscribeListingRequest>, IEquatable<SubscribeListingRequest>, IDeepCloneable<SubscribeListingRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Analytics Hub v1 API class SubscribeListingRequest.

Message for subscribing to a listing.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> SubscribeListingRequest

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[SubscribeListingRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.AnalyticsHub.V1/latest/Google.Cloud.BigQuery.AnalyticsHub.V1.SubscribeListingRequest.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[SubscribeListingRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.AnalyticsHub.V1/latest/Google.Cloud.BigQuery.AnalyticsHub.V1.SubscribeListingRequest.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[SubscribeListingRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.AnalyticsHub.V1/latest/Google.Cloud.BigQuery.AnalyticsHub.V1.SubscribeListingRequest.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.BigQuery.AnalyticsHub.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.AnalyticsHub.V1/latest/Google.Cloud.BigQuery.AnalyticsHub.V1.md.txt)

## Assembly

Google.Cloud.BigQuery.AnalyticsHub.V1.dll

## Constructors

### SubscribeListingRequest()

    public SubscribeListingRequest()

### SubscribeListingRequest(SubscribeListingRequest)

    public SubscribeListingRequest(SubscribeListingRequest other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `SubscribeListingRequest` |

## Properties

### DestinationCase

    public SubscribeListingRequest.DestinationOneofCase DestinationCase { get; }

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `SubscribeListingRequestDestinationOneofCase` |   |

### DestinationDataset

    public DestinationDataset DestinationDataset { get; set; }

Input only. BigQuery destination dataset to create for the subscriber.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `DestinationDataset` |   |

### DestinationPubsubSubscription

    public DestinationPubSubSubscription DestinationPubsubSubscription { get; set; }

Input only. Destination Pub/Sub subscription to create for the
subscriber.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `DestinationPubSubSubscription` |   |

### ListingName

    public ListingName ListingName { get; set; }

[ListingName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.AnalyticsHub.V1/latest/Google.Cloud.BigQuery.AnalyticsHub.V1.ListingName.md.txt)-typed view over the [Name](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.AnalyticsHub.V1/latest/Google.Cloud.BigQuery.AnalyticsHub.V1.SubscribeListingRequest.md.txt#Google_Cloud_BigQuery_AnalyticsHub_V1_SubscribeListingRequest_Name) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `ListingName` |   |

### Name

    public string Name { get; set; }

Required. Resource name of the listing that you want to subscribe to.
e.g. `projects/myproject/locations/us/dataExchanges/123/listings/456`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |