google-apis-pubsub_v1 0.71.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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: dc6b4cd3c8273b08a28e4af4a63fd42f499d478f068cf4481f21036163c608ce
|
|
4
|
+
data.tar.gz: eeef8e495437798ab5d257e69c214d889e7585f3cecca22881b2a86ff462ad66
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 678a78f2a33c44db3530512ed91bd8803a4f159b4a8472562d0f57f3314a366fd61de8d0ff7d92f51b3c99837d3910bbfe91f3e4cff6157bea02ebdd8305df52
|
|
7
|
+
data.tar.gz: 7389c3072aac390ec011eca08021f0f62efaa52842b12d85633213693df8b7ff184eb352c8feb7910c87ab4be5cbc83ad29e6131bdd581449514833b8c3a0eb0
|
data/CHANGELOG.md
CHANGED
|
@@ -1630,6 +1630,37 @@ module Google
|
|
|
1630
1630
|
end
|
|
1631
1631
|
end
|
|
1632
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
|
+
|
|
1633
1664
|
# Request for the Publish method.
|
|
1634
1665
|
class PublishRequest
|
|
1635
1666
|
include Google::Apis::Core::Hashable
|
|
@@ -1670,6 +1701,28 @@ module Google
|
|
|
1670
1701
|
end
|
|
1671
1702
|
end
|
|
1672
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
|
+
|
|
1673
1726
|
# A message that is published by publishers and consumed by subscribers. The
|
|
1674
1727
|
# message must contain either a non-empty data field or at least one attribute.
|
|
1675
1728
|
# Note that client libraries represent this object differently depending on the
|
|
@@ -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.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 = "
|
|
25
|
+
REVISION = "20260915"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -268,6 +268,12 @@ module Google
|
|
|
268
268
|
include Google::Apis::Core::JsonObjectSupport
|
|
269
269
|
end
|
|
270
270
|
|
|
271
|
+
class PublishOperation
|
|
272
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
273
|
+
|
|
274
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
275
|
+
end
|
|
276
|
+
|
|
271
277
|
class PublishRequest
|
|
272
278
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
273
279
|
|
|
@@ -280,6 +286,12 @@ module Google
|
|
|
280
286
|
include Google::Apis::Core::JsonObjectSupport
|
|
281
287
|
end
|
|
282
288
|
|
|
289
|
+
class PubsubClientTelemetry
|
|
290
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
291
|
+
|
|
292
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
293
|
+
end
|
|
294
|
+
|
|
283
295
|
class Message
|
|
284
296
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
285
297
|
|
|
@@ -837,6 +849,14 @@ module Google
|
|
|
837
849
|
end
|
|
838
850
|
end
|
|
839
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
|
+
|
|
840
860
|
class PublishRequest
|
|
841
861
|
# @private
|
|
842
862
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -852,6 +872,14 @@ module Google
|
|
|
852
872
|
end
|
|
853
873
|
end
|
|
854
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
|
+
|
|
855
883
|
class Message
|
|
856
884
|
# @private
|
|
857
885
|
class Representation < Google::Apis::Core::JsonRepresentation
|
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.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.
|
|
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:
|