google-apis-analyticshub_v1 0.30.0 → 0.32.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: 5b459f9717f8be7aa88275571570a310c060feda2789420e0cc8af06ae9c84a9
4
- data.tar.gz: 67e701877fe8bf31705bacfd8d5eb42eac0e12ebb5b80d81bab787cf34d3bb35
3
+ metadata.gz: bf5a924c17d71f274c5356a390b630175bb9a36090b8c44516af2d2413efdcea
4
+ data.tar.gz: 227a9ca3e9c1023758e36b4db77366bfd53ef6e0d7a80a81ad5f2a6710d043df
5
5
  SHA512:
6
- metadata.gz: f1bb5274560d9d222eaf9ef290b1f0aa09f67b4cc69a94f380245ea1a8dacb753db6e12f20d2da02226b1e91648548dd34609007fb66856d0afdb1ab468ed197
7
- data.tar.gz: 47051837ac0314780a0e4b7a4a6d238966b3e1146cba43a70fdf73ec12717193a7b3d90c65772448f207cca5a88f4431aba49bf8761547e9c7eb1bea0bbcb165
6
+ metadata.gz: 7ab15203498f56fa3b5dd8c380d4a4233b53fdfb56844532fd5ff6ce3fd4a7d0dfb9d7a3527613729f3c7a15865613be4a2ba19800bee5270f7c09b9aca7fa21
7
+ data.tar.gz: 140456eea26cc8829786ba4afa73dbaa552f176ff4dbe4d1b5e18d9afeb0c847a29a909bee47b5bbcdc2fd6009f58665d8da736e53111cafe6ea54286f82e372
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-analyticshub_v1
2
2
 
3
+ ### v0.32.0 (2025-04-20)
4
+
5
+ * Regenerated from discovery document revision 20250414
6
+
7
+ ### v0.31.0 (2025-03-30)
8
+
9
+ * Regenerated from discovery document revision 20250315
10
+
3
11
  ### v0.30.0 (2025-03-23)
4
12
 
5
13
  * Regenerated from discovery document revision 20250310
@@ -22,35 +22,6 @@ module Google
22
22
  module Apis
23
23
  module AnalyticshubV1
24
24
 
25
- # Information about an associated [Analytics Hub subscription](https://cloud.
26
- # google.com/bigquery/docs/analytics-hub-manage-subscriptions).
27
- class AnalyticsHubSubscriptionInfo
28
- include Google::Apis::Core::Hashable
29
-
30
- # Optional. The name of the associated Analytics Hub listing resource. Pattern: "
31
- # projects/`project`/locations/`location`/dataExchanges/`data_exchange`/listings/
32
- # `listing`"
33
- # Corresponds to the JSON property `listing`
34
- # @return [String]
35
- attr_accessor :listing
36
-
37
- # Optional. The name of the associated Analytics Hub subscription resource.
38
- # Pattern: "projects/`project`/locations/`location`/subscriptions/`subscription`"
39
- # Corresponds to the JSON property `subscription`
40
- # @return [String]
41
- attr_accessor :subscription
42
-
43
- def initialize(**args)
44
- update!(**args)
45
- end
46
-
47
- # Update properties of this object
48
- def update!(**args)
49
- @listing = args[:listing] if args.key?(:listing)
50
- @subscription = args[:subscription] if args.key?(:subscription)
51
- end
52
- end
53
-
54
25
  # Specifies the audit configuration for a service. The configuration determines
55
26
  # which permission types are logged, and what identities, if any, are exempted
56
27
  # from logging. An AuditConfig must have one or more AuditLogConfigs. If there
@@ -178,12 +149,6 @@ module Google
178
149
  # @return [String]
179
150
  attr_accessor :service_account_email
180
151
 
181
- # Output only. An output-only field that indicates whether or not the
182
- # subscription can receive messages.
183
- # Corresponds to the JSON property `state`
184
- # @return [String]
185
- attr_accessor :state
186
-
187
152
  # Optional. The name of the table to which to write data, of the form `projectId`
188
153
  # .`datasetId`.`tableId`
189
154
  # Corresponds to the JSON property `table`
@@ -224,7 +189,6 @@ module Google
224
189
  def update!(**args)
225
190
  @drop_unknown_fields = args[:drop_unknown_fields] if args.key?(:drop_unknown_fields)
