google-apis-analyticshub_v1 0.32.0 → 0.34.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bf5a924c17d71f274c5356a390b630175bb9a36090b8c44516af2d2413efdcea
4
- data.tar.gz: 227a9ca3e9c1023758e36b4db77366bfd53ef6e0d7a80a81ad5f2a6710d043df
3
+ metadata.gz: d172169e8ad24cc82953b8a50ef2ec637bbfa9f2d0aad5c8cf1323f409160826
4
+ data.tar.gz: 89a7287fbeca3f716c72859840e82b7d041c778086a97d355f9b8504d16d9fad
5
5
  SHA512:
6
- metadata.gz: 7ab15203498f56fa3b5dd8c380d4a4233b53fdfb56844532fd5ff6ce3fd4a7d0dfb9d7a3527613729f3c7a15865613be4a2ba19800bee5270f7c09b9aca7fa21
7
- data.tar.gz: 140456eea26cc8829786ba4afa73dbaa552f176ff4dbe4d1b5e18d9afeb0c847a29a909bee47b5bbcdc2fd6009f58665d8da736e53111cafe6ea54286f82e372
6
+ metadata.gz: be429c24b904ef2106477d003b340d58698a4109b4251c27733aeb49837e7d65e083ebe3459e7d413b4d50d6bc4c0e740d446cfd18180cbca2e4d0b4ffe65023
7
+ data.tar.gz: 8630d63728fdb1fedfeeea83ec7384d367a29fdc5b52004e69f7642fa9ed00be2738227e988c42a57cc827533f7a480fa52014f43b9c0dd70b782bebcbefeda5
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-analyticshub_v1
2
2
 
3
+ ### v0.34.0 (2025-05-18)
4
+
5
+ * Regenerated from discovery document revision 20250507
6
+
7
+ ### v0.33.0 (2025-05-11)
8
+
9
+ * Regenerated from discovery document revision 20250418
10
+ * Regenerated using generator version 0.17.0
11
+
3
12
  ### v0.32.0 (2025-04-20)
4
13
 
5
14
  * Regenerated from discovery document revision 20250414
