Service Client: Google::Cloud::Bigquery::Analyticshub::V1::Analyticshub::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::Analyticshub::V1::Analyticshub - Compiled Protocol Buffers messages for google/cloud/bigquery/analyticshub/v1/analyticshub.proto

SYNOPSIS

use Google::Cloud::Bigquery::Analyticshub::V1::Analyticshub;

my $msg = Google::Cloud::Bigquery::Analyticshub::V1::Analyticshub::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::Analyticshub::V1::Analyticshub::DataExchange->parse($bytes);

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/bigquery/analyticshub/v1/analyticshub.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::Analyticshub::V1::Analyticshub::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.

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

    Type: Message (Google::Cloud::Bigquery::Analyticshub::V1::Analyticshub::SharingEnvironmentConfig)

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

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

    Type: Enum (Google::Cloud::Bigquery::Analyticshub::V1::DiscoveryType)

    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.

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

    Type: Bool

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

Google::Cloud::Bigquery::Analyticshub::V1::Analyticshub::QueryTemplate

A query template is a container for sharing table-valued functions defined by contributors in a data clean room.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

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

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

    Type: String

    Required. Human-readable display name of the QueryTemplate. 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 QueryTemplate. 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->proposer() / $msg->proposer($value)

    Type: String

    Optional. Will be deprecated. Email or URL of the primary point of contact of the QueryTemplate. Max Length: 1000 bytes.

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

    Type: String

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

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

    Type: String

    Optional. Documentation describing the QueryTemplate.

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

    Type: Enum (Google::Cloud::Bigquery::Analyticshub::V1::QueryTemplate::State)

    Output only. The QueryTemplate lifecycle state.

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

    Type: Message (Google::Cloud::Bigquery::Analyticshub::V1::Analyticshub::Routine)

    Optional. The routine associated with the QueryTemplate.

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

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. Timestamp when the QueryTemplate was created.

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

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. Timestamp when the QueryTemplate was last modified.

Enum: QueryTemplate::State

  • STATE_UNSPECIFIED => 0

  • DRAFTED => 1

  • PENDING => 2

  • DELETED => 3

  • APPROVED => 4

Google::Cloud::Bigquery::Analyticshub::V1::Analyticshub::Routine

Represents a bigquery routine.

Inherits from Protobuf::Message.

Accessors

Enum: Routine::RoutineType

  • ROUTINE_TYPE_UNSPECIFIED => 0

  • TABLE_VALUED_FUNCTION => 1

Google::Cloud::Bigquery::Analyticshub::V1::Analyticshub::CreateQueryTemplateRequest

Message for creating a QueryTemplate.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The parent resource path of the QueryTemplate. e.g. `projects/myproject/locations/us/dataExchanges/123/queryTemplates/myQueryTemplate`.

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

    Type: String

    Required. The ID of the QueryTemplate to create. Must contain only Unicode letters, numbers (0-9), underscores (_). Max length: 100 bytes.

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

    Type: Message (Google::Cloud::Bigquery::Analyticshub::V1::Analyticshub::QueryTemplate)

    Required. The QueryTemplate to create.

Google::Cloud::Bigquery::Analyticshub::V1::Analyticshub::GetQueryTemplateRequest

Message for creating a QueryTemplate.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The parent resource path of the QueryTemplate. e.g. `projects/myproject/locations/us/dataExchanges/123/queryTemplates/myqueryTemplate`.

Google::Cloud::Bigquery::Analyticshub::V1::Analyticshub::ListQueryTemplatesRequest

Message for requesting the list of QueryTemplates.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

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

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

    Type: Int32

    Optional. 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

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

Google::Cloud::Bigquery::Analyticshub::V1::Analyticshub::ListQueryTemplatesResponse

Message for response to the list of QueryTemplates.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Bigquery::Analyticshub::V1::Analyticshub::UpdateQueryTemplateRequest

Message for updating a QueryTemplate.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Bigquery::Analyticshub::V1::Analyticshub::DeleteQueryTemplateRequest

Message for deleting a QueryTemplate.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The resource path of the QueryTemplate. e.g. `projects/myproject/locations/us/dataExchanges/123/queryTemplates/myqueryTemplate`.

Google::Cloud::Bigquery::Analyticshub::V1::Analyticshub::SubmitQueryTemplateRequest

