google-apis-pubsub_v1 0.68.0 → 0.70.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: fce72394467497571864afc3e65d4bd40af9d02e3fc16259c4e324a2d242fe35
4
- data.tar.gz: 60f369ce2537054a1ec07fa7123229ee466f5cb1609d6db445d92fe2f10231b9
3
+ metadata.gz: d85094b299895426368dd93d2d1d1d2686d2af50081d1c3c07e9168eb81603e8
4
+ data.tar.gz: 4289905561ca35820bc29e5425589ff637864a92e8f3125a10fcb3aba9207d4c
5
5
  SHA512:
6
- metadata.gz: b6919279230e206a66a7f1fee0838cba21c9e1686331aab24733533386a8fb52b4c926f98160c4286d0d76b7caa77689bb981051f6f255a01cec72614ca2850d
7
- data.tar.gz: 662c88660d90cfdb2793df0aec15521dbf35ff4a7bc3c84f6ddb55da2e23e398337397fa9323e61650c592bb2f49149df84fd75076064aae4afc7fbd60fb56b2
6
+ metadata.gz: b02add822936d9cd1b3ea1f62d1bf852eb8df73cccfd8363fcfb8b4e753dd9bda10c4b4c314c91c7550d69d5f55c0982777cdde462939a0119a18902f1448b24
7
+ data.tar.gz: aa3b91ed3a148f62f7b6b035831394453373b84c9758f0726c745133e48fca5d04998ae9dbaeb86427cc26be46d67ac720c85aea44a1010573b63dc70aa7ea7c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-pubsub_v1
2
2
 
3
+ ### v0.70.0 (2026-07-26)
4
+
5
+ * Regenerated from discovery document revision 20260716
6
+
7
+ ### v0.69.0 (2026-06-21)
8
+
9
+ * Regenerated from discovery document revision 20260609
10
+ * Regenerated using generator version 0.19.0
11
+
3
12
  ### v0.68.0 (2026-05-10)
4
13
 
5
14
  * Regenerated from discovery document revision 20260421