data/OVERVIEW.md CHANGED
@@ -83,7 +83,7 @@ The [product documentation](https://cloud.google.com/bigquery/docs/analytics-hub
83
83
 
84
84
  ## Supported Ruby versions
85
85
 
86
- This library is supported on Ruby 2.7+.
86
+ This library is supported on Ruby 3.1+.
87
87
 
88
88
  Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
89
89
 
@@ -487,7 +487,7 @@ module Google
487
487
  alias_method :log_linked_dataset_query_user_email?, :log_linked_dataset_query_user_email
488
488
 
489
489
  # Output only. The resource name of the data exchange. e.g. `projects/myproject/
490
- # locations/US/dataExchanges/123`.
490
+ # locations/us/dataExchanges/123`.
491
491
  # Corresponds to the JSON property `name`
492
492
  # @return [String]
493
493
  attr_accessor :name
@@ -670,12 +670,6 @@ module Google
670
670
  # @return [String]
671
671
  attr_accessor :location
672
672
 
673
- # Optional. The geographic locations where the dataset should be replicated. See
674
- # https://cloud.google.com/bigquery/docs/locations for supported locations.
675
- # Corresponds to the JSON property `replicaLocations`
676
- # @return [Array<String>]
677
- attr_accessor :replica_locations
678
-
679
673
  def initialize(**args)
680
674
  update!(**args)
681
675
  end
@@ -687,7 +681,6 @@ module Google
687
681
  @friendly_name = args[:friendly_name] if args.key?(:friendly_name)
688
682
  @labels = args[:labels] if args.key?(:labels)
689
683
  @location = args[:location] if args.key?(:location)
690
- @replica_locations = args[:replica_locations] if args.key?(:replica_locations)
691
684
  end
692
685
  end
693
686
 
@@ -1337,6 +1330,13 @@ module Google
1337
1330
  class Listing
1338
1331
  include Google::Apis::Core::Hashable
1339
1332
 
1333
+ # Optional. If true, the listing is only available to get the resource metadata.
1334
+ # Listing is non subscribable.
1335
+ # Corresponds to the JSON property `allowOnlyMetadataSharing`
1336
+ # @return [Boolean]
1337
+ attr_accessor :allow_only_metadata_sharing
1338
+ alias_method :allow_only_metadata_sharing?, :allow_only_metadata_sharing
1339
+
1340
1340
  # A reference to a shared dataset. It is an existing BigQuery dataset with a
1341
1341
  # collection of objects such as tables and views that you want to share with
1342
1342
  # subscribers. When subscriber's subscribe to a listing, Analytics Hub creates a
@@ -1407,7 +1407,7 @@ module Google
1407
1407
  alias_method :log_linked_dataset_query_user_email?, :log_linked_dataset_query_user_email
1408
1408
 
1409
1409
  # Output only. The resource name of the listing. e.g. `projects/myproject/
1410
- # locations/US/dataExchanges/123/listings/456`
1410
+ # locations/us/dataExchanges/123/listings/456`
1411
1411
  # Corresponds to the JSON property `name`
1412
1412
  # @return [String]
1413
1413
  attr_accessor :name
@@ -1456,6 +1456,7 @@ module Google
1456
1456
 
1457
1457
  # Update properties of this object
1458
1458
  def update!(**args)
1459
+ @allow_only_metadata_sharing = args[:allow_only_metadata_sharing] if args.key?(:allow_only_metadata_sharing)
1459
1460
  @bigquery_dataset = args[:bigquery_dataset] if args.key?(:bigquery_dataset)
1460
1461
  @categories = args[:categories] if args.key?(:categories)
1461
1462
  @commercial_info = args[:commercial_info] if args.key?(:commercial_info)
@@ -2239,7 +2240,7 @@ module Google
2239
2240
  include Google::Apis::Core::Hashable
2240
2241
 
2241
2242
  # Required. The parent resource path of the Subscription. e.g. `projects/
2242
- # subscriberproject/locations/US`
2243
+ # subscriberproject/locations/us`
2243
2244
  # Corresponds to the JSON property `destination`
2244
2245
  # @return [String]
2245
2246
  attr_accessor :destination
@@ -2356,18 +2357,23 @@ module Google
2356
2357
  attr_accessor :creation_time
2357
2358
 
2358
2359
  # Output only. Resource name of the source Data Exchange. e.g. projects/123/
2359
- # locations/US/dataExchanges/456
2360
+ # locations/us/dataExchanges/456
2360
2361
  # Corresponds to the JSON property `dataExchange`
2361
2362
  # @return [String]
2362
2363
  attr_accessor :data_exchange
2363
2364
 
2365
+ # Defines the destination bigquery dataset.
2366
+ # Corresponds to the JSON property `destinationDataset`
2367
+ # @return [Google::Apis::AnalyticshubV1::DestinationDataset]
2368
+ attr_accessor :destination_dataset
2369
+
2364
2370
  # Output only. Timestamp when the subscription was last modified.
2365
2371
  # Corresponds to the JSON property `lastModifyTime`
2366
2372
  # @return [String]
2367
2373
  attr_accessor :last_modify_time
2368
2374
 
2369
2375
  # Output only. Map of listing resource names to associated linked resource, e.g.
2370
- # projects/123/locations/US/dataExchanges/456/listings/789 -> projects/123/
2376
+ # projects/123/locations/us/dataExchanges/456/listings/789 -> projects/123/
2371
2377
  # datasets/my_dataset For listing-level subscriptions, this is a map of size 1.
2372
2378
  # Only contains values if state == STATE_ACTIVE.
2373
2379
  # Corresponds to the JSON property `linkedDatasetMap`
@@ -2381,7 +2387,7 @@ module Google
2381
2387
  attr_accessor :linked_resources
2382
2388
 
2383
2389
  # Output only. Resource name of the source Listing. e.g. projects/123/locations/
2384
- # US/dataExchanges/456/listings/789
2390
+ # us/dataExchanges/456/listings/789
2385
2391
  # Corresponds to the JSON property `listing`
2386
2392
  # @return [String]
2387
2393
  attr_accessor :listing
@@ -2394,7 +2400,7 @@ module Google
2394
2400
  alias_method :log_linked_dataset_query_user_email?, :log_linked_dataset_query_user_email
2395
2401
 
2396
2402
  # Output only. The resource name of the subscription. e.g. `projects/myproject/
2397
- # locations/US/subscriptions/123`.
2403
+ # locations/us/subscriptions/123`.
2398
2404
  # Corresponds to the JSON property `name`
2399
2405
  # @return [String]
2400
2406
  attr_accessor :name
@@ -2433,6 +2439,7 @@ module Google
2433
2439
  @commercial_info = args[:commercial_info] if args.key?(:commercial_info)
2434
2440
  @creation_time = args[:creation_time] if args.key?(:creation_time)
2435
2441
  @data_exchange = args[:data_exchange] if args.key?(:data_exchange)
2442
+ @destination_dataset = args[:destination_dataset] if args.key?(:destination_dataset)
2436
2443
  @last_modify_time = args[:last_modify_time] if args.key?(:last_modify_time)
2437
2444
  @linked_dataset_map = args[:linked_dataset_map] if args.key?(:linked_dataset_map)
2438
2445
  @linked_resources = args[:linked_resources] if args.key?(:linked_resources)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module AnalyticshubV1
18
18
  # Version of the google-apis-analyticshub_v1 gem
19
- GEM_VERSION = "0.32.0"
19
+ GEM_VERSION = "0.34.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.16.0"
22
+ GENERATOR_VERSION = "0.17.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250414"
25
+ REVISION = "20250507"
26
26
  end
27
27
  end
28
28
  end
@@ -526,7 +526,6 @@ module Google
526
526
  property :friendly_name, as: 'friendlyName'
527
527
  hash :labels, as: 'labels'
528
528
  property :location, as: 'location'
529
- collection :replica_locations, as: 'replicaLocations'
530
529
  end
531
530
  end
532
531
 
@@ -709,6 +708,7 @@ module Google
709
708
  class Listing
710
709
  # @private
711
710
  class Representation < Google::Apis::Core::JsonRepresentation
711
+ property :allow_only_metadata_sharing, as: 'allowOnlyMetadataSharing'
712
712
  property :bigquery_dataset, as: 'bigqueryDataset', class: Google::Apis::AnalyticshubV1::BigQueryDatasetSource, decorator: Google::Apis::AnalyticshubV1::BigQueryDatasetSource::Representation
713
713
 
714
714
  collection :categories, as: 'categories'
@@ -967,6 +967,8 @@ module Google
967
967
 
968
968
  property :creation_time, as: 'creationTime'
969
969
  property :data_exchange, as: 'dataExchange'
970
+ property :destination_dataset, as: 'destinationDataset', class: Google::Apis::AnalyticshubV1::DestinationDataset, decorator: Google::Apis::AnalyticshubV1::DestinationDataset::Representation
971
+
970
972
  property :last_modify_time, as: 'lastModifyTime'
971
973
  hash :linked_dataset_map, as: 'linkedDatasetMap', class: Google::Apis::AnalyticshubV1::LinkedResource, decorator: Google::Apis::AnalyticshubV1::LinkedResource::Representation
972
974
 
@@ -54,7 +54,7 @@ module Google
54
54
  # Lists all data exchanges from projects in a given organization and location.
55
55
  # @param [String] organization
56
56
  # Required. The organization resource path of the projects containing
57
- # DataExchanges. e.g. `organizations/myorg/locations/US`.
57
+ # DataExchanges. e.g. `organizations/myorg/locations/us`.
58
58
  # @param [Fixnum] page_size
59
59
  # The maximum number of results to return in a single response page. Leverage
60
60
  # the page tokens to iterate through the entire collection.
@@ -92,7 +92,7 @@ module Google
92
92
  # Creates a new data exchange.
93
93
  # @param [String] parent
94
94
  # Required. The parent resource path of the data exchange. e.g. `projects/
95
- # myproject/locations/US`.
95
+ # myproject/locations/us`.
96
96
  # @param [Google::Apis::AnalyticshubV1::DataExchange] data_exchange_object
97
97
  # @param [String] data_exchange_id
98
98
  # Required. The ID of the data exchange. Must contain only Unicode letters,
@@ -130,7 +130,7 @@ module Google
130
130
  # Deletes an existing data exchange.
131
131
  # @param [String] name
132
132
  # Required. The full name of the data exchange resource that you want to delete.
133
- # For example, `projects/myproject/locations/US/dataExchanges/123`.
133
+ # For example, `projects/myproject/locations/us/dataExchanges/123`.
134
134
  # @param [String] fields
135
135
  # Selector specifying which fields to include in a partial response.
136
136
  # @param [String] quota_user
@@ -161,7 +161,7 @@ module Google
161
161
  # Gets the details of a data exchange.
162
162
  # @param [String] name
163
163
  # Required. The resource name of the data exchange. e.g. `projects/myproject/
164
- # locations/US/dataExchanges/123`.
164
+ # locations/us/dataExchanges/123`.
165
165
  # @param [String] fields
166
166
  # Selector specifying which fields to include in a partial response.
167
167
  # @param [String] quota_user
@@ -227,7 +227,7 @@ module Google
227
227
  # Lists all data exchanges in a given project and location.
228
228
  # @param [String] parent
229
229
  # Required. The parent resource path of the data exchanges. e.g. `projects/
230
- # myproject/locations/US`.
230
+ # myproject/locations/us`.
231
231
  # @param [Fixnum] page_size
232
232
  # The maximum number of results to return in a single response page. Leverage
233
233
  # the page tokens to iterate through the entire collection.
@@ -265,8 +265,8 @@ module Google
265
265
  # Lists all subscriptions on a given Data Exchange or Listing.
266
266
  # @param [String] resource
267
267
  # Required. Resource name of the requested target. This resource may be either a
268
- # Listing or a DataExchange. e.g. projects/123/locations/US/dataExchanges/456 OR
269
- # e.g. projects/123/locations/US/dataExchanges/456/listings/789
268
+ # Listing or a DataExchange. e.g. projects/123/locations/us/dataExchanges/456 OR
269
+ # e.g. projects/123/locations/us/dataExchanges/456/listings/789
270
270
  # @param [Boolean] include_deleted_subscriptions
271
271
  # If selected, includes deleted subscriptions in the response (up to 63 days
272
272
  # after deletion).
@@ -307,7 +307,7 @@ module Google
307
307
  # Updates an existing data exchange.
308
308
  # @param [String] name
309
309
  # Output only. The resource name of the data exchange. e.g. `projects/myproject/
310
- # locations/US/dataExchanges/123`.
310
+ # locations/us/dataExchanges/123`.
311
311
  # @param [Google::Apis::AnalyticshubV1::DataExchange] data_exchange_object
312
312
  # @param [String] update_mask
313
313
  # Required. Field mask specifies the fields to update in the data exchange
@@ -379,10 +379,11 @@ module Google
379
379
  end
380
380
 
381
381
  # Creates a Subscription to a Data Clean Room. This is a long-running operation
382
- # as it will create one or more linked datasets.
382
+ # as it will create one or more linked datasets. Throws a Bad Request error if
383
+ # the Data Exchange does not contain any listings.
383
384
  # @param [String] name
384
385
  # Required. Resource name of the Data Exchange. e.g. `projects/publisherproject/
385
- # locations/US/dataExchanges/123`
386
+ # locations/us/dataExchanges/123`
386
387
  # @param [Google::Apis::AnalyticshubV1::SubscribeDataExchangeRequest] subscribe_data_exchange_request_object
387
388
  # @param [String] fields
388
389
  # Selector specifying which fields to include in a partial response.
@@ -451,7 +452,7 @@ module Google
451
452
  # Creates a new listing.
452
453
  # @param [String] parent
453
454
  # Required. The parent resource path of the listing. e.g. `projects/myproject/
454
- # locations/US/dataExchanges/123`.
455
+ # locations/us/dataExchanges/123`.
455
456
  # @param [Google::Apis::AnalyticshubV1::Listing] listing_object
456
457
  # @param [String] listing_id
457
458
  # Required. The ID of the listing to create. Must contain only Unicode letters,
@@ -489,7 +490,7 @@ module Google
489
490
  # Deletes a listing.
490
491
  # @param [String] name
491
492
  # Required. Resource name of the listing to delete. e.g. `projects/myproject/
492
- # locations/US/dataExchanges/123/listings/456`.
493
+ # locations/us/dataExchanges/123/listings/456`.
493
494
  # @param [Boolean] delete_commercial
494
495
  # Optional. If the listing is commercial then this field must be set to true,
495
496
  # otherwise a failure is thrown. This acts as a safety guard to avoid deleting
@@ -525,7 +526,7 @@ module Google
525
526
  # Gets the details of a listing.
526
527
  # @param [String] name
527
528
  # Required. The resource name of the listing. e.g. `projects/myproject/locations/
528
- # US/dataExchanges/123/listings/456`.
529
+ # us/dataExchanges/123/listings/456`.
529
530
  # @param [String] fields
530
531
  # Selector specifying which fields to include in a partial response.
531
532
  # @param [String] quota_user
@@ -591,7 +592,7 @@ module Google
591
592
  # Lists all listings in a given project and location.
592
593
  # @param [String] parent
593
594
  # Required. The parent resource path of the listing. e.g. `projects/myproject/
594
- # locations/US/dataExchanges/123`.
595
+ # locations/us/dataExchanges/123`.
595
596
  # @param [Fixnum] page_size
596
597
  # The maximum number of results to return in a single response page. Leverage
597
598
  # the page tokens to iterate through the entire collection.
@@ -629,8 +630,8 @@ module Google
629
630
  # Lists all subscriptions on a given Data Exchange or Listing.
630
631
  # @param [String] resource
631
632
  # Required. Resource name of the requested target. This resource may be either a
632
- # Listing or a DataExchange. e.g. projects/123/locations/US/dataExchanges/456 OR
633
- # e.g. projects/123/locations/US/dataExchanges/456/listings/789
633
+ # Listing or a DataExchange. e.g. projects/123/locations/us/dataExchanges/456 OR
634
+ # e.g. projects/123/locations/us/dataExchanges/456/listings/789
634
635
  # @param [Boolean] include_deleted_subscriptions
635
636
  # If selected, includes deleted subscriptions in the response (up to 63 days
636
637
  # after deletion).
@@ -671,7 +672,7 @@ module Google
671
672
  # Updates an existing listing.
672
673
  # @param [String] name
673
674
  # Output only. The resource name of the listing. e.g. `projects/myproject/
674
- # locations/US/dataExchanges/123/listings/456`
675
+ # locations/us/dataExchanges/123/listings/456`
675
676
  # @param [Google::Apis::AnalyticshubV1::Listing] listing_object
676
677
  # @param [String] update_mask
677
678
  # Required. Field mask specifies the fields to update in the listing resource.
@@ -748,7 +749,7 @@ module Google
748
749
  # subscriber's project.
749
750
  # @param [String] name
750
751
  # Required. Resource name of the listing that you want to subscribe to. e.g. `
751
- # projects/myproject/locations/US/dataExchanges/123/listings/456`.
752
+ # projects/myproject/locations/us/dataExchanges/123/listings/456`.
752
753
  # @param [Google::Apis::AnalyticshubV1::SubscribeListingRequest] subscribe_listing_request_object
753
754
  # @param [String] fields
754
755
  # Selector specifying which fields to include in a partial response.
@@ -817,7 +818,7 @@ module Google
817
818
  # Deletes a subscription.
818
819
  # @param [String] name
819
820
  # Required. Resource name of the subscription to delete. e.g. projects/123/
820
- # locations/US/subscriptions/456
821
+ # locations/us/subscriptions/456
821
822
  # @param [String] fields
822
823
  # Selector specifying which fields to include in a partial response.
823
824
  # @param [String] quota_user
@@ -847,7 +848,7 @@ module Google
847
848
 
848
849
  # Gets the details of a Subscription.
849
850
  # @param [String] name
850
- # Required. Resource name of the subscription. e.g. projects/123/locations/US/
851
+ # Required. Resource name of the subscription. e.g. projects/123/locations/us/
851
852
  # subscriptions/456
852
853
  # @param [String] fields
853
854
  # Selector specifying which fields to include in a partial response.
@@ -914,7 +915,7 @@ module Google
914
915
  # Lists all subscriptions in a given project and location.
915
916
  # @param [String] parent
916
917
  # Required. The parent resource path of the subscription. e.g. projects/
917
- # myproject/locations/US
918
+ # myproject/locations/us
918
919
  # @param [String] filter
919
920
  # An expression for filtering the results of the request. Eligible fields for
920
921
  # filtering are: + `listing` + `data_exchange` Alternatively, a literal wrapped
@@ -963,7 +964,7 @@ module Google
963
964
  # may create many linked datasets.
964
965
  # @param [String] name
965
966
  # Required. Resource name of the Subscription to refresh. e.g. `projects/
966
- # subscriberproject/locations/US/subscriptions/123`
967
+ # subscriberproject/locations/us/subscriptions/123`
967
968
  # @param [Google::Apis::AnalyticshubV1::RefreshSubscriptionRequest] refresh_subscription_request_object
968
969
  # @param [String] fields
969
970
  # Selector specifying which fields to include in a partial response.
@@ -997,7 +998,7 @@ module Google
997
998
  # Revokes a given subscription.
998
999
  # @param [String] name
999
1000
  # Required. Resource name of the subscription to revoke. e.g. projects/123/
1000
- # locations/US/subscriptions/456
1001
+ # locations/us/subscriptions/456
1001
1002
  # @param [Google::Apis::AnalyticshubV1::RevokeSubscriptionRequest] revoke_subscription_request_object
1002
1003
  # @param [String] fields
1003
1004
  # Selector specifying which fields to include in a partial response.
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-analyticshub_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.32.0
4
+ version: 0.34.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-04-20 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: google-apis-core
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-analyticshub_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-analyticshub_v1/v0.32.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-analyticshub_v1/v0.34.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-analyticshub_v1
62
62
  rdoc_options: []
63
63
  require_paths:
@@ -66,14 +66,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
66
66
  requirements:
67
67
  - - ">="
68
68
  - !ruby/object:Gem::Version
69
- version: '2.7'
69
+ version: '3.1'
70
70
  required_rubygems_version: !ruby/object:Gem::Requirement
71
71
  requirements:
72
72
  - - ">="
73
73
  - !ruby/object:Gem::Version
74
74
  version: '0'
75
75
  requirements: []
76
- rubygems_version: 3.6.5
76
+ rubygems_version: 3.6.8
77
77
  specification_version: 4
78
78
  summary: Simple REST client for Analytics Hub API V1
79
79
  test_files: []