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:
StringOutput only. The resource name of the data exchange. e.g. `projects/myproject/locations/us/dataExchanges/123`.
$msg->display_name()/$msg->display_name($value)Type:
StringRequired. 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:
StringOptional. 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:
StringOptional. Email or URL of the primary point of contact of the data exchange. Max Length: 1000 bytes.
$msg->documentation()/$msg->documentation($value)Type:
StringOptional. Documentation describing the data exchange.
$msg->listing_count()/$msg->listing_count($value)Type:
Int32Output only. Number of listings contained in the data exchange.
$msg->icon()/$msg->icon($value)Type:
BytesOptional. 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:
BoolOptional. 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:
StringOutput 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:
StringRequired. 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:
StringOptional. 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:
StringOptional. 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:
StringOptional. Email or URL of the primary point of contact of the QueryTemplate. Max Length: 1000 bytes.
$msg->documentation()/$msg->documentation($value)Type:
StringOptional. 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=>0DRAFTED=>1PENDING=>2DELETED=>3APPROVED=>4
Google::Cloud::Bigquery::Analyticshub::V1::Analyticshub::Routine
Represents a bigquery routine.
Inherits from Protobuf::Message.
Accessors
$msg->routine_type()/$msg->routine_type($value)Type:
Enum(Google::Cloud::Bigquery::Analyticshub::V1::Routine::RoutineType)Required. The type of routine.
$msg->definition_body()/$msg->definition_body($value)Type:
StringOptional. The definition body of the routine.
Enum: Routine::RoutineType
ROUTINE_TYPE_UNSPECIFIED=>0TABLE_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:
StringRequired. 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:
StringRequired. 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:
StringRequired. 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:
StringRequired. The parent resource path of the QueryTemplates. e.g. `projects/myproject/locations/us/dataExchanges/123`.
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. 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:
StringOptional. 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
$msg->query_templates()/$msg->query_templates($value)Type:
Message(Google::Cloud::Bigquery::Analyticshub::V1::Analyticshub::QueryTemplate)The list of QueryTemplates.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA token to request the next page of results.
Google::Cloud::Bigquery::Analyticshub::V1::Analyticshub::UpdateQueryTemplateRequest
Message for updating a QueryTemplate.
Inherits from Protobuf::Message.
Accessors
$msg->update_mask()/$msg->update_mask($value)Type:
Message(Google::Protobuf::FieldMask::FieldMask)Optional. Field mask specifies the fields to update in the query template resource. The fields specified in the `updateMask` are relative to the resource and are not a full request.
$msg->query_template()/$msg->query_template($value)Type:
Message(Google::Cloud::Bigquery::Analyticshub::V1::Analyticshub::QueryTemplate)Required. The QueryTemplate to update.
Google::Cloud::Bigquery::Analyticshub::V1::Analyticshub::DeleteQueryTemplateRequest
Message for deleting a QueryTemplate.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. 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:
StringRequired. 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:
StringRequired. 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
$msg->default_exchange_config()/$msg->default_exchange_config($value)Type:
Message(Google::Cloud::Bigquery::Analyticshub::V1::Analyticshub::SharingEnvironmentConfig::DefaultExchangeConfig)Default Analytics Hub data exchange, used for secured data sharing.
$msg->dcr_exchange_config()/$msg->dcr_exchange_config($value)Type:
Message(Google::Cloud::Bigquery::Analyticshub::V1::Analyticshub::SharingEnvironmentConfig::DcrExchangeConfig)Data Clean Room (DCR), used for privacy-safe and secured data sharing.
Google::Cloud::Bigquery::Analyticshub::V1::Analyticshub::DataProvider
Contains details of the data provider.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringOptional. Name of the data provider.
$msg->primary_contact()/$msg->primary_contact($value)Type:
StringOptional. 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:
StringOptional. Name of the listing publisher.
$msg->primary_contact()/$msg->primary_contact($value)Type:
StringOptional. 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:
StringRequired. 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:
StringRequired. 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:
StringRequired. 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:
StringOptional. 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
$msg->pubsub_subscription()/$msg->pubsub_subscription($value)Type:
Message(Google::Cloud::Bigquery::Analyticshub::V1::Pubsub::PubSubSubscription)Required. Destination Pub/Sub subscription resource.
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:
StringOutput 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:
StringRequired. 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:
StringOptional. 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:
StringOptional. Email or URL of the primary point of contact of the listing. Max Length: 1000 bytes.
$msg->documentation()/$msg->documentation($value)Type:
StringOptional. 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:
BytesOptional. 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:
StringOptional. 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:
BoolOptional. 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:
BoolOptional. If true, the listing is only available to get the resource metadata. Listing is non subscribable.
Enum: Listing::State
STATE_UNSPECIFIED=>0ACTIVE=>1
Enum: Listing::Category
CATEGORY_UNSPECIFIED=>0CATEGORY_OTHERS=>1CATEGORY_ADVERTISING_AND_MARKETING=>2CATEGORY_COMMERCE=>3CATEGORY_CLIMATE_AND_ENVIRONMENT=>4CATEGORY_DEMOGRAPHICS=>5CATEGORY_ECONOMICS=>6CATEGORY_EDUCATION=>7CATEGORY_ENERGY=>8CATEGORY_FINANCIAL=>9CATEGORY_GAMING=>10CATEGORY_GEOSPATIAL=>11CATEGORY_HEALTHCARE_AND_LIFE_SCIENCE=>12CATEGORY_MEDIA=>13CATEGORY_PUBLIC_SECTOR=>14CATEGORY_RETAIL=>15CATEGORY_SPORTS=>16CATEGORY_SCIENCE_AND_RESEARCH=>17CATEGORY_TRANSPORTATION_AND_LOGISTICS=>18CATEGORY_TRAVEL_AND_TOURISM=>19CATEGORY_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
$msg->enabled()/$msg->enabled($value)Type:
BoolOptional. If true, enable sharing of stored procedure.
$msg->allowed_stored_procedure_types()/$msg->allowed_stored_procedure_types($value)Type:
Enum(Google::Cloud::Bigquery::Analyticshub::V1::StoredProcedureConfig::StoredProcedureType)Output only. Types of stored procedure supported to share.
Enum: StoredProcedureConfig::StoredProcedureType
STORED_PROCEDURE_TYPE_UNSPECIFIED=>0SQL_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:
StringOutput 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:
StringOutput only. Resource name of the source Data Exchange. e.g. projects/123/locations/us/dataExchanges/456
$msg->name()/$msg->name($value)Type:
StringOutput 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:
StringOutput only. Organization of the project this subscription belongs to.
$msg->organization_display_name()/$msg->organization_display_name($value)Type:
StringOutput 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:
StringOutput 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:
BoolOutput 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=>0STATE_ACTIVE=>1STATE_STALE=>2STATE_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:
StringRequired. The parent resource path of the data exchanges. e.g. `projects/myproject/locations/us`.
$msg->page_size()/$msg->page_size($value)Type:
Int32The 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:
StringPage 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
$msg->data_exchanges()/$msg->data_exchanges($value)Type:
Message(Google::Cloud::Bigquery::Analyticshub::V1::Analyticshub::DataExchange)The list of data exchanges.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA token to request the next page of results.
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:
StringRequired. The organization resource path of the projects containing DataExchanges. e.g. `organizations/myorg/locations/us`.
$msg->page_size()/$msg->page_size($value)Type:
Int32The 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:
StringPage 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
$msg->data_exchanges()/$msg->data_exchanges($value)Type:
Message(Google::Cloud::Bigquery::Analyticshub::V1::Analyticshub::DataExchange)The list of data exchanges.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA token to request the next page of results.
Google::Cloud::Bigquery::Analyticshub::V1::Analyticshub::GetDataExchangeRequest
Message for getting a data exchange.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. 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:
StringRequired. The parent resource path of the data exchange. e.g. `projects/myproject/locations/us`.
$msg->data_exchange_id()/$msg->data_exchange_id($value)Type:
StringRequired. 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
$msg->update_mask()/$msg->update_mask($value)Type:
Message(Google::Protobuf::FieldMask::FieldMask)Required. Field mask specifies the fields to update in the data exchange resource. The fields specified in the `updateMask` are relative to the resource and are not a full request.
$msg->data_exchange()/$msg->data_exchange($value)Type:
Message(Google::Cloud::Bigquery::Analyticshub::V1::Analyticshub::DataExchange)Required. The data exchange to update.
Google::Cloud::Bigquery::Analyticshub::V1::Analyticshub::DeleteDataExchangeRequest
Message for deleting a data exchange.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. 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:
StringRequired. The parent resource path of the listing. e.g. `projects/myproject/locations/us/dataExchanges/123`.
$msg->page_size()/$msg->page_size($value)Type:
Int32The 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:
StringPage 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
$msg->listings()/$msg->listings($value)Type:
Message(Google::Cloud::Bigquery::Analyticshub::V1::Analyticshub::Listing)The list of Listing.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA token to request the next page of results.
Google::Cloud::Bigquery::Analyticshub::V1::Analyticshub::GetListingRequest
Message for getting a listing.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. 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:
StringRequired. The parent resource path of the listing. e.g. `projects/myproject/locations/us/dataExchanges/123`.
$msg->listing_id()/$msg->listing_id($value)Type:
StringRequired. 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
$msg->update_mask()/$msg->update_mask($value)Type:
Message(Google::Protobuf::FieldMask::FieldMask)Required. Field mask specifies the fields to update in the listing resource. The fields specified in the `updateMask` are relative to the resource and are not a full request.
$msg->listing()/$msg->listing($value)Type:
Message(Google::Cloud::Bigquery::Analyticshub::V1::Analyticshub::Listing)Required. The listing to update.
Google::Cloud::Bigquery::Analyticshub::V1::Analyticshub::DeleteListingRequest
Message for deleting a listing.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. 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:
BoolOptional. 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
$msg->destination_dataset()/$msg->destination_dataset($value)Type:
Message(Google::Cloud::Bigquery::Analyticshub::V1::Analyticshub::DestinationDataset)Input only. BigQuery destination dataset to create for the subscriber.
$msg->destination_pubsub_subscription()/$msg->destination_pubsub_subscription($value)Type:
Message(Google::Cloud::Bigquery::Analyticshub::V1::Analyticshub::DestinationPubSubSubscription)Input only. Destination Pub/Sub subscription to create for the subscriber.
$msg->name()/$msg->name($value)Type:
StringRequired. Resource name of the listing that you want to subscribe to. e.g. `projects/myproject/locations/us/dataExchanges/123/listings/456`.
Google::Cloud::Bigquery::Analyticshub::V1::Analyticshub::SubscribeListingResponse
Message for response when you subscribe to a listing.
Inherits from Protobuf::Message.
Accessors
$msg->subscription()/$msg->subscription($value)Type:
Message(Google::Cloud::Bigquery::Analyticshub::V1::Analyticshub::Subscription)Subscription object created from this subscribe action.
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:
StringRequired. Resource name of the Data Exchange. e.g. `projects/publisherproject/locations/us/dataExchanges/123`
$msg->destination()/$msg->destination($value)Type:
StringRequired. 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:
StringRequired. Name of the subscription to create. e.g. `subscription1`
$msg->subscriber_contact()/$msg->subscriber_contact($value)Type:
StringEmail 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
$msg->subscription()/$msg->subscription($value)Type:
Message(Google::Cloud::Bigquery::Analyticshub::V1::Analyticshub::Subscription)Subscription object created from this subscribe action.
Google::Cloud::Bigquery::Analyticshub::V1::Analyticshub::RefreshSubscriptionRequest
Message for refreshing a subscription.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. 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
$msg->subscription()/$msg->subscription($value)Type:
Message(Google::Cloud::Bigquery::Analyticshub::V1::Analyticshub::Subscription)The refreshed subscription resource.
Google::Cloud::Bigquery::Analyticshub::V1::Analyticshub::GetSubscriptionRequest
Message for getting a subscription.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. 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:
StringRequired. The parent resource path of the subscription. e.g. projects/myproject/locations/us
$msg->filter()/$msg->filter($value)Type:
StringAn 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:
Int32The maximum number of results to return in a single response page.
$msg->page_token()/$msg->page_token($value)Type:
StringPage 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
$msg->subscriptions()/$msg->subscriptions($value)Type:
Message(Google::Cloud::Bigquery::Analyticshub::V1::Analyticshub::Subscription)The list of subscriptions.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringNext page token.
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:
StringRequired. 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:
BoolIf selected, includes deleted subscriptions in the response (up to 63 days after deletion).
$msg->page_size()/$msg->page_size($value)Type:
Int32The maximum number of results to return in a single response page.
$msg->page_token()/$msg->page_token($value)Type:
StringPage 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
$msg->shared_resource_subscriptions()/$msg->shared_resource_subscriptions($value)Type:
Message(Google::Cloud::Bigquery::Analyticshub::V1::Analyticshub::Subscription)The list of subscriptions.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringNext page token.
Google::Cloud::Bigquery::Analyticshub::V1::Analyticshub::RevokeSubscriptionRequest
Message for revoking a subscription.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Resource name of the subscription to revoke. e.g. projects/123/locations/us/subscriptions/456
$msg->revoke_commercial()/$msg->revoke_commercial($value)Type:
BoolOptional. 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:
StringRequired. 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:
StringOutput only. Server-defined resource path for the target of the operation.
$msg->verb()/$msg->verb($value)Type:
StringOutput only. Name of the verb executed by the operation.
$msg->status_message()/$msg->status_message($value)Type:
StringOutput only. Human-readable status of the operation, if any.
$msg->requested_cancellation()/$msg->requested_cancellation($value)Type:
BoolOutput 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:
StringOutput 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.