Service Client: Google::Cloud::Bigquery::Dataexchange::V1beta1::Dataexchange::AnalyticsHubServiceClient

Client stub representing the remote AnalyticsHubService gRPC service. Delegates call dispatching to Google::gRPC::Client.

target

The endpoint target address. Defaults to bigquery.googleapis.com:443.

credentials

The authentication credentials provider. Defaults to application default credentials via Google::Auth.

NAME

Google::Cloud::Bigquery::Dataexchange::V1beta1::Dataexchange - Compiled Protocol Buffers messages for google/cloud/bigquery/dataexchange/v1beta1/dataexchange.proto

SYNOPSIS

use Google::Cloud::Bigquery::Dataexchange::V1beta1::Dataexchange;

my $msg = Google::Cloud::Bigquery::Dataexchange::V1beta1::Dataexchange::DataExchange->new({
    name => $name,
    display_name => $display_name,
    description => $description,
    primary_contact => $primary_contact,
});

# Read or update a field
my $val = $msg->name();

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Bigquery::Dataexchange::V1beta1::Dataexchange::DataExchange->parse($bytes);

# Canonical ProtoJSON
my $json = $msg->to_json();

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/bigquery/dataexchange/v1beta1/dataexchange.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().

MESSAGES

Google::Cloud::Bigquery::Dataexchange::V1beta1::Dataexchange::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.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

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

  • $msg->display_name() / $msg->display_name($value)

    Type: String

    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.

  • $msg->description() / $msg->description($value)

    Type: String

    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.

  • $msg->primary_contact() / $msg->primary_contact($value)

    Type: String

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

  • $msg->documentation() / $msg->documentation($value)

    Type: String

    Optional. Documentation describing the data exchange.

  • $msg->listing_count() / $msg->listing_count($value)

    Type: Int32

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

  • $msg->icon() / $msg->icon($value)

    Type: Bytes

    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.

Google::Cloud::Bigquery::Dataexchange::V1beta1::Dataexchange::DataProvider

Contains details of the data provider.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Optional. Name of the data provider.

  • $msg->primary_contact() / $msg->primary_contact($value)

    Type: String

    Optional. Email or URL of the data provider. Max Length: 1000 bytes.

Google::Cloud::Bigquery::Dataexchange::V1beta1::Dataexchange::Publisher

Contains details of the listing publisher.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Optional. Name of the listing publisher.

  • $msg->primary_contact() / $msg->primary_contact($value)

    Type: String

    Optional. Email or URL of the listing publisher. Max Length: 1000 bytes.

Google::Cloud::Bigquery::Dataexchange::V1beta1::Dataexchange::DestinationDatasetReference

Contains the reference that identifies a destination bigquery dataset.

Inherits from Protobuf::Message.

Accessors

  • $msg->dataset_id() / $msg->dataset_id($value)

    Type: String

    Required. A unique ID for this dataset, without the project name. The ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_). The maximum length is 1,024 characters.

  • $msg->project_id() / $msg->project_id($value)

    Type: String

    Required. The ID of the project containing this dataset.

Google::Cloud::Bigquery::Dataexchange::V1beta1::Dataexchange::DestinationDataset

Defines the destination bigquery dataset.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Bigquery::Dataexchange::V1beta1::Dataexchange::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.

Inherits from Protobuf::Message.

Accessors

  • $msg->bigquery_dataset() / $msg->bigquery_dataset($value)

    Type: Message (Google::Cloud::Bigquery::Dataexchange::V1beta1::Dataexchange::Listing::BigQueryDatasetSource)

    Required. Shared dataset i.e. BigQuery dataset source.

  • $msg->name() / $msg->name($value)

    Type: String

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

  • $msg->display_name() / $msg->display_name($value)

    Type: String

    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.

  • $msg->description() / $msg->description($value)

    Type: String

    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.

  • $msg->primary_contact() / $msg->primary_contact($value)

    Type: String

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

  • $msg->documentation() / $msg->documentation($value)

    Type: String

    Optional. Documentation describing the listing.

  • $msg->state() / $msg->state($value)

    Type: Enum (Google::Cloud::Bigquery::Dataexchange::V1beta1::Listing::State)

    Output only. Current state of the listing.

  • $msg->icon() / $msg->icon($value)

    Type: Bytes

    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.

  • $msg->data_provider() / $msg->data_provider($value)

    Type: Message (Google::Cloud::Bigquery::Dataexchange::V1beta1::Dataexchange::DataProvider)

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

  • $msg->categories() / $msg->categories($value)

    Type: Enum (Google::Cloud::Bigquery::Dataexchange::V1beta1::Listing::Category)

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

  • $msg->publisher() / $msg->publisher($value)

    Type: Message (Google::Cloud::Bigquery::Dataexchange::V1beta1::Dataexchange::Publisher)

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

  • $msg->request_access() / $msg->request_access($value)

    Type: String

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

Enum: Listing::State

  • STATE_UNSPECIFIED => 0

  • ACTIVE => 1

Enum: Listing::Category

  • CATEGORY_UNSPECIFIED => 0

  • CATEGORY_OTHERS => 1

  • CATEGORY_ADVERTISING_AND_MARKETING => 2

  • CATEGORY_COMMERCE => 3

  • CATEGORY_CLIMATE_AND_ENVIRONMENT => 4

  • CATEGORY_DEMOGRAPHICS => 5

  • CATEGORY_ECONOMICS => 6

  • CATEGORY_EDUCATION => 7

  • CATEGORY_ENERGY => 8

  • CATEGORY_FINANCIAL => 9

  • CATEGORY_GAMING => 10

  • CATEGORY_GEOSPATIAL => 11

  • CATEGORY_HEALTHCARE_AND_LIFE_SCIENCE => 12

  • CATEGORY_MEDIA => 13

  • CATEGORY_PUBLIC_SECTOR => 14

  • CATEGORY_RETAIL => 15

  • CATEGORY_SPORTS => 16

  • CATEGORY_SCIENCE_AND_RESEARCH => 17

  • CATEGORY_TRANSPORTATION_AND_LOGISTICS => 18

  • CATEGORY_TRAVEL_AND_TOURISM => 19