226
191
  @service_account_email = args[:service_account_email] if args.key?(:service_account_email)
227
- @state = args[:state] if args.key?(:state)
228
192
  @table = args[:table] if args.key?(:table)
229
193
  @use_table_schema = args[:use_table_schema] if args.key?(:use_table_schema)
230
194
  @use_topic_schema = args[:use_topic_schema] if args.key?(:use_topic_schema)
@@ -416,9 +380,12 @@ module Google
416
380
  # @return [Fixnum]
417
381
  attr_accessor :max_bytes
418
382
 
419
- # Optional. The maximum duration that can elapse before a new Cloud Storage file
420
- # is created. Min 1 minute, max 10 minutes, default 5 minutes. May not exceed
421
- # the subscription's acknowledgment deadline.
383
+ # Optional. File batching settings. If no max_duration setting is specified, a
384
+ # max_duration of 5 minutes will be set by default. max_duration is required
385
+ # regardless of whether other file batching settings are specified. The maximum
386
+ # duration that can elapse before a new Cloud Storage file is created. Min 1
387
+ # minute, max 10 minutes, default 5 minutes. May not exceed the subscription's
388
+ # acknowledgement deadline.
422
389
  # Corresponds to the JSON property `maxDuration`
423
390
  # @return [String]
424
391
  attr_accessor :max_duration
@@ -438,12 +405,6 @@ module Google
438
405
  # @return [String]
439
406
  attr_accessor :service_account_email
440
407
 
441
- # Output only. An output-only field that indicates whether or not the
442
- # subscription can receive messages.
443
- # Corresponds to the JSON property `state`
444
- # @return [String]
445
- attr_accessor :state
446
-
447
408
  # Configuration for writing message data in text format. Message payloads will
448
409
  # be written to files as raw text, separated by a newline.
449
410
  # Corresponds to the JSON property `textConfig`
@@ -465,7 +426,6 @@ module Google
465
426
  @max_duration = args[:max_duration] if args.key?(:max_duration)
466
427
  @max_messages = args[:max_messages] if args.key?(:max_messages)
467
428
  @service_account_email = args[:service_account_email] if args.key?(:service_account_email)
468
- @state = args[:state] if args.key?(:state)
469
429
  @text_config = args[:text_config] if args.key?(:text_config)
470
430
  end
471
431
  end
@@ -644,11 +604,11 @@ module Google
644
604
 
645
605
  # Optional. The maximum number of delivery attempts for any message. The value
646
606
  # must be between 5 and 100. The number of delivery attempts is defined as 1 + (
647
- # the sum of number of NACKs and number of times the acknowledgment deadline has
648
- # been exceeded for the message). A NACK is any call to ModifyAckDeadline with a
649
- # 0 deadline. Note that client libraries may automatically extend ack_deadlines.
650
- # This field will be honored on a best effort basis. If this parameter is 0, a
651
- # default value of 5 is used.
607
+ # the sum of number of NACKs and number of times the acknowledgement deadline
608
+ # has been exceeded for the message). A NACK is any call to ModifyAckDeadline
609
+ # with a 0 deadline. Note that client libraries may automatically extend
610
+ # ack_deadlines. This field will be honored on a best effort basis. If this
611
+ # parameter is 0, a default value of 5 is used.
652
612
  # Corresponds to the JSON property `maxDeliveryAttempts`
653
613
  # @return [Fixnum]
654
614
  attr_accessor :max_delivery_attempts
@@ -710,6 +670,12 @@ module Google
710
670
  # @return [String]
711
671
  attr_accessor :location
712
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
+
713
679
  def initialize(**args)
714
680
  update!(**args)
715
681
  end
@@ -721,6 +687,7 @@ module Google
721
687
  @friendly_name = args[:friendly_name] if args.key?(:friendly_name)
722
688
  @labels = args[:labels] if args.key?(:labels)
723
689
  @location = args[:location] if args.key?(:location)
690
+ @replica_locations = args[:replica_locations] if args.key?(:replica_locations)
724
691
  end
725
692
  end
726
693
 
@@ -755,9 +722,10 @@ module Google
755
722
  class DestinationPubSubSubscription
756
723
  include Google::Apis::Core::Hashable
