google-apis-pubsub_v1 0.67.0 → 0.69.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 +4 -4
- data/CHANGELOG.md +9 -0
- data/OVERVIEW.md +1 -1
- data/lib/google/apis/pubsub_v1/classes.rb +55 -17
- data/lib/google/apis/pubsub_v1/gem_version.rb +3 -3
- data/lib/google/apis/pubsub_v1/representations.rb +16 -0
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8fef5357196bdbd7081405d5d5edb24502bc79f2b97af8f9e2549467a51949b7
|
|
4
|
+
data.tar.gz: 9e8724e32f29a1fae0bc1c2675eaeb3b681a2f18a3e3da6d3413fb944271ae16
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ba23b21aed1e37a975a44e56f5e50f5a832ceaf358c8841c0afab7098ab8e02d2f810c443e06f3f2ae4ea7c3237820b60ddeb58fc769289ddd480a79b21c63e5
|
|
7
|
+
data.tar.gz: 0e5512b250a06b8c665160f51f0b239085945ae37e23da8fa72e2f2113fa184a2fc4d8e649d81c68cd93fb8a780f0c00a7a41e083a14f834c30c6d7facc181c7
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Release history for google-apis-pubsub_v1
|
|
2
2
|
|
|
3
|
+
### v0.69.0 (2026-06-21)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20260609
|
|
6
|
+
* Regenerated using generator version 0.19.0
|
|
7
|
+
|
|
8
|
+
### v0.68.0 (2026-05-10)
|
|
9
|
+
|
|
10
|
+
* Regenerated from discovery document revision 20260421
|
|
11
|
+
|
|
3
12
|
### v0.67.0 (2026-03-22)
|
|
4
13
|
|
|
5
14
|
* Regenerated from discovery document revision 20260310
|
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.
|
|
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
|
|
|
@@ -400,10 +400,10 @@ module Google
|
|
|
400
400
|
end
|
|
401
401
|
|
|
402
402
|
# Configuration for a Bigtable subscription. The Pub/Sub message will be written
|
|
403
|
-
# to a Bigtable row as follows: - row key: subscription name
|
|
404
|
-
# delimited by
|
|
405
|
-
# data
|
|
406
|
-
# publish timestamp.
|
|
403
|
+
# to a Bigtable row as follows: - row key: subscription name, message ID hash,
|
|
404
|
+
# and message ID delimited by `#`. - columns: message bytes written to a single
|
|
405
|
+
# column family `data` with an empty-string column qualifier. - cell timestamp:
|
|
406
|
+
# the message publish timestamp.
|
|
407
407
|
class BigtableConfig
|
|
408
408
|
include Google::Apis::Core::Hashable
|
|
409
409
|
|
|
@@ -747,6 +747,32 @@ module Google
|
|
|
747
747
|
end
|
|
748
748
|
end
|
|
749
749
|
|
|
750
|
+
# Configuration for compressing/decompressing message data using a user-
|
|
751
|
+
# specified compression algorithm.
|
|
752
|
+
class Compression
|
|
753
|
+
include Google::Apis::Core::Hashable
|
|
754
|
+
|
|
755
|
+
# Required. Specifies the compression algorithm to use.
|
|
756
|
+
# Corresponds to the JSON property `compressionAlgorithm`
|
|
757
|
+
# @return [String]
|
|
758
|
+
attr_accessor :compression_algorithm
|
|
759
|
+
|
|
760
|
+
# Required. Specifies whether to compress or decompress the message.
|
|
761
|
+
# Corresponds to the JSON property `compressionMode`
|
|
762
|
+
# @return [String]
|
|
763
|
+
attr_accessor :compression_mode
|
|
764
|
+
|
|
765
|
+
def initialize(**args)
|
|
766
|
+
update!(**args)
|
|
767
|
+
end
|
|
768
|
+
|
|
769
|
+
# Update properties of this object
|
|
770
|
+
def update!(**args)
|
|
771
|
+
@compression_algorithm = args[:compression_algorithm] if args.key?(:compression_algorithm)
|
|
772
|
+
@compression_mode = args[:compression_mode] if args.key?(:compression_mode)
|
|
773
|
+
end
|
|
774
|
+
end
|
|
775
|
+
|
|
750
776
|
# Ingestion settings for Confluent Cloud.
|
|
751
777
|
class ConfluentCloud
|
|
752
778
|
include Google::Apis::Core::Hashable
|
|
@@ -825,7 +851,8 @@ module Google
|
|
|
825
851
|
|
|
826
852
|
# Optional. Input only. Immutable. Tag keys/values directly bound to this
|
|
827
853
|
# resource. For example: "123/environment": "production", "123/costCenter": "
|
|
828
|
-
# marketing"
|
|
854
|
+
# marketing" See https://`$universe.dns_names.final_documentation_domain`/pubsub/
|
|
855
|
+
# docs/tags for more information on using tags with Pub/Sub resources.
|
|
829
856
|
# Corresponds to the JSON property `tags`
|
|
830
857
|
# @return [Hash<String,String>]
|
|
831
858
|
attr_accessor :tags
|
|
@@ -1304,6 +1331,12 @@ module Google
|
|
|
1304
1331
|
# @return [Google::Apis::PubsubV1::AiInference]
|
|
1305
1332
|
attr_accessor :ai_inference
|
|
1306
1333
|
|
|
1334
|
+
# Configuration for compressing/decompressing message data using a user-
|
|
1335
|
+
# specified compression algorithm.
|
|
1336
|
+
# Corresponds to the JSON property `compression`
|
|
1337
|
+
# @return [Google::Apis::PubsubV1::Compression]
|
|
1338
|
+
attr_accessor :compression
|
|
1339
|
+
|
|
1307
1340
|
# Optional. If true, the transform is disabled and will not be applied to
|
|
1308
1341
|
# messages. Defaults to `false`.
|
|
1309
1342
|
# Corresponds to the JSON property `disabled`
|
|
@@ -1331,6 +1364,7 @@ module Google
|
|
|
1331
1364
|
# Update properties of this object
|
|
1332
1365
|
def update!(**args)
|
|
1333
1366
|
@ai_inference = args[:ai_inference] if args.key?(:ai_inference)
|
|
1367
|
+
@compression = args[:compression] if args.key?(:compression)
|
|
1334
1368
|
@disabled = args[:disabled] if args.key?(:disabled)
|
|
1335
1369
|
@enabled = args[:enabled] if args.key?(:enabled)
|
|
1336
1370
|
@javascript_udf = args[:javascript_udf] if args.key?(:javascript_udf)
|
|
@@ -2134,9 +2168,10 @@ module Google
|
|
|
2134
2168
|
end
|
|
2135
2169
|
end
|
|
2136
2170
|
|
|
2137
|
-
# A subscription resource. If none of `push_config`, `bigquery_config`,
|
|
2138
|
-
# cloud_storage_config` is set, then the subscriber will
|
|
2139
|
-
# using API methods. At most one of these fields may be
|
|
2171
|
+
# A subscription resource. If none of `push_config`, `bigquery_config`, `
|
|
2172
|
+
# cloud_storage_config`, or `bigtable_config` is set, then the subscriber will
|
|
2173
|
+
# pull and ack messages using API methods. At most one of these fields may be
|
|
2174
|
+
# set.
|
|
2140
2175
|
class Subscription
|
|
2141
2176
|
include Google::Apis::Core::Hashable
|
|
2142
2177
|
|
|
@@ -2171,10 +2206,10 @@ module Google
|
|
|
2171
2206
|
attr_accessor :bigquery_config
|
|
2172
2207
|
|
|
2173
2208
|
# Configuration for a Bigtable subscription. The Pub/Sub message will be written
|
|
2174
|
-
# to a Bigtable row as follows: - row key: subscription name
|
|
2175
|
-
# delimited by
|
|
2176
|
-
# data
|
|
2177
|
-
# publish timestamp.
|
|
2209
|
+
# to a Bigtable row as follows: - row key: subscription name, message ID hash,
|
|
2210
|
+
# and message ID delimited by `#`. - columns: message bytes written to a single
|
|
2211
|
+
# column family `data` with an empty-string column qualifier. - cell timestamp:
|
|
2212
|
+
# the message publish timestamp.
|
|
2178
2213
|
# Corresponds to the JSON property `bigtableConfig`
|
|
2179
2214
|
# @return [Google::Apis::PubsubV1::BigtableConfig]
|
|
2180
2215
|
attr_accessor :bigtable_config
|
|
@@ -2304,7 +2339,8 @@ module Google
|
|
|
2304
2339
|
|
|
2305
2340
|
# Optional. Input only. Immutable. Tag keys/values directly bound to this
|
|
2306
2341
|
# resource. For example: "123/environment": "production", "123/costCenter": "
|
|
2307
|
-
# marketing"
|
|
2342
|
+
# marketing" See https://`$universe.dns_names.final_documentation_domain`/pubsub/
|
|
2343
|
+
# docs/tags for more information on using tags with Pub/Sub resources.
|
|
2308
2344
|
# Corresponds to the JSON property `tags`
|
|
2309
2345
|
# @return [Hash<String,String>]
|
|
2310
2346
|
attr_accessor :tags
|
|
@@ -2506,7 +2542,8 @@ module Google
|
|
|
2506
2542
|
|
|
2507
2543
|
# Optional. Input only. Immutable. Tag keys/values directly bound to this
|
|
2508
2544
|
# resource. For example: "123/environment": "production", "123/costCenter": "
|
|
2509
|
-
# marketing"
|
|
2545
|
+
# marketing" See https://`$universe.dns_names.final_documentation_domain`/pubsub/
|
|
2546
|
+
# docs/tags for more information on using tags with Pub/Sub resources.
|
|
2510
2547
|
# Corresponds to the JSON property `tags`
|
|
2511
2548
|
# @return [Hash<String,String>]
|
|
2512
2549
|
attr_accessor :tags
|
|
@@ -2585,9 +2622,10 @@ module Google
|
|
|
2585
2622
|
class UpdateSubscriptionRequest
|
|
2586
2623
|
include Google::Apis::Core::Hashable
|
|
2587
2624
|
|
|
2588
|
-
# A subscription resource. If none of `push_config`, `bigquery_config`,
|
|
2589
|
-
# cloud_storage_config` is set, then the subscriber will
|
|
2590
|
-
# using API methods. At most one of these fields may be
|
|
2625
|
+
# A subscription resource. If none of `push_config`, `bigquery_config`, `
|
|
2626
|
+
# cloud_storage_config`, or `bigtable_config` is set, then the subscriber will
|
|
2627
|
+
# pull and ack messages using API methods. At most one of these fields may be
|
|
2628
|
+
# set.
|
|
2591
2629
|
# Corresponds to the JSON property `subscription`
|
|
2592
2630
|
# @return [Google::Apis::PubsubV1::Subscription]
|
|
2593
2631
|
attr_accessor :subscription
|
|
@@ -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.
|
|
19
|
+
GEM_VERSION = "0.69.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
|
-
GENERATOR_VERSION = "0.
|
|
22
|
+
GENERATOR_VERSION = "0.19.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20260609"
|
|
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.
|
|
4
|
+
version: 0.69.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.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-pubsub_v1/v0.69.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.
|
|
69
|
+
version: '3.2'
|
|
70
70
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
71
71
|
requirements:
|
|
72
72
|
- - ">="
|