Google::Cloud::Bigquery::Dataexchange::V1beta1::Dataexchange::ListDataExchangesRequest

Message for requesting the list of data exchanges.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The parent resource path of the data exchanges. e.g. `projects/myproject/locations/US`.

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    The maximum number of results to return in a single response page. Leverage the page tokens to iterate through the entire collection.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    Page token, returned by a previous call, to request the next page of results.

Google::Cloud::Bigquery::Dataexchange::V1beta1::Dataexchange::ListDataExchangesResponse

Message for response to the list of data exchanges.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Bigquery::Dataexchange::V1beta1::Dataexchange::ListOrgDataExchangesRequest

Message for requesting the list of data exchanges from projects in an organization and location.

Inherits from Protobuf::Message.

Accessors

  • $msg->organization() / $msg->organization($value)

    Type: String

    Required. The organization resource path of the projects containing DataExchanges. e.g. `organizations/myorg/locations/US`.

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    The maximum number of results to return in a single response page. Leverage the page tokens to iterate through the entire collection.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    Page token, returned by a previous call, to request the next page of results.

Google::Cloud::Bigquery::Dataexchange::V1beta1::Dataexchange::ListOrgDataExchangesResponse

Message for response to listing data exchanges in an organization and location.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Bigquery::Dataexchange::V1beta1::Dataexchange::GetDataExchangeRequest

Message for getting a data exchange.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

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

Google::Cloud::Bigquery::Dataexchange::V1beta1::Dataexchange::CreateDataExchangeRequest

Message for creating a data exchange.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The parent resource path of the data exchange. e.g. `projects/myproject/locations/US`.

  • $msg->data_exchange_id() / $msg->data_exchange_id($value)

    Type: String

    Required. The ID of the data exchange. Must contain only Unicode letters, numbers (0-9), underscores (_). Should not use characters that require URL-escaping, or characters outside of ASCII, spaces. Max length: 100 bytes.

  • $msg->data_exchange() / $msg->data_exchange($value)

    Type: Message (Google::Cloud::Bigquery::Dataexchange::V1beta1::Dataexchange::DataExchange)

    Required. The data exchange to create.

Google::Cloud::Bigquery::Dataexchange::V1beta1::Dataexchange::UpdateDataExchangeRequest

Message for updating a data exchange.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Bigquery::Dataexchange::V1beta1::Dataexchange::DeleteDataExchangeRequest

Message for deleting a data exchange.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The full name of the data exchange resource that you want to delete. For example, `projects/myproject/locations/US/dataExchanges/123`.

Google::Cloud::Bigquery::Dataexchange::V1beta1::Dataexchange::ListListingsRequest

Message for requesting the list of listings.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The parent resource path of the listing. e.g. `projects/myproject/locations/US/dataExchanges/123`.

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    The maximum number of results to return in a single response page. Leverage the page tokens to iterate through the entire collection.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    Page token, returned by a previous call, to request the next page of results.

Google::Cloud::Bigquery::Dataexchange::V1beta1::Dataexchange::ListListingsResponse

Message for response to the list of Listings.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Bigquery::Dataexchange::V1beta1::Dataexchange::GetListingRequest

Message for getting a listing.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The resource name of the listing. e.g. `projects/myproject/locations/US/dataExchanges/123/listings/456`.

Google::Cloud::Bigquery::Dataexchange::V1beta1::Dataexchange::CreateListingRequest

Message for creating a listing.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The parent resource path of the listing. e.g. `projects/myproject/locations/US/dataExchanges/123`.

  • $msg->listing_id() / $msg->listing_id($value)

    Type: String

    Required. The ID of the listing to create. Must contain only Unicode letters, numbers (0-9), underscores (_). Should not use characters that require URL-escaping, or characters outside of ASCII, spaces. Max length: 100 bytes.

  • $msg->listing() / $msg->listing($value)

    Type: Message (Google::Cloud::Bigquery::Dataexchange::V1beta1::Dataexchange::Listing)

    Required. The listing to create.

Google::Cloud::Bigquery::Dataexchange::V1beta1::Dataexchange::UpdateListingRequest

Message for updating a Listing.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Bigquery::Dataexchange::V1beta1::Dataexchange::DeleteListingRequest

Message for deleting a listing.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. Resource name of the listing to delete. e.g. `projects/myproject/locations/US/dataExchanges/123/listings/456`.

Google::Cloud::Bigquery::Dataexchange::V1beta1::Dataexchange::SubscribeListingRequest

Message for subscribing to a listing.

Inherits from Protobuf::Message.

Accessors

  • $msg->destination_dataset() / $msg->destination_dataset($value)

    Type: Message (Google::Cloud::Bigquery::Dataexchange::V1beta1::Dataexchange::DestinationDataset)

    BigQuery destination dataset to create for the subscriber.

  • $msg->name() / $msg->name($value)

    Type: String

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

Google::Cloud::Bigquery::Dataexchange::V1beta1::Dataexchange::SubscribeListingResponse

Message for response when you subscribe to a listing.

Inherits from Protobuf::Message.

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Bigquery::Dataexchange::V1beta1::Dataexchange::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.