757
724
 
758
- # A subscription resource. If none of `push_config`, `bigquery_config`, or `
759
- # cloud_storage_config` is set, then the subscriber will pull and ack messages
760
- # using API methods. At most one of these fields may be set.
725
+ # Defines the destination Pub/Sub subscription. If none of `push_config`, `
726
+ # bigquery_config`, `cloud_storage_config`, `pubsub_export_config`, or `
727
+ # pubsublite_export_config` is set, then the subscriber will pull and ack
728
+ # messages using API methods. At most one of these fields may be set.
761
729
  # Corresponds to the JSON property `pubsubSubscription`
762
730
  # @return [Google::Apis::AnalyticshubV1::GooglePubsubV1Subscription]
763
731
  attr_accessor :pubsub_subscription
@@ -999,9 +967,10 @@ module Google
999
967
  end
1000
968
  end
1001
969
 
1002
- # A subscription resource. If none of `push_config`, `bigquery_config`, or `
1003
- # cloud_storage_config` is set, then the subscriber will pull and ack messages
1004
- # using API methods. At most one of these fields may be set.
970
+ # Defines the destination Pub/Sub subscription. If none of `push_config`, `
971
+ # bigquery_config`, `cloud_storage_config`, `pubsub_export_config`, or `
972
+ # pubsublite_export_config` is set, then the subscriber will pull and ack
973
+ # messages using API methods. At most one of these fields may be set.
1005
974
  class GooglePubsubV1Subscription
1006
975
  include Google::Apis::Core::Hashable
1007
976
 
@@ -1024,12 +993,6 @@ module Google
1024
993
  # @return [Fixnum]
1025
994
  attr_accessor :ack_deadline_seconds
1026
995
 
1027
- # Information about an associated [Analytics Hub subscription](https://cloud.
1028
- # google.com/bigquery/docs/analytics-hub-manage-subscriptions).
1029
- # Corresponds to the JSON property `analyticsHubSubscriptionInfo`
1030
- # @return [Google::Apis::AnalyticshubV1::AnalyticsHubSubscriptionInfo]
1031
- attr_accessor :analytics_hub_subscription_info
1032
-
1033
996
  # Configuration for a BigQuery subscription.
1034
997
  # Corresponds to the JSON property `bigqueryConfig`
1035
998
  # @return [Google::Apis::AnalyticshubV1::BigQueryConfig]
@@ -1061,7 +1024,7 @@ module Google
1061
1024
  # Optional. If true, Pub/Sub provides the following guarantees for the delivery
1062
1025
  # of a message with a given value of `message_id` on this subscription: * The
1063
1026
  # message sent to a subscriber is guaranteed not to be resent before the message'
1064
- # s acknowledgment deadline expires. * An acknowledged message will not be
1027
+ # s acknowledgement deadline expires. * An acknowledged message will not be
1065
1028
  # resent to a subscriber. Note that subscribers may still receive multiple
1066
1029
  # copies of a message when `enable_exactly_once_delivery` is true if the message
1067
1030
  # was published multiple times by a publisher client. These copies are
@@ -1140,7 +1103,7 @@ module Google
1140
1103
  # A policy that specifies how Pub/Sub retries message delivery. Retry delay will
1141
1104
  # be exponential based on provided minimum and maximum backoffs. https://en.
1142
1105
  # wikipedia.org/wiki/Exponential_backoff. RetryPolicy will be triggered on NACKs
1143
- # or acknowledgment deadline exceeded events for a given message. Retry Policy
1106
+ # or acknowledgement deadline exceeded events for a given message. Retry Policy
1144
1107
  # is implemented on a best effort basis. At times, the delay between consecutive
1145
1108
  # deliveries may not match the configuration. That is, delay can be more or less
1146
1109
  # than configured backoff.
@@ -1148,22 +1111,6 @@ module Google
1148
1111
  # @return [Google::Apis::AnalyticshubV1::RetryPolicy]
1149
1112
  attr_accessor :retry_policy
1150
1113
 
