Skip to content

Commit f2ba4b8

Browse files
feat: Automated regeneration of pubsub v1 client (#26675)
Auto-created at 2026-06-14 10:35:54 +0000 using the toys pull request generator.
1 parent 088ce3b commit f2ba4b8

7 files changed

Lines changed: 63 additions & 5 deletions

File tree

api_names_out.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -352042,6 +352042,9 @@
352042352042
"/pubsub:v1/CloudStorageConfig/textConfig": text_config
352043352043
"/pubsub:v1/CommitSchemaRequest": commit_schema_request
352044352044
"/pubsub:v1/CommitSchemaRequest/schema": schema
352045+
"/pubsub:v1/Compression": compression
352046+
"/pubsub:v1/Compression/compressionAlgorithm": compression_algorithm
352047+
"/pubsub:v1/Compression/compressionMode": compression_mode
352045352048
"/pubsub:v1/ConfluentCloud": confluent_cloud
352046352049
"/pubsub:v1/ConfluentCloud/bootstrapServer": bootstrap_server
352047352050
"/pubsub:v1/ConfluentCloud/clusterId": cluster_id
@@ -352111,6 +352114,7 @@
352111352114
"/pubsub:v1/MessageStoragePolicy/enforceInTransit": enforce_in_transit
352112352115
"/pubsub:v1/MessageTransform": message_transform
352113352116
"/pubsub:v1/MessageTransform/aiInference": ai_inference
352117+
"/pubsub:v1/MessageTransform/compression": compression
352114352118
"/pubsub:v1/MessageTransform/disabled": disabled
352115352119
"/pubsub:v1/MessageTransform/enabled": enabled
352116352120
"/pubsub:v1/MessageTransform/javascriptUdf": javascript_udf

generated/google-apis-pubsub_v1/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Release history for google-apis-pubsub_v1
22

3+
### v0.69.0 (2026-06-14)
4+
5+
* Regenerated from discovery document revision 20260602
6+
* Regenerated using generator version 0.19.0
7+
38
### v0.68.0 (2026-05-10)
49

510
* Regenerated from discovery document revision 20260421

generated/google-apis-pubsub_v1/OVERVIEW.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ The [product documentation](https://cloud.google.com/pubsub/docs) may provide gu
8383

8484
## Supported Ruby versions
8585

86-
This library is supported on Ruby 3.1+.
86+
This library is supported on Ruby 3.2+.
8787

8888
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.
8989

generated/google-apis-pubsub_v1/google-apis-pubsub_v1.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ Gem::Specification.new do |gem|
2828
gem.files = Dir.glob("lib/**/*.rb") + Dir.glob("*.md") + [".yardopts"]
2929
gem.require_paths = ["lib"]
3030

31-
gem.required_ruby_version = '>= 3.1'
31+
gem.required_ruby_version = '>= 3.2'
3232
gem.add_runtime_dependency "google-apis-core", ">= 0.15.0", "< 2.a"
3333
end

generated/google-apis-pubsub_v1/lib/google/apis/pubsub_v1/classes.rb

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -747,6 +747,32 @@ def update!(**args)
747747
end
748748
end
749749

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+
750776
# Ingestion settings for Confluent Cloud.
751777
class ConfluentCloud
752778
include Google::Apis::Core::Hashable
@@ -1305,6 +1331,12 @@ class MessageTransform
13051331
# @return [Google::Apis::PubsubV1::AiInference]
13061332
attr_accessor :ai_inference
13071333

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+
13081340
# Optional. If true, the transform is disabled and will not be applied to
13091341
# messages. Defaults to `false`.
13101342
# Corresponds to the JSON property `disabled`
@@ -1332,6 +1364,7 @@ def initialize(**args)
13321364
# Update properties of this object
13331365
def update!(**args)
13341366
@ai_inference = args[:ai_inference] if args.key?(:ai_inference)
1367+
@compression = args[:compression] if args.key?(:compression)
13351368
@disabled = args[:disabled] if args.key?(:disabled)
13361369
@enabled = args[:enabled] if args.key?(:enabled)
13371370
@javascript_udf = args[:javascript_udf] if args.key?(:javascript_udf)

generated/google-apis-pubsub_v1/lib/google/apis/pubsub_v1/gem_version.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module PubsubV1
1818
# Version of the google-apis-pubsub_v1 gem
19-
GEM_VERSION = "0.68.0"
19+
GEM_VERSION = "0.69.0"
2020

2121
# Version of the code generator used to generate this client
22-
GENERATOR_VERSION = "0.18.0"
22+
GENERATOR_VERSION = "0.19.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20260421"
25+
REVISION = "20260602"
2626
end
2727
end
2828
end

generated/google-apis-pubsub_v1/lib/google/apis/pubsub_v1/representations.rb

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
106106
include Google::Apis::Core::JsonObjectSupport
107107
end
108108

109+
class Compression
110+
class Representation < Google::Apis::Core::JsonRepresentation; end
111+
112+
include Google::Apis::Core::JsonObjectSupport
113+
end
114+
109115
class ConfluentCloud
110116
class Representation < Google::Apis::Core::JsonRepresentation; end
111117

@@ -588,6 +594,14 @@ class Representation < Google::Apis::Core::JsonRepresentation
588594
end
589595
end
590596

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+
591605
class ConfluentCloud
592606
# @private
593607
class Representation < Google::Apis::Core::JsonRepresentation
@@ -746,6 +760,8 @@ class MessageTransform
746760
class Representation < Google::Apis::Core::JsonRepresentation
747761
property :ai_inference, as: 'aiInference', class: Google::Apis::PubsubV1::AiInference, decorator: Google::Apis::PubsubV1::AiInference::Representation
748762

763+
property :compression, as: 'compression', class: Google::Apis::PubsubV1::Compression, decorator: Google::Apis::PubsubV1::Compression::Representation
764+
749765
property :disabled, as: 'disabled'
750766
property :enabled, as: 'enabled'
751767
property :javascript_udf, as: 'javascriptUdf', class: Google::Apis::PubsubV1::JavaScriptUdf, decorator: Google::Apis::PubsubV1::JavaScriptUdf::Representation

0 commit comments

Comments
 (0)