Message for submitting a QueryTemplate.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The resource path of the QueryTemplate. e.g. `projects/myproject/locations/us/dataExchanges/123/queryTemplates/myqueryTemplate`.

Google::Cloud::Bigquery::Analyticshub::V1::Analyticshub::ApproveQueryTemplateRequest

Message for approving a QueryTemplate.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The resource path of the QueryTemplate. e.g. `projects/myproject/locations/us/dataExchanges/123/queryTemplates/myqueryTemplate`.

Google::Cloud::Bigquery::Analyticshub::V1::Analyticshub::SharingEnvironmentConfig

Sharing environment is a behavior model for sharing data within a data exchange. This option is configurable for a data exchange.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Bigquery::Analyticshub::V1::Analyticshub::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::Analyticshub::V1::Analyticshub::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::Analyticshub::V1::Analyticshub::DestinationDatasetReference

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::Analyticshub::V1::Analyticshub::DestinationDataset

Defines the destination bigquery dataset.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Bigquery::Analyticshub::V1::Analyticshub::DestinationDatasetReference)

    Required. A reference that identifies the destination dataset.

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

    Type: Message (Google::Protobuf::Wrappers::StringValue)

    Optional. A descriptive name for the dataset.

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

    Type: Message (Google::Protobuf::Wrappers::StringValue)

    Optional. A user-friendly description of the dataset.

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

    Type: Message (Google::Cloud::Bigquery::Analyticshub::V1::Analyticshub::DestinationDataset::LabelsEntry)

    Optional. The labels associated with this dataset. You can use these to organize and group your datasets. You can set this property when inserting or updating a dataset. See https://cloud.google.com/resource-manager/docs/creating-managing-labels for more information.

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

    Type: String

    Required. The geographic location where the dataset should reside. See https://cloud.google.com/bigquery/docs/locations for supported locations.

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

    Type: String

    Optional. The geographic locations where the dataset should be replicated. See [BigQuery locations](https://cloud.google.com/bigquery/docs/locations) for supported locations.

Google::Cloud::Bigquery::Analyticshub::V1::Analyticshub::DestinationPubSubSubscription

Defines the destination Pub/Sub subscription.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Bigquery::Analyticshub::V1::Analyticshub::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::Analyticshub::V1::Analyticshub::Listing::BigQueryDatasetSource)

    Shared dataset i.e. BigQuery dataset source.

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

    Type: Message (Google::Cloud::Bigquery::Analyticshub::V1::Analyticshub::Listing::PubSubTopicSource)

    Pub/Sub topic 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::Analyticshub::V1::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::Analyticshub::V1::Analyticshub::DataProvider)

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

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

    Type: Enum (Google::Cloud::Bigquery::Analyticshub::V1::Listing::Category)

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

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

    Type: Message (Google::Cloud::Bigquery::Analyticshub::V1::Analyticshub::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.

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

    Type: Message (Google::Cloud::Bigquery::Analyticshub::V1::Analyticshub::Listing::RestrictedExportConfig)

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

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

    Type: Message (Google::Cloud::Bigquery::Analyticshub::V1::Analyticshub::StoredProcedureConfig)

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

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

    Type: Enum (Google::Cloud::Bigquery::Analyticshub::V1::DiscoveryType)

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

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

    Type: Enum (Google::Cloud::Bigquery::Analyticshub::V1::SharedResourceType)

    Output only. Listing shared asset type.

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

    Type: Message (Google::Cloud::Bigquery::Analyticshub::V1::Analyticshub::Listing::CommercialInfo)

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

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

    Type: Bool

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

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

    Type: Bool

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

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

  • CATEGORY_GOOGLE_EARTH_ENGINE => 20

Google::Cloud::Bigquery::Analyticshub::V1::Analyticshub::StoredProcedureConfig

Stored procedure configuration, used to configure stored procedure sharing on linked dataset.

Inherits from Protobuf::Message.

Accessors

Enum: StoredProcedureConfig::StoredProcedureType

  • STORED_PROCEDURE_TYPE_UNSPECIFIED => 0

  • SQL_PROCEDURE => 1

Google::Cloud::Bigquery::Analyticshub::V1::Analyticshub::Subscription

A subscription represents a subscribers' access to a particular set of published data. It contains references to associated listings, data exchanges, and linked datasets.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Output only. Resource name of the source Listing. e.g. projects/123/locations/us/dataExchanges/456/listings/789

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

    Type: String

    Output only. Resource name of the source Data Exchange. e.g. projects/123/locations/us/dataExchanges/456

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

    Type: String

    Output only. The resource name of the subscription. e.g. `projects/myproject/locations/us/subscriptions/123`.

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

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. Timestamp when the subscription was created.

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

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. Timestamp when the subscription was last modified.

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

    Type: String

    Output only. Organization of the project this subscription belongs to.

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

    Type: String

    Output only. Display name of the project of this subscription.

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

    Type: Enum (Google::Cloud::Bigquery::Analyticshub::V1::Subscription::State)

    Output only. Current state of the subscription.

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

    Type: Message (Google::Cloud::Bigquery::Analyticshub::V1::Analyticshub::Subscription::LinkedDatasetMapEntry)

    Output only. Map of listing resource names to associated linked resource, e.g. projects/123/locations/us/dataExchanges/456/listings/789 -> projects/123/datasets/my_dataset

    For listing-level subscriptions, this is a map of size 1. Only contains values if state == STATE_ACTIVE.

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

    Type: String

    Output only. Email of the subscriber.

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

    Type: Message (Google::Cloud::Bigquery::Analyticshub::V1::Analyticshub::Subscription::LinkedResource)

    Output only. Linked resources created in the subscription. Only contains values if state = STATE_ACTIVE.

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

    Type: Enum (Google::Cloud::Bigquery::Analyticshub::V1::SharedResourceType)

    Output only. Listing shared asset type.

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

    Type: Message (Google::Cloud::Bigquery::Analyticshub::V1::Analyticshub::Subscription::CommercialInfo)

    Output only. This is set if this is a commercial subscription i.e. if this subscription was created from subscribing to a commercial listing.

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

    Type: Bool

    Output only. By default, false. If true, the Subscriber agreed to the email sharing mandate that is enabled for DataExchange/Listing.

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

    Type: Message (Google::Cloud::Bigquery::Analyticshub::V1::Analyticshub::DestinationDataset)

    Optional. BigQuery destination dataset to create for the subscriber.

Enum: Subscription::State

  • STATE_UNSPECIFIED => 0

  • STATE_ACTIVE => 1

  • STATE_STALE => 2

  • STATE_INACTIVE => 3

Google::Cloud::Bigquery::Analyticshub::V1::Analyticshub::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::Analyticshub::V1::Analyticshub::ListDataExchangesResponse

Message for response to the list of data exchanges.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Bigquery::Analyticshub::V1::Analyticshub::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::Analyticshub::V1::Analyticshub::ListOrgDataExchangesResponse

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

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Bigquery::Analyticshub::V1::Analyticshub::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::Analyticshub::V1::Analyticshub::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 (_). Max length: 100 bytes.

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

    Type: Message (Google::Cloud::Bigquery::Analyticshub::V1::Analyticshub::DataExchange)

    Required. The data exchange to create.

Google::Cloud::Bigquery::Analyticshub::V1::Analyticshub::UpdateDataExchangeRequest

Message for updating a data exchange.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Bigquery::Analyticshub::V1::Analyticshub::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::Analyticshub::V1::Analyticshub::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::Analyticshub::V1::Analyticshub::ListListingsResponse

Message for response to the list of Listings.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Bigquery::Analyticshub::V1::Analyticshub::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::Analyticshub::V1::Analyticshub::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 (_). Max length: 100 bytes.

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

    Type: Message (Google::Cloud::Bigquery::Analyticshub::V1::Analyticshub::Listing)

    Required. The listing to create.

Google::Cloud::Bigquery::Analyticshub::V1::Analyticshub::UpdateListingRequest

Message for updating a Listing.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Bigquery::Analyticshub::V1::Analyticshub::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`.

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

    Type: Bool

    Optional. If the listing is commercial then this field must be set to true, otherwise a failure is thrown. This acts as a safety guard to avoid deleting commercial listings accidentally.

Google::Cloud::Bigquery::Analyticshub::V1::Analyticshub::SubscribeListingRequest

Message for subscribing to a listing.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Bigquery::Analyticshub::V1::Analyticshub::SubscribeListingResponse

Message for response when you subscribe to a listing.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Bigquery::Analyticshub::V1::Analyticshub::SubscribeDataExchangeRequest

Message for subscribing to a Data Exchange.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Resource name of the Data Exchange. e.g. `projects/publisherproject/locations/us/dataExchanges/123`

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

    Type: String

    Required. The parent resource path of the Subscription. e.g. `projects/subscriberproject/locations/us`

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

    Type: Message (Google::Cloud::Bigquery::Analyticshub::V1::Analyticshub::DestinationDataset)

    Optional. BigQuery destination dataset to create for the subscriber.

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

    Type: String

    Required. Name of the subscription to create. e.g. `subscription1`

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

    Type: String

    Email of the subscriber.

Google::Cloud::Bigquery::Analyticshub::V1::Analyticshub::SubscribeDataExchangeResponse

Message for response when you subscribe to a Data Exchange.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Bigquery::Analyticshub::V1::Analyticshub::RefreshSubscriptionRequest

Message for refreshing a subscription.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Resource name of the Subscription to refresh. e.g. `projects/subscriberproject/locations/us/subscriptions/123`

Google::Cloud::Bigquery::Analyticshub::V1::Analyticshub::RefreshSubscriptionResponse

Message for response when you refresh a subscription.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Bigquery::Analyticshub::V1::Analyticshub::GetSubscriptionRequest

Message for getting a subscription.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Resource name of the subscription. e.g. projects/123/locations/us/subscriptions/456

Google::Cloud::Bigquery::Analyticshub::V1::Analyticshub::ListSubscriptionsRequest

Message for listing subscriptions.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The parent resource path of the subscription. e.g. projects/myproject/locations/us

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

    Type: String

    An expression for filtering the results of the request. Eligible fields for filtering are:

    + `listing`
    + `data_exchange`

    Alternatively, a literal wrapped in double quotes may be provided. This will be checked for an exact match against both fields above.

    In all cases, the full Data Exchange or Listing resource name must be provided. Some example of using filters:

    + data_exchange="projects/myproject/locations/us/dataExchanges/123"
    + listing="projects/123/locations/us/dataExchanges/456/listings/789"
    + "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.

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

    Type: String

    Page token, returned by a previous call.

Google::Cloud::Bigquery::Analyticshub::V1::Analyticshub::ListSubscriptionsResponse

Message for response to the listing of subscriptions.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Bigquery::Analyticshub::V1::Analyticshub::ListSharedResourceSubscriptionsRequest

Message for listing subscriptions of a shared resource.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Resource name of the requested target. This resource may be either a Listing or a DataExchange. e.g. projects/123/locations/us/dataExchanges/456 OR e.g. projects/123/locations/us/dataExchanges/456/listings/789

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

    Type: Bool

    If selected, includes deleted subscriptions in the response (up to 63 days after deletion).

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

    Type: Int32

    The maximum number of results to return in a single response page.

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

    Type: String

    Page token, returned by a previous call.

Google::Cloud::Bigquery::Analyticshub::V1::Analyticshub::ListSharedResourceSubscriptionsResponse

Message for response to the listing of shared resource subscriptions.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Bigquery::Analyticshub::V1::Analyticshub::RevokeSubscriptionRequest

Message for revoking a subscription.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Resource name of the subscription to revoke. e.g. projects/123/locations/us/subscriptions/456

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

    Type: Bool

    Optional. If the subscription is commercial then this field must be set to true, otherwise a failure is thrown. This acts as a safety guard to avoid revoking commercial subscriptions accidentally.

Google::Cloud::Bigquery::Analyticshub::V1::Analyticshub::RevokeSubscriptionResponse

Message for response when you revoke a subscription. Empty for now.

Inherits from Protobuf::Message.

Google::Cloud::Bigquery::Analyticshub::V1::Analyticshub::DeleteSubscriptionRequest

Message for deleting a subscription.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Resource name of the subscription to delete. e.g. projects/123/locations/us/subscriptions/456

Google::Cloud::Bigquery::Analyticshub::V1::Analyticshub::OperationMetadata

Represents the metadata of a long-running operation in Analytics Hub.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The time the operation was created.

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

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The time the operation finished running.

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

    Type: String

    Output only. Server-defined resource path for the target of the operation.

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

    Type: String

    Output only. Name of the verb executed by the operation.

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

    Type: String

    Output only. Human-readable status of the operation, if any.

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

    Type: Bool

    Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have [Operation.error][] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to `Code.CANCELLED`.

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

    Type: String

    Output only. API version used to start the operation.

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Bigquery::Analyticshub::V1::Analyticshub::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.