1151
- # Output only. An output-only field indicating whether or not the subscription
1152
- # can receive messages.
1153
- # Corresponds to the JSON property `state`
1154
- # @return [String]
1155
- attr_accessor :state
1156
-
1157
- # Output only. Indicates the minimum duration for which a message is retained
1158
- # after it is published to the subscription's topic. If this field is set,
1159
- # messages published to the subscription's topic in the last `
1160
- # topic_message_retention_duration` are always available to subscribers. See the
1161
- # `message_retention_duration` field in `Topic`. This field is set only in
1162
- # responses from the server; it is ignored if it is set in any requests.
1163
- # Corresponds to the JSON property `topicMessageRetentionDuration`
1164
- # @return [String]
1165
- attr_accessor :topic_message_retention_duration
1166
-
1167
1114
  def initialize(**args)
1168
1115
  update!(**args)
1169
1116
  end
@@ -1171,7 +1118,6 @@ module Google
1171
1118
  # Update properties of this object
1172
1119
  def update!(**args)
1173
1120
  @ack_deadline_seconds = args[:ack_deadline_seconds] if args.key?(:ack_deadline_seconds)
1174
- @analytics_hub_subscription_info = args[:analytics_hub_subscription_info] if args.key?(:analytics_hub_subscription_info)
1175
1121
  @bigquery_config = args[:bigquery_config] if args.key?(:bigquery_config)
1176
1122
  @cloud_storage_config = args[:cloud_storage_config] if args.key?(:cloud_storage_config)
1177
1123
  @dead_letter_policy = args[:dead_letter_policy] if args.key?(:dead_letter_policy)
@@ -1187,8 +1133,6 @@ module Google
1187
1133
  @push_config = args[:push_config] if args.key?(:push_config)
1188
1134
  @retain_acked_messages = args[:retain_acked_messages] if args.key?(:retain_acked_messages)
1189
1135
  @retry_policy = args[:retry_policy] if args.key?(:retry_policy)
1190
- @state = args[:state] if args.key?(:state)
1191
- @topic_message_retention_duration = args[:topic_message_retention_duration] if args.key?(:topic_message_retention_duration)
1192
1136
  end
1193
1137
  end
1194
1138
 
@@ -1846,8 +1790,8 @@ module Google
1846
1790
  include Google::Apis::Core::Hashable
1847
1791
 
1848
1792
  # Optional. Region hint on where the data might be published. Data affinity
1849
- # regions are modifiable. See go/regions for full listing of possible Cloud
1850
- # regions.
1793
+ # regions are modifiable. See https://cloud.google.com/about/locations for full
1794
+ # listing of possible Cloud regions.
1851
1795
  # Corresponds to the JSON property `dataAffinityRegions`
1852
1796
  # @return [Array<String>]
1853
1797
  attr_accessor :data_affinity_regions
@@ -2078,7 +2022,7 @@ module Google
2078
2022
  # A policy that specifies how Pub/Sub retries message delivery. Retry delay will
2079
2023
  # be exponential based on provided minimum and maximum backoffs. https://en.
2080
2024
  # wikipedia.org/wiki/Exponential_backoff. RetryPolicy will be triggered on NACKs
2081
- # or acknowledgment deadline exceeded events for a given message. Retry Policy
2025
+ # or acknowledgement deadline exceeded events for a given message. Retry Policy
2082
2026
  # is implemented on a best effort basis. At times, the delay between consecutive
2083
2027
  # deliveries may not match the configuration. That is, delay can be more or less
2084
2028
  # than configured backoff.
@@ -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.30.0"
19
+ GEM_VERSION = "0.32.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.16.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250310"
25
+ REVISION = "20250414"
26
26
  end
27
27
  end
28
28
  end
@@ -22,12 +22,6 @@ module Google
22
22
  module Apis
23
23
  module AnalyticshubV1
24
24
 
25
- class AnalyticsHubSubscriptionInfo
26
- class Representation < Google::Apis::Core::JsonRepresentation; end
27
-
28
- include Google::Apis::Core::JsonObjectSupport
29
- end
30
-
31
25
  class AuditConfig
32
26
  class Representation < Google::Apis::Core::JsonRepresentation; end
33
27
 
@@ -400,14 +394,6 @@ module Google
400
394
  include Google::Apis::Core::JsonObjectSupport
401
395
  end
402
396
 
403
- class AnalyticsHubSubscriptionInfo
404
- # @private
405
- class Representation < Google::Apis::Core::JsonRepresentation
406
- property :listing, as: 'listing'
407
- property :subscription, as: 'subscription'
408
- end
409
- end
410
-
411
397
  class AuditConfig
