google-apis-analyticshub_v1 0.31.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: 281f4dfe6920e5977c6ce523be692590f9196b4b8ffc44817e6e44555ec6c5a0
4
- data.tar.gz: 158c650a98e235eb70120e5f43f74eab491fec07ad69d3455e09b7848d7eee2a
3
+ metadata.gz: bf5a924c17d71f274c5356a390b630175bb9a36090b8c44516af2d2413efdcea
4
+ data.tar.gz: 227a9ca3e9c1023758e36b4db77366bfd53ef6e0d7a80a81ad5f2a6710d043df
5
5
  SHA512:
6
- metadata.gz: 92efa91d103f2298fe4e2a3f134b2e33e9579feb7ef4295fdae7d85a8ae50e641d5eb92b90f6a0e0a5796e1d5bf646e2fc06ffae7122f38ee5b8d7043dde1aef
7
- data.tar.gz: e48732b0d98b943ac82ac5a552146a21b267d443ff911245e503758d0667c50e4299baf2f8ac5ec511dbea2744fccbe3b0a89b3ffaac312d8487913f139a5689
6
+ metadata.gz: 7ab15203498f56fa3b5dd8c380d4a4233b53fdfb56844532fd5ff6ce3fd4a7d0dfb9d7a3527613729f3c7a15865613be4a2ba19800bee5270f7c09b9aca7fa21
7
+ data.tar.gz: 140456eea26cc8829786ba4afa73dbaa552f176ff4dbe4d1b5e18d9afeb0c847a29a909bee47b5bbcdc2fd6009f58665d8da736e53111cafe6ea54286f82e372
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
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
+
3
7
  ### v0.31.0 (2025-03-30)
4
8
 
5
9
  * Regenerated from discovery document revision 20250315
@@ -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
@@ -762,9 +722,10 @@ module Google
762
722
  class DestinationPubSubSubscription
763
723
  include Google::Apis::Core::Hashable
764
724
 
765
- # A subscription resource. If none of `push_config`, `bigquery_config`, or `
766
- # cloud_storage_config` is set, then the subscriber will pull and ack messages
767
- # 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.
768
729
  # Corresponds to the JSON property `pubsubSubscription`
769
730
  # @return [Google::Apis::AnalyticshubV1::GooglePubsubV1Subscription]
770
731
  attr_accessor :pubsub_subscription
@@ -1006,9 +967,10 @@ module Google
1006
967
  end
1007
968
  end
1008
969
 
1009
- # A subscription resource. If none of `push_config`, `bigquery_config`, or `
1010
- # cloud_storage_config` is set, then the subscriber will pull and ack messages
1011
- # 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.
1012
974
  class GooglePubsubV1Subscription
1013
975
  include Google::Apis::Core::Hashable
1014
976
 
@@ -1031,12 +993,6 @@ module Google
1031
993
  # @return [Fixnum]
1032
994
  attr_accessor :ack_deadline_seconds
1033
995
 
1034
- # Information about an associated [Analytics Hub subscription](https://cloud.
1035
- # google.com/bigquery/docs/analytics-hub-manage-subscriptions).
1036
- # Corresponds to the JSON property `analyticsHubSubscriptionInfo`
1037
- # @return [Google::Apis::AnalyticshubV1::AnalyticsHubSubscriptionInfo]
1038
- attr_accessor :analytics_hub_subscription_info
1039
-
1040
996
  # Configuration for a BigQuery subscription.
1041
997
  # Corresponds to the JSON property `bigqueryConfig`
1042
998
  # @return [Google::Apis::AnalyticshubV1::BigQueryConfig]
@@ -1068,7 +1024,7 @@ module Google
1068
1024
  # Optional. If true, Pub/Sub provides the following guarantees for the delivery
1069
1025
  # of a message with a given value of `message_id` on this subscription: * The
1070
1026
  # message sent to a subscriber is guaranteed not to be resent before the message'
1071
- # s acknowledgment deadline expires. * An acknowledged message will not be
1027
+ # s acknowledgement deadline expires. * An acknowledged message will not be
1072
1028
  # resent to a subscriber. Note that subscribers may still receive multiple
1073
1029
  # copies of a message when `enable_exactly_once_delivery` is true if the message
1074
1030
  # was published multiple times by a publisher client. These copies are
@@ -1147,7 +1103,7 @@ module Google
1147
1103
  # A policy that specifies how Pub/Sub retries message delivery. Retry delay will
1148
1104
  # be exponential based on provided minimum and maximum backoffs. https://en.
1149
1105
  # wikipedia.org/wiki/Exponential_backoff. RetryPolicy will be triggered on NACKs
1150
- # or acknowledgment deadline exceeded events for a given message. Retry Policy
1106
+ # or acknowledgement deadline exceeded events for a given message. Retry Policy
1151
1107
  # is implemented on a best effort basis. At times, the delay between consecutive
1152
1108
  # deliveries may not match the configuration. That is, delay can be more or less
1153
1109
  # than configured backoff.
@@ -1155,22 +1111,6 @@ module Google
1155
1111
  # @return [Google::Apis::AnalyticshubV1::RetryPolicy]
