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 Listing : IMessage<Listing>, IEquatable<Listing>, IDeepCloneable<Listing>, IBufferMessage, IMessage

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

A listing is what gets published into a data exchange that a subscriber can
subscribe to. It contains a reference to the data source along with
descriptive information that will help subscribers find and subscribe the
data.

## Inheritance

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

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[Listing](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.AnalyticsHub.V1/latest/Google.Cloud.BigQuery.AnalyticsHub.V1.Listing.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Listing](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.AnalyticsHub.V1/latest/Google.Cloud.BigQuery.AnalyticsHub.V1.Listing.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[Listing](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.AnalyticsHub.V1/latest/Google.Cloud.BigQuery.AnalyticsHub.V1.Listing.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

### Listing()

    public Listing()

### Listing(Listing)

    public Listing(Listing other)

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

## Properties

### AllowOnlyMetadataSharing

    public bool AllowOnlyMetadataSharing { get; set; }

Optional. If true, the listing is only available to get the resource
metadata. Listing is non subscribable.

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

### BigqueryDataset

    public Listing.Types.BigQueryDatasetSource BigqueryDataset { get; set; }

Shared dataset i.e. BigQuery dataset source.

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

### Categories

    public RepeatedField<Listing.Types.Category> Categories { get; }

Optional. Categories of the listing. Up to five categories are allowed.

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

### CommercialInfo

    public Listing.Types.CommercialInfo CommercialInfo { get; set; }

Output only. Commercial info contains the information about the commercial
data products associated with the listing.

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

### DataProvider

    public DataProvider DataProvider { get; set; }

Optional. Details of the data provider who owns the source data.

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

### Description

    public string Description { get; set; }

Optional. Short description of the listing. The description must not
contain Unicode non-characters and C0 and C1 control codes except tabs
(HT), new lines (LF), carriage returns (CR), and page breaks (FF). Default
value is an empty string. Max length: 2000 bytes.

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

### DiscoveryType

    public DiscoveryType DiscoveryType { get; set; }

Optional. Type of discovery of the listing on the discovery page.

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

### DisplayName

    public string DisplayName { get; set; }

Required. Human-readable display name of the listing. The display name must
contain only Unicode letters, numbers (0-9), underscores (_), dashes (-),
spaces ( ), ampersands (\&) and can't start or end with spaces. Default
value is an empty string. Max length: 63 bytes.

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

### Documentation

    public string Documentation { get; set; }

Optional. Documentation describing the listing.

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

### HasAllowOnlyMetadataSharing

    public bool HasAllowOnlyMetadataSharing { get; }

Gets whether the "allow_only_metadata_sharing" field is set

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

### HasDiscoveryType

    public bool HasDiscoveryType { get; }

Gets whether the "discovery_type" field is set

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

### HasLogLinkedDatasetQueryUserEmail

    public bool HasLogLinkedDatasetQueryUserEmail { get; }

Gets whether the "log_linked_dataset_query_user_email" field is set

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

### Icon

    public ByteString Icon { get; set; }

Optional. Base64 encoded image representing the listing. Max Size: 3.0MiB
Expected image dimensions are 512x512 pixels, however the API only
performs validation on size of the encoded data.
Note: For byte fields, the contents of the field are base64-encoded (which
increases the size of the data by 33-36%) when using JSON on the wire.

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

### 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.Listing.md.txt#Google_Cloud_BigQuery_AnalyticsHub_V1_Listing_Name) resource name property.

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

### LogLinkedDatasetQueryUserEmail

    public bool LogLinkedDatasetQueryUserEmail { get; set; }

Optional. By default, false.
If true, the Listing has an email sharing mandate enabled.

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

### Name

    public string Name { get; set; }

Output only. The resource name of the listing.
e.g. `projects/myproject/locations/us/dataExchanges/123/listings/456`

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

### PrimaryContact

    public string PrimaryContact { get; set; }

Optional. Email or URL of the primary point of contact of the listing.
Max Length: 1000 bytes.

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

### Publisher

    public Publisher Publisher { get; set; }

Optional. Details of the publisher who owns the listing and who can share
the source data.

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

### PubsubTopic

    public Listing.Types.PubSubTopicSource PubsubTopic { get; set; }

Pub/Sub topic source.

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

### RequestAccess

    public string RequestAccess { get; set; }

Optional. Email or URL of the request access of the listing.
Subscribers can use this reference to request access.
Max Length: 1000 bytes.

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

### ResourceType

    public SharedResourceType ResourceType { get; set; }

Output only. Listing shared asset type.

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

### RestrictedExportConfig

    public Listing.Types.RestrictedExportConfig RestrictedExportConfig { get; set; }

Optional. If set, restricted export configuration will be propagated and
enforced on the linked dataset.

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

### SourceCase

    public Listing.SourceOneofCase SourceCase { get; }

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

### State

    public Listing.Types.State State { get; set; }

Output only. Current state of the listing.

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

### StoredProcedureConfig

    public StoredProcedureConfig StoredProcedureConfig { get; set; }

Optional. If set, stored procedure configuration will be propagated and
enforced on the linked dataset.

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