412
398
  # @private
413
399
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -438,7 +424,6 @@ module Google
438
424
  class Representation < Google::Apis::Core::JsonRepresentation
439
425
  property :drop_unknown_fields, as: 'dropUnknownFields'
440
426
  property :service_account_email, as: 'serviceAccountEmail'
441
- property :state, as: 'state'
442
427
  property :table, as: 'table'
443
428
  property :use_table_schema, as: 'useTableSchema'
444
429
  property :use_topic_schema, as: 'useTopicSchema'
@@ -480,7 +465,6 @@ module Google
480
465
  property :max_duration, as: 'maxDuration'
481
466
  property :max_messages, :numeric_string => true, as: 'maxMessages'
482
467
  property :service_account_email, as: 'serviceAccountEmail'
483
- property :state, as: 'state'
484
468
  property :text_config, as: 'textConfig', class: Google::Apis::AnalyticshubV1::TextConfig, decorator: Google::Apis::AnalyticshubV1::TextConfig::Representation
485
469
 
486
470
  end
@@ -542,6 +526,7 @@ module Google
542
526
  property :friendly_name, as: 'friendlyName'
543
527
  hash :labels, as: 'labels'
544
528
  property :location, as: 'location'
529
+ collection :replica_locations, as: 'replicaLocations'
545
530
  end
546
531
  end
547
532
 
@@ -634,8 +619,6 @@ module Google
634
619
  # @private
635
620
  class Representation < Google::Apis::Core::JsonRepresentation
636
621
  property :ack_deadline_seconds, as: 'ackDeadlineSeconds'
637
- property :analytics_hub_subscription_info, as: 'analyticsHubSubscriptionInfo', class: Google::Apis::AnalyticshubV1::AnalyticsHubSubscriptionInfo, decorator: Google::Apis::AnalyticshubV1::AnalyticsHubSubscriptionInfo::Representation
638
-
639
622
  property :bigquery_config, as: 'bigqueryConfig', class: Google::Apis::AnalyticshubV1::BigQueryConfig, decorator: Google::Apis::AnalyticshubV1::BigQueryConfig::Representation
640
623
 
641
624
  property :cloud_storage_config, as: 'cloudStorageConfig', class: Google::Apis::AnalyticshubV1::CloudStorageConfig, decorator: Google::Apis::AnalyticshubV1::CloudStorageConfig::Representation
@@ -658,8 +641,6 @@ module Google
658
641
  property :retain_acked_messages, as: 'retainAckedMessages'
659
642
  property :retry_policy, as: 'retryPolicy', class: Google::Apis::AnalyticshubV1::RetryPolicy, decorator: Google::Apis::AnalyticshubV1::RetryPolicy::Representation
660
643
 
661
- property :state, as: 'state'
662
- property :topic_message_retention_duration, as: 'topicMessageRetentionDuration'
663
644
  end
664
645
  end
665
646
 
@@ -96,8 +96,7 @@ module Google
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,
99
- # numbers (0-9), underscores (_). Should not use characters that require URL-
100
- # escaping, or characters outside of ASCII, spaces. Max length: 100 bytes.
99
+ # numbers (0-9), underscores (_). Max length: 100 bytes.
101
100
  # @param [String] fields
102
101
  # Selector specifying which fields to include in a partial response.
103
102
  # @param [String] quota_user
@@ -456,8 +455,7 @@ module Google
456
455
  # @param [Google::Apis::AnalyticshubV1::Listing] listing_object
457
456
  # @param [String] listing_id
458
457
  # Required. The ID of the listing to create. Must contain only Unicode letters,
459
- # numbers (0-9), underscores (_). Should not use characters that require URL-
460
- # escaping, or characters outside of ASCII, spaces. Max length: 100 bytes.
458
+ # numbers (0-9), underscores (_). Max length: 100 bytes.
461
459
  # @param [String] fields
462
460
  # Selector specifying which fields to include in a partial response.
463
461
  # @param [String] quota_user
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.30.0
4
+ version: 0.32.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-03-23 00:00:00.000000000 Z
10
+ date: 2025-04-20 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.30.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-analyticshub_v1/v0.32.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: