google-apis-pubsub_v1 0.70.0 → 0.72.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: d85094b299895426368dd93d2d1d1d2686d2af50081d1c3c07e9168eb81603e8
4
- data.tar.gz: 4289905561ca35820bc29e5425589ff637864a92e8f3125a10fcb3aba9207d4c
3
+ metadata.gz: dc6b4cd3c8273b08a28e4af4a63fd42f499d478f068cf4481f21036163c608ce
4
+ data.tar.gz: eeef8e495437798ab5d257e69c214d889e7585f3cecca22881b2a86ff462ad66
5
5
  SHA512:
6
- metadata.gz: b02add822936d9cd1b3ea1f62d1bf852eb8df73cccfd8363fcfb8b4e753dd9bda10c4b4c314c91c7550d69d5f55c0982777cdde462939a0119a18902f1448b24
7
- data.tar.gz: aa3b91ed3a148f62f7b6b035831394453373b84c9758f0726c745133e48fca5d04998ae9dbaeb86427cc26be46d67ac720c85aea44a1010573b63dc70aa7ea7c
6
+ metadata.gz: 678a78f2a33c44db3530512ed91bd8803a4f159b4a8472562d0f57f3314a366fd61de8d0ff7d92f51b3c99837d3910bbfe91f3e4cff6157bea02ebdd8305df52
7
+ data.tar.gz: 7389c3072aac390ec011eca08021f0f62efaa52842b12d85633213693df8b7ff184eb352c8feb7910c87ab4be5cbc83ad29e6131bdd581449514833b8c3a0eb0
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-pubsub_v1
2
2
 
3
+ ### v0.72.0 (2026-09-27)
4
+
5
+ * Regenerated from discovery document revision 20260915
6
+
7
+ ### v0.71.0 (2026-09-06)
8
+
9
+ * Regenerated from discovery document revision 20260825
10
+
3
11
  ### v0.70.0 (2026-07-26)
4
12
 
5
13
  * Regenerated from discovery document revision 20260716
@@ -749,6 +749,32 @@ module Google
749
749
  end
750
750
  end
751
751
 
752
+ # Configuration specific to compiled Protocol Buffer schemas.
753
+ class CompiledProtoSchema
754
+ include Google::Apis::Core::Hashable
755
+
756
+ # Required. The compiled FileDescriptorSet binary.
757
+ # Corresponds to the JSON property `compiledBytes`
758
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
759
+ # @return [String]
760
+ attr_accessor :compiled_bytes
761
+
762
+ # Required. The name of the root message type in the schema.
763
+ # Corresponds to the JSON property `rootMessage`
764
+ # @return [String]
765
+ attr_accessor :root_message
766
+
767
+ def initialize(**args)
768
+ update!(**args)
769
+ end
770
+
771
+ # Update properties of this object
772
+ def update!(**args)
773
+ @compiled_bytes = args[:compiled_bytes] if args.key?(:compiled_bytes)
774
+ @root_message = args[:root_message] if args.key?(:root_message)
775
+ end
776
+ end
777
+
752
778
  # Configuration for compressing/decompressing message data using a user-
753
779
  # specified compression algorithm.
754
780
  class Compression
@@ -1604,6 +1630,37 @@ module Google
1604
1630
  end
1605
1631
  end
1606
1632
 
1633
+ # Telemetry about a `Publish` operation which may or may not be common across
1634
+ # individual RPCs.
1635
+ class PublishOperation
1636
+ include Google::Apis::Core::Hashable
1637
+
1638
+ # Optional. If the publisher client is using publish hedging, provides the
1639
+ # attempt count for the hedge (starting at 1). A value of 0 indicates that the
1640
+ # request was not hedged.
1641
+ # Corresponds to the JSON property `hedgedAttemptCount`
1642
+ # @return [Fixnum]
1643
+ attr_accessor :hedged_attempt_count
1644
+
1645
+ # Optional. Time at which the `publish()` call was initiated in the client
1646
+ # library, meaning across all RPC retry attempts, see [grpc retries](https://
1647
+ # grpc.io/docs/guides/retry/). Provides a sense of the end-to-end publish
1648
+ # duration from the client perspective, across retries.
1649
+ # Corresponds to the JSON property `publishStartTime`
1650
+ # @return [String]
1651
+ attr_accessor :publish_start_time
1652
+
1653
+ def initialize(**args)
1654
+ update!(**args)
1655
+ end
1656
+
1657
+ # Update properties of this object
1658
+ def update!(**args)
1659
+ @hedged_attempt_count = args[:hedged_attempt_count] if args.key?(:hedged_attempt_count)
1660
+ @publish_start_time = args[:publish_start_time] if args.key?(:publish_start_time)
1661
+ end
1662
+ end
1663
+
1607
1664
  # Request for the Publish method.
1608
1665
  class PublishRequest
1609
1666
  include Google::Apis::Core::Hashable
@@ -1644,6 +1701,28 @@ module Google
1644
1701
  end
1645
1702
  end
1646
1703
 
1704
+ # Client-side telemetry about Pub/Sub requests, useful for debugging purposes.
1705
+ # If the client opts to provide this information, it will be passed as a
1706
+ # serialized proto in the `x-goog-pubsub-client-telemetry` header.
1707
+ class PubsubClientTelemetry
1708
+ include Google::Apis::Core::Hashable
1709
+
1710
+ # Telemetry about a `Publish` operation which may or may not be common across
1711
+ # individual RPCs.
1712
+ # Corresponds to the JSON property `publishOperation`
1713
+ # @return [Google::Apis::PubsubV1::PublishOperation]
1714
+ attr_accessor :publish_operation
1715
+
1716
+ def initialize(**args)
1717
+ update!(**args)
1718
+ end
1719
+
1720
+ # Update properties of this object
1721
+ def update!(**args)
1722
+ @publish_operation = args[:publish_operation] if args.key?(:publish_operation)
1723
+ end
1724
+ end
1725
+
1647
1726
  # A message that is published by publishers and consumed by subscribers. The
1648
1727
  # message must contain either a non-empty data field or at least one attribute.
1649
1728
  # Note that client libraries represent this object differently depending on the
@@ -1942,6 +2021,11 @@ module Google
1942
2021
  class Schema
1943
2022
  include Google::Apis::Core::Hashable
1944
2023
 
2024
+ # Configuration specific to compiled Protocol Buffer schemas.
2025
+ # Corresponds to the JSON property `compiledProtoSchema`
2026
+ # @return [Google::Apis::PubsubV1::CompiledProtoSchema]
2027
+ attr_accessor :compiled_proto_schema
2028
+
1945
2029
  # The definition of the schema. This should contain a string representing the
1946
2030
  # full definition of the schema that is a valid schema definition of the type
1947
2031
  # specified in `type`.
@@ -1975,6 +2059,7 @@ module Google
1975
2059
 
1976
2060
  # Update properties of this object
1977
2061
  def update!(**args)
2062
+ @compiled_proto_schema = args[:compiled_proto_schema] if args.key?(:compiled_proto_schema)
1978
2063
  @definition = args[:definition] if args.key?(:definition)
1979
2064
  @name = args[:name] if args.key?(:name)
1980
2065
  @revision_create_time = args[:revision_create_time] if args.key?(:revision_create_time)
@@ -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.70.0"
19
+ GEM_VERSION = "0.72.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.19.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260716"
25
+ REVISION = "20260915"
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 CompiledProtoSchema
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
109
115
  class Compression
110
116
  class Representation < Google::Apis::Core::JsonRepresentation; end
111
117
 
@@ -262,6 +268,12 @@ module Google
262
268
  include Google::Apis::Core::JsonObjectSupport
263
269
  end
264
270
 
271
+ class PublishOperation
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
265
277
  class PublishRequest
266
278
  class Representation < Google::Apis::Core::JsonRepresentation; end
267
279
 
@@ -274,6 +286,12 @@ module Google
274
286
  include Google::Apis::Core::JsonObjectSupport
275
287
  end
276
288
 
289
+ class PubsubClientTelemetry
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
277
295
  class Message
278
296
  class Representation < Google::Apis::Core::JsonRepresentation; end
279
297
 
@@ -594,6 +612,14 @@ module Google
594
612
  end
595
613
  end
596
614
 
615
+ class CompiledProtoSchema
616
+ # @private
617
+ class Representation < Google::Apis::Core::JsonRepresentation
618
+ property :compiled_bytes, :base64 => true, as: 'compiledBytes'
619
+ property :root_message, as: 'rootMessage'
620
+ end
621
+ end
622
+
597
623
  class Compression
598
624
  # @private
599
625
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -823,6 +849,14 @@ module Google
823
849
  end
824
850
  end
825
851
 
852
+ class PublishOperation
853
+ # @private
854
+ class Representation < Google::Apis::Core::JsonRepresentation
855
+ property :hedged_attempt_count, as: 'hedgedAttemptCount'
856
+ property :publish_start_time, as: 'publishStartTime'
857
+ end
858
+ end
859
+
826
860
  class PublishRequest
827
861
  # @private
828
862
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -838,6 +872,14 @@ module Google
838
872
  end
839
873
  end
840
874
 
875
+ class PubsubClientTelemetry
876
+ # @private
877
+ class Representation < Google::Apis::Core::JsonRepresentation
878
+ property :publish_operation, as: 'publishOperation', class: Google::Apis::PubsubV1::PublishOperation, decorator: Google::Apis::PubsubV1::PublishOperation::Representation
879
+
880
+ end
881
+ end
882
+
841
883
  class Message
842
884
  # @private
843
885
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -913,6 +955,8 @@ module Google
913
955
  class Schema
914
956
  # @private
915
957
  class Representation < Google::Apis::Core::JsonRepresentation
958
+ property :compiled_proto_schema, as: 'compiledProtoSchema', class: Google::Apis::PubsubV1::CompiledProtoSchema, decorator: Google::Apis::PubsubV1::CompiledProtoSchema::Representation
959
+
916
960
  property :definition, as: 'definition'
917
961
  property :name, as: 'name'
918
962
  property :revision_create_time, as: 'revisionCreateTime'
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.70.0
4
+ version: 0.72.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.70.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-pubsub_v1/v0.72.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: