google-cloud-bigquery-analytics_hub-v1 0.10.0 → 0.11.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/google/cloud/bigquery/analytics_hub/v1/analytics_hub_service/client.rb +17 -12
- data/lib/google/cloud/bigquery/analytics_hub/v1/analytics_hub_service/operations.rb +2 -2
- data/lib/google/cloud/bigquery/analytics_hub/v1/analytics_hub_service/paths.rb +17 -0
- data/lib/google/cloud/bigquery/analytics_hub/v1/analytics_hub_service/rest/client.rb +16 -11
- data/lib/google/cloud/bigquery/analytics_hub/v1/analytics_hub_service/rest/operations.rb +1 -1
- data/lib/google/cloud/bigquery/analytics_hub/v1/version.rb +1 -1
- data/lib/google/cloud/bigquery/analyticshub/v1/analyticshub_pb.rb +6 -1
- data/lib/google/cloud/bigquery/analyticshub/v1/analyticshub_services_pb.rb +2 -2
- data/lib/google/cloud/bigquery/analyticshub/v1/pubsub_pb.rb +62 -0
- data/proto_docs/google/api/client.rb +14 -0
- data/proto_docs/google/cloud/bigquery/analyticshub/v1/analyticshub.rb +97 -13
- data/proto_docs/google/cloud/bigquery/analyticshub/v1/pubsub.rb +544 -0
- metadata +5 -3
@@ -67,6 +67,11 @@ module Google
|
|
67
67
|
# Optional. Type of discovery on the discovery page for all the listings
|
68
68
|
# under this exchange. Updating this field also updates (overwrites) the
|
69
69
|
# discovery_type field for all the listings under this exchange.
|
70
|
+
# @!attribute [rw] log_linked_dataset_query_user_email
|
71
|
+
# @return [::Boolean]
|
72
|
+
# Optional. By default, false.
|
73
|
+
# If true, the DataExchange has an email sharing mandate enabled.
|
74
|
+
# Publishers can view the logged email of the subscriber.
|
70
75
|
class DataExchange
|
71
76
|
include ::Google::Protobuf::MessageExts
|
72
77
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -142,7 +147,6 @@ module Google
|
|
142
147
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
143
148
|
end
|
144
149
|
|
145
|
-
# Contains the reference that identifies a destination bigquery dataset.
|
146
150
|
# @!attribute [rw] dataset_id
|
147
151
|
# @return [::String]
|
148
152
|
# Required. A unique ID for this dataset, without the project name. The ID
|
@@ -192,13 +196,29 @@ module Google
|
|
192
196
|
end
|
193
197
|
end
|
194
198
|
|
199
|
+
# Defines the destination Pub/Sub subscription.
|
200
|
+
# @!attribute [rw] pubsub_subscription
|
201
|
+
# @return [::Google::Cloud::Bigquery::AnalyticsHub::V1::PubSubSubscription]
|
202
|
+
# Required. Destination Pub/Sub subscription resource.
|
203
|
+
class DestinationPubSubSubscription
|
204
|
+
include ::Google::Protobuf::MessageExts
|
205
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
206
|
+
end
|
207
|
+
|
195
208
|
# A listing is what gets published into a data exchange that a subscriber can
|
196
209
|
# subscribe to. It contains a reference to the data source along with
|
197
210
|
# descriptive information that will help subscribers find and subscribe the
|
198
211
|
# data.
|
199
212
|
# @!attribute [rw] bigquery_dataset
|
200
213
|
# @return [::Google::Cloud::Bigquery::AnalyticsHub::V1::Listing::BigQueryDatasetSource]
|
201
|
-
#
|
214
|
+
# Shared dataset i.e. BigQuery dataset source.
|
215
|
+
#
|
216
|
+
# Note: The following fields are mutually exclusive: `bigquery_dataset`, `pubsub_topic`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
217
|
+
# @!attribute [rw] pubsub_topic
|
218
|
+
# @return [::Google::Cloud::Bigquery::AnalyticsHub::V1::Listing::PubSubTopicSource]
|
219
|
+
# Pub/Sub topic source.
|
220
|
+
#
|
221
|
+
# Note: The following fields are mutually exclusive: `pubsub_topic`, `bigquery_dataset`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
202
222
|
# @!attribute [r] name
|
203
223
|
# @return [::String]
|
204
224
|
# Output only. The resource name of the listing.
|
@@ -254,6 +274,13 @@ module Google
|
|
254
274
|
# @!attribute [rw] discovery_type
|
255
275
|
# @return [::Google::Cloud::Bigquery::AnalyticsHub::V1::DiscoveryType]
|
256
276
|
# Optional. Type of discovery of the listing on the discovery page.
|
277
|
+
# @!attribute [r] resource_type
|
278
|
+
# @return [::Google::Cloud::Bigquery::AnalyticsHub::V1::SharedResourceType]
|
279
|
+
# Output only. Listing shared asset type.
|
280
|
+
# @!attribute [rw] log_linked_dataset_query_user_email
|
281
|
+
# @return [::Boolean]
|
282
|
+
# Optional. By default, false.
|
283
|
+
# If true, the Listing has an email sharing mandate enabled.
|
257
284
|
class Listing
|
258
285
|
include ::Google::Protobuf::MessageExts
|
259
286
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -267,13 +294,12 @@ module Google
|
|
267
294
|
# dataset that serves as a _symbolic link_ to a shared dataset.
|
268
295
|
# @!attribute [rw] dataset
|
269
296
|
# @return [::String]
|
270
|
-
# Resource name of the dataset source for this listing.
|
297
|
+
# Optional. Resource name of the dataset source for this listing.
|
271
298
|
# e.g. `projects/myproject/datasets/123`
|
272
299
|
# @!attribute [rw] selected_resources
|
273
300
|
# @return [::Array<::Google::Cloud::Bigquery::AnalyticsHub::V1::Listing::BigQueryDatasetSource::SelectedResource>]
|
274
|
-
# Optional.
|
275
|
-
#
|
276
|
-
# shared. This field is only valid for data clean room exchanges.
|
301
|
+
# Optional. Resource in this dataset that is selectively shared.
|
302
|
+
# This field is required for data clean room exchanges.
|
277
303
|
# @!attribute [rw] restricted_export_policy
|
278
304
|
# @return [::Google::Cloud::Bigquery::AnalyticsHub::V1::Listing::BigQueryDatasetSource::RestrictedExportPolicy]
|
279
305
|
# Optional. If set, restricted export policy will be propagated and
|
@@ -282,7 +308,7 @@ module Google
|
|
282
308
|
include ::Google::Protobuf::MessageExts
|
283
309
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
284
310
|
|
285
|
-
# Resource in this dataset that
|
311
|
+
# Resource in this dataset that is selectively shared.
|
286
312
|
# @!attribute [rw] table
|
287
313
|
# @return [::String]
|
288
314
|
# Optional. Format:
|
@@ -313,6 +339,21 @@ module Google
|
|
313
339
|
end
|
314
340
|
end
|
315
341
|
|
342
|
+
# Pub/Sub topic source.
|
343
|
+
# @!attribute [rw] topic
|
344
|
+
# @return [::String]
|
345
|
+
# Required. Resource name of the Pub/Sub topic source for this listing.
|
346
|
+
# e.g. projects/myproject/topics/topicId
|
347
|
+
# @!attribute [rw] data_affinity_regions
|
348
|
+
# @return [::Array<::String>]
|
349
|
+
# Optional. Region hint on where the data might be published. Data affinity
|
350
|
+
# regions are modifiable. See https://cloud.google.com/about/locations for
|
351
|
+
# full listing of possible Cloud regions.
|
352
|
+
class PubSubTopicSource
|
353
|
+
include ::Google::Protobuf::MessageExts
|
354
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
355
|
+
end
|
356
|
+
|
316
357
|
# Restricted export config, used to configure restricted export on linked
|
317
358
|
# dataset.
|
318
359
|
# @!attribute [rw] enabled
|
@@ -431,6 +472,18 @@ module Google
|
|
431
472
|
# @!attribute [r] subscriber_contact
|
432
473
|
# @return [::String]
|
433
474
|
# Output only. Email of the subscriber.
|
475
|
+
# @!attribute [r] linked_resources
|
476
|
+
# @return [::Array<::Google::Cloud::Bigquery::AnalyticsHub::V1::Subscription::LinkedResource>]
|
477
|
+
# Output only. Linked resources created in the subscription. Only contains
|
478
|
+
# values if state = STATE_ACTIVE.
|
479
|
+
# @!attribute [r] resource_type
|
480
|
+
# @return [::Google::Cloud::Bigquery::AnalyticsHub::V1::SharedResourceType]
|
481
|
+
# Output only. Listing shared asset type.
|
482
|
+
# @!attribute [r] log_linked_dataset_query_user_email
|
483
|
+
# @return [::Boolean]
|
484
|
+
# Output only. By default, false.
|
485
|
+
# If true, the Subscriber agreed to the email sharing mandate
|
486
|
+
# that is enabled for DataExchange/Listing.
|
434
487
|
class Subscription
|
435
488
|
include ::Google::Protobuf::MessageExts
|
436
489
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -440,6 +493,17 @@ module Google
|
|
440
493
|
# @return [::String]
|
441
494
|
# Output only. Name of the linked dataset, e.g.
|
442
495
|
# projects/subscriberproject/datasets/linked_dataset
|
496
|
+
#
|
497
|
+
# Note: The following fields are mutually exclusive: `linked_dataset`, `linked_pubsub_subscription`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
498
|
+
# @!attribute [r] linked_pubsub_subscription
|
499
|
+
# @return [::String]
|
500
|
+
# Output only. Name of the Pub/Sub subscription, e.g.
|
501
|
+
# projects/subscriberproject/subscriptions/subscriptions/sub_id
|
502
|
+
#
|
503
|
+
# Note: The following fields are mutually exclusive: `linked_pubsub_subscription`, `linked_dataset`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
504
|
+
# @!attribute [r] listing
|
505
|
+
# @return [::String]
|
506
|
+
# Output only. Listing for which linked resource is created.
|
443
507
|
class LinkedResource
|
444
508
|
include ::Google::Protobuf::MessageExts
|
445
509
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -552,9 +616,7 @@ module Google
|
|
552
616
|
# @!attribute [rw] data_exchange_id
|
553
617
|
# @return [::String]
|
554
618
|
# Required. The ID of the data exchange.
|
555
|
-
# Must contain only
|
556
|
-
# Should not use characters that require URL-escaping, or characters
|
557
|
-
# outside of ASCII, spaces.
|
619
|
+
# Must contain only ASCII letters, numbers (0-9), underscores (_).
|
558
620
|
# Max length: 100 bytes.
|
559
621
|
# @!attribute [rw] data_exchange
|
560
622
|
# @return [::Google::Cloud::Bigquery::AnalyticsHub::V1::DataExchange]
|
@@ -636,9 +698,7 @@ module Google
|
|
636
698
|
# @!attribute [rw] listing_id
|
637
699
|
# @return [::String]
|
638
700
|
# Required. The ID of the listing to create.
|
639
|
-
# Must contain only
|
640
|
-
# Should not use characters that require URL-escaping, or characters
|
641
|
-
# outside of ASCII, spaces.
|
701
|
+
# Must contain only ASCII letters, numbers (0-9), underscores (_).
|
642
702
|
# Max length: 100 bytes.
|
643
703
|
# @!attribute [rw] listing
|
644
704
|
# @return [::Google::Cloud::Bigquery::AnalyticsHub::V1::Listing]
|
@@ -676,6 +736,14 @@ module Google
|
|
676
736
|
# @!attribute [rw] destination_dataset
|
677
737
|
# @return [::Google::Cloud::Bigquery::AnalyticsHub::V1::DestinationDataset]
|
678
738
|
# Input only. BigQuery destination dataset to create for the subscriber.
|
739
|
+
#
|
740
|
+
# Note: The following fields are mutually exclusive: `destination_dataset`, `destination_pubsub_subscription`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
741
|
+
# @!attribute [rw] destination_pubsub_subscription
|
742
|
+
# @return [::Google::Cloud::Bigquery::AnalyticsHub::V1::DestinationPubSubSubscription]
|
743
|
+
# Input only. Destination Pub/Sub subscription to create for the
|
744
|
+
# subscriber.
|
745
|
+
#
|
746
|
+
# Note: The following fields are mutually exclusive: `destination_pubsub_subscription`, `destination_dataset`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
679
747
|
# @!attribute [rw] name
|
680
748
|
# @return [::String]
|
681
749
|
# Required. Resource name of the listing that you want to subscribe to.
|
@@ -703,6 +771,9 @@ module Google
|
|
703
771
|
# @return [::String]
|
704
772
|
# Required. The parent resource path of the Subscription.
|
705
773
|
# e.g. `projects/subscriberproject/locations/US`
|
774
|
+
# @!attribute [rw] destination_dataset
|
775
|
+
# @return [::Google::Cloud::Bigquery::AnalyticsHub::V1::DestinationDataset]
|
776
|
+
# Optional. BigQuery destination dataset to create for the subscriber.
|
706
777
|
# @!attribute [rw] subscription
|
707
778
|
# @return [::String]
|
708
779
|
# Required. Name of the subscription to create.
|
@@ -843,6 +914,7 @@ module Google
|
|
843
914
|
end
|
844
915
|
|
845
916
|
# Message for response when you revoke a subscription.
|
917
|
+
# Empty for now.
|
846
918
|
class RevokeSubscriptionResponse
|
847
919
|
include ::Google::Protobuf::MessageExts
|
848
920
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -904,6 +976,18 @@ module Google
|
|
904
976
|
# list.
|
905
977
|
DISCOVERY_TYPE_PUBLIC = 2
|
906
978
|
end
|
979
|
+
|
980
|
+
# The underlying shared asset type shared in a listing by a publisher.
|
981
|
+
module SharedResourceType
|
982
|
+
# Not specified.
|
983
|
+
SHARED_RESOURCE_TYPE_UNSPECIFIED = 0
|
984
|
+
|
985
|
+
# BigQuery Dataset Asset.
|
986
|
+
BIGQUERY_DATASET = 1
|
987
|
+
|
988
|
+
# Pub/Sub Topic Asset.
|
989
|
+
PUBSUB_TOPIC = 2
|
990
|
+
end
|
907
991
|
end
|
908
992
|
end
|
909
993
|
end
|