data/OVERVIEW.md CHANGED
@@ -83,7 +83,7 @@ The [product documentation](https://cloud.google.com/pubsub/docs) may provide gu
83
83
 
84
84
  ## Supported Ruby versions
85
85
 
86
- This library is supported on Ruby 3.1+.
86
+ This library is supported on Ruby 3.2+.
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
 
@@ -326,11 +326,13 @@ module Google
326
326
  class BigQueryConfig
327
327
  include Google::Apis::Core::Hashable
328
328
 
329
- # Optional. When true and use_topic_schema is true, any fields that are a part
330
- # of the topic schema that are not part of the BigQuery table schema are dropped
331
- # when writing to BigQuery. Otherwise, the schemas must be kept in sync and any
329
+ # Optional. If true and `use_topic_schema` is true, drops any fields that are
330
+ # part of the topic schema that are not part of the BigQuery table schema when
331
+ # writing to BigQuery. Otherwise, the schemas must be kept in sync and any
332
332
  # messages with extra fields are not written and remain in the subscription's
333
- # backlog.
333
+ # backlog. If true and `use_table_schema` is true, drops any fields in the
334
+ # message that are not part of the BigQuery table schema when writing to
335
+ # BigQuery. Otherwise, the write to BigQuery will fail.
334
336
  # Corresponds to the JSON property `dropUnknownFields`
335
337
  # @return [Boolean]
336
338
  attr_accessor :drop_unknown_fields
@@ -400,10 +402,10 @@ module Google
400
402
  end
401
403
 
402
404
  # Configuration for a Bigtable subscription. The Pub/Sub message will be written
403
- # to a Bigtable row as follows: - row key: subscription name and message ID
404
- # delimited by #. - columns: message bytes written to a single column family "
405
- # data" with an empty-string column qualifier. - cell timestamp: the message
406
- # publish timestamp.
405
+ # to a Bigtable row as follows: - row key: subscription name, message ID hash,
406
+ # and message ID delimited by `#`. - columns: message bytes written to a single
407
+ # column family `data` with an empty-string column qualifier. - cell timestamp:
408
+ # the message publish timestamp.
407
409
  class BigtableConfig
408
410
  include Google::Apis::Core::Hashable
409
411
 
@@ -747,6 +749,32 @@ module Google
747
749
  end
748
750
  end
749
751
 
752
+ # Configuration for compressing/decompressing message data using a user-
753
+ # specified compression algorithm.
754
+ class Compression
755
+ include Google::Apis::Core::Hashable
756
+
757
+ # Required. Specifies the compression algorithm to use.
758
+ # Corresponds to the JSON property `compressionAlgorithm`
759
+ # @return [String]
760
+ attr_accessor :compression_algorithm
761
+
762
+ # Required. Specifies whether to compress or decompress the message.
763
+ # Corresponds to the JSON property `compressionMode`
764
+ # @return [String]
765
+ attr_accessor :compression_mode
766
+
767
+ def initialize(**args)
768
+ update!(**args)
769
+ end
770
+
771
+ # Update properties of this object
772
+ def update!(**args)
773
+ @compression_algorithm = args[:compression_algorithm] if args.key?(:compression_algorithm)
774
+ @compression_mode = args[:compression_mode] if args.key?(:compression_mode)
775
+ end
776
+ end
777
+
750
778
  # Ingestion settings for Confluent Cloud.
751
779
  class ConfluentCloud
752
780
  include Google::Apis::Core::Hashable
@@ -1305,6 +1333,12 @@ module Google
1305
1333
  # @return [Google::Apis::PubsubV1::AiInference]
1306
1334
  attr_accessor :ai_inference
1307
1335
 
1336
+ # Configuration for compressing/decompressing message data using a user-
1337
+ # specified compression algorithm.
1338
+ # Corresponds to the JSON property `compression`
1339
+ # @return [Google::Apis::PubsubV1::Compression]
1340
+ attr_accessor :compression
1341
+
1308
1342
  # Optional. If true, the transform is disabled and will not be applied to
1309
1343
  # messages. Defaults to `false`.
1310
1344
  # Corresponds to the JSON property `disabled`
@@ -1332,6 +1366,7 @@ module Google
1332
1366
  # Update properties of this object
1333
1367
  def update!(**args)
1334
1368
  @ai_inference = args[:ai_inference] if args.key?(:ai_inference)
1369
+ @compression = args[:compression] if args.key?(:compression)
1335
1370
  @disabled = args[:disabled] if args.key?(:disabled)
1336
1371
  @enabled = args[:enabled] if args.key?(:enabled)
1337
1372
  @javascript_udf = args[:javascript_udf] if args.key?(:javascript_udf)
@@ -2173,10 +2208,10 @@ module Google
2173
2208
  attr_accessor :bigquery_config
2174
2209
 
2175
2210
  # Configuration for a Bigtable subscription. The Pub/Sub message will be written
2176
- # to a Bigtable row as follows: - row key: subscription name and message ID
2177
- # delimited by #. - columns: message bytes written to a single column family "
2178
- # data" with an empty-string column qualifier. - cell timestamp: the message
2179
- # publish timestamp.
2211
+ # to a Bigtable row as follows: - row key: subscription name, message ID hash,
2212
+ # and message ID delimited by `#`. - columns: message bytes written to a single
2213
+ # column family `data` with an empty-string column qualifier. - cell timestamp:
2214
+ # the message publish timestamp.
2180
2215
  # Corresponds to the JSON property `bigtableConfig`
2181
2216
  # @return [Google::Apis::PubsubV1::BigtableConfig]
2182
2217
  attr_accessor :bigtable_config
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module PubsubV1
18
18
  # Version of the google-apis-pubsub_v1 gem
19
- GEM_VERSION = "0.68.0"
19
+ GEM_VERSION = "0.70.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.18.0"
22
+ GENERATOR_VERSION = "0.19.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260421"
25
+ REVISION = "20260716"
26
26
  end
27
27
  end
28
28
  end
@@ -106,6 +106,12 @@ module Google
106
106
  include Google::Apis::Core::JsonObjectSupport
107
107
  end
108
108
 
109
+ class Compression
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
109
115
  class ConfluentCloud
110
116
  class Representation < Google::Apis::Core::JsonRepresentation; end
111
117
 
@@ -588,6 +594,14 @@ module Google
588
594
  end
589
595
  end
590
596
 
597
+ class Compression
598
+ # @private
599
+ class Representation < Google::Apis::Core::JsonRepresentation
600
+ property :compression_algorithm, as: 'compressionAlgorithm'
601
+ property :compression_mode, as: 'compressionMode'
602
+ end
603
+ end
604
+
591
605
  class ConfluentCloud
592
606
  # @private
593
607
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -746,6 +760,8 @@ module Google
746
760
  class Representation < Google::Apis::Core::JsonRepresentation
747
761
  property :ai_inference, as: 'aiInference', class: Google::Apis::PubsubV1::AiInference, decorator: Google::Apis::PubsubV1::AiInference::Representation
748
762
 
763
+ property :compression, as: 'compression', class: Google::Apis::PubsubV1::Compression, decorator: Google::Apis::PubsubV1::Compression::Representation
764
+
749
765
  property :disabled, as: 'disabled'
750
766
  property :enabled, as: 'enabled'
751
767
  property :javascript_udf, as: 'javascriptUdf', class: Google::Apis::PubsubV1::JavaScriptUdf, decorator: Google::Apis::PubsubV1::JavaScriptUdf::Representation
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-pubsub_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.68.0
4
+ version: 0.70.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -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-pubsub_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-pubsub_v1/v0.68.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-pubsub_v1/v0.70.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-pubsub_v1
62
62
  rdoc_options: []
63
63
  require_paths:
@@ -66,7 +66,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
66
66
  requirements:
67
67
  - - ">="
68
68
  - !ruby/object:Gem::Version
69
- version: '3.1'
69
+ version: '3.2'
70
70
  required_rubygems_version: !ruby/object:Gem::Requirement
71
71
  requirements:
72
72
  - - ">="