Analytics Hub v1 API - Class DataExchange (1.7.0)

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

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

A data exchange is a container that lets you share data. Along with the descriptive information about the data exchange, it contains listings that reference shared datasets.

Inheritance

object > DataExchange

Namespace

Google.Cloud.BigQuery.AnalyticsHub.V1

Assembly

Google.Cloud.BigQuery.AnalyticsHub.V1.dll

Constructors

DataExchange()

public DataExchange()

DataExchange(DataExchange)

public DataExchange(DataExchange other)
Parameter
Name Description
other DataExchange

Properties

DataExchangeName

public DataExchangeName DataExchangeName { get; set; }

DataExchangeName-typed view over the Name resource name property.

Property Value
Type Description
DataExchangeName

Description

public string Description { get; set; }

Optional. Description of the data exchange. The description must not contain Unicode non-characters as well as 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 on the discovery page for all the listings under this exchange. Updating this field also updates (overwrites) the discovery_type field for all the listings under this exchange.

Property Value
Type Description
DiscoveryType

DisplayName

public string DisplayName { get; set; }

Required. Human-readable display name of the data exchange. The display name must contain only Unicode letters, numbers (0-9), underscores (_), dashes (-), spaces ( ), ampersands (&) and must not 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 data exchange.

Property Value
Type Description
string

HasDiscoveryType

public bool HasDiscoveryType { get; }

Gets whether the "discovery_type" field is set

Property Value
Type Description
bool

Icon

public ByteString Icon { get; set; }

Optional. Base64 encoded image representing the data exchange. 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 content of the fields are base64-encoded (which increases the size of the data by 33-36%) when using JSON on the wire.

Property Value
Type Description
ByteString

ListingCount

public int ListingCount { get; set; }

Output only. Number of listings contained in the data exchange.

Property Value
Type Description
int

Name

public string Name { get; set; }

Output only. The resource name of the data exchange. e.g. projects/myproject/locations/US/dataExchanges/123.

Property Value
Type Description
string

PrimaryContact

public string PrimaryContact { get; set; }

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

Property Value
Type Description
string

SharingEnvironmentConfig

public SharingEnvironmentConfig SharingEnvironmentConfig { get; set; }

Optional. Configurable data sharing environment option for a data exchange.

Property Value
Type Description
SharingEnvironmentConfig