1156
1112
  attr_accessor :retry_policy
1157
1113
 
1158
- # Output only. An output-only field indicating whether or not the subscription
1159
- # can receive messages.
1160
- # Corresponds to the JSON property `state`
1161
- # @return [String]
1162
- attr_accessor :state
1163
-
1164
- # Output only. Indicates the minimum duration for which a message is retained
1165
- # after it is published to the subscription's topic. If this field is set,
1166
- # messages published to the subscription's topic in the last `
1167
- # topic_message_retention_duration` are always available to subscribers. See the
1168
- # `message_retention_duration` field in `Topic`. This field is set only in
1169
- # responses from the server; it is ignored if it is set in any requests.
1170
- # Corresponds to the JSON property `topicMessageRetentionDuration`
1171
- # @return [String]
1172
- attr_accessor :topic_message_retention_duration
1173
-
1174
1114
  def initialize(**args)
1175
1115
  update!(**args)
1176
1116
  end
@@ -1178,7 +1118,6 @@ module Google
1178
1118
  # Update properties of this object
1179
1119
  def update!(**args)
1180
1120
  @ack_deadline_seconds = args[:ack_deadline_seconds] if args.key?(:ack_deadline_seconds)
1181
- @analytics_hub_subscription_info = args[:analytics_hub_subscription_info] if args.key?(:analytics_hub_subscription_info)
1182
1121
  @bigquery_config = args[:bigquery_config] if args.key?(:bigquery_config)
1183
1122
  @cloud_storage_config = args[:cloud_storage_config] if args.key?(:cloud_storage_config)
1184
1123
  @dead_letter_policy = args[:dead_letter_policy] if args.key?(:dead_letter_policy)
@@ -1194,8 +1133,6 @@ module Google
1194
1133
  @push_config = args[:push_config] if args.key?(:push_config)
1195
1134
  @retain_acked_messages = args[:retain_acked_messages] if args.key?(:retain_acked_messages)
1196
1135
  @retry_policy = args[:retry_policy] if args.key?(:retry_policy)
1197
- @state = args[:state] if args.key?(:state)
1198
- @topic_message_retention_duration = args[:topic_message_retention_duration] if args.key?(:topic_message_retention_duration)
1199
1136
  end
1200
1137
  end
1201
1138
 
@@ -1853,8 +1790,8 @@ module Google
1853
1790
  include Google::Apis::Core::Hashable
1854
1791
 
1855
1792
  # Optional. Region hint on where the data might be published. Data affinity
1856
- # regions are modifiable. See go/regions for full listing of possible Cloud
1857
- # regions.
1793
+ # regions are modifiable. See https://cloud.google.com/about/locations for full
1794
+ # listing of possible Cloud regions.
1858
1795
  # Corresponds to the JSON property `dataAffinityRegions`
1859
1796
  # @return [Array<String>]
1860
1797
  attr_accessor :data_affinity_regions
@@ -2085,7 +2022,7 @@ module Google
2085
2022
  # A policy that specifies how Pub/Sub retries message delivery. Retry delay will
2086
2023
  # be exponential based on provided minimum and maximum backoffs. https://en.
2087
2024
  # wikipedia.org/wiki/Exponential_backoff. RetryPolicy will be triggered on NACKs
2088
- # or acknowledgment deadline exceeded events for a given message. Retry Policy
2025
+ # or acknowledgement deadline exceeded events for a given message. Retry Policy
2089
2026
  # is implemented on a best effort basis. At times, the delay between consecutive
2090
2027
  # deliveries may not match the configuration. That is, delay can be more or less
2091
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.31.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 = "20250315"
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
@@ -635,8 +619,6 @@ module Google
635
619
  # @private
636
620
  class Representation < Google::Apis::Core::JsonRepresentation
637
621
  property :ack_deadline_seconds, as: 'ackDeadlineSeconds'
638
- property :analytics_hub_subscription_info, as: 'analyticsHubSubscriptionInfo', class: Google::Apis::AnalyticshubV1::AnalyticsHubSubscriptionInfo, decorator: Google::Apis::AnalyticshubV1::AnalyticsHubSubscriptionInfo::Representation
639
-
640
622
  property :bigquery_config, as: 'bigqueryConfig', class: Google::Apis::AnalyticshubV1::BigQueryConfig, decorator: Google::Apis::AnalyticshubV1::BigQueryConfig::Representation
641
623
 
642
624
  property :cloud_storage_config, as: 'cloudStorageConfig', class: Google::Apis::AnalyticshubV1::CloudStorageConfig, decorator: Google::Apis::AnalyticshubV1::CloudStorageConfig::Representation
@@ -659,8 +641,6 @@ module Google
659
641
  property :retain_acked_messages, as: 'retainAckedMessages'
660
642
  property :retry_policy, as: 'retryPolicy', class: Google::Apis::AnalyticshubV1::RetryPolicy, decorator: Google::Apis::AnalyticshubV1::RetryPolicy::Representation
661
643
 
662
- property :state, as: 'state'
663
- property :topic_message_retention_duration, as: 'topicMessageRetentionDuration'
664
644
  end
665
645
  end
666
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.31.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-30 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.31.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: