google-apis-pubsub_v1beta2 0.31.0 → 0.32.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: d4a2db422751fc3aed77832950f4933731ed65bab3b82307190d757e1dab85d2
|
|
4
|
+
data.tar.gz: 21cabe39d8a6908aab499f7a4a40f9dd87156cbfe22d3c6ff04387c7f73d6245
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: daaf91a8dceaf2bdc770059bf6a7a68fac448d407cf68961671850c820a0fce4ba7d8cbabe41b27edee1cf21924d67f2699b4e896da9759c6f31488bcb93f1f2
|
|
7
|
+
data.tar.gz: f73dd4c165845e85a50da09111643a045ede73a3601d63147c185c051afce747e908015ab029d29bbd6e3d2bec25ec1d1e5179812d9dbe571223e176c7b0569e
|
data/CHANGELOG.md
CHANGED
|
@@ -470,6 +470,37 @@ module Google
|
|
|
470
470
|
end
|
|
471
471
|
end
|
|
472
472
|
|
|
473
|
+
# Telemetry about a `Publish` operation which may or may not be common across
|
|
474
|
+
# individual RPCs.
|
|
475
|
+
class PublishOperation
|
|
476
|
+
include Google::Apis::Core::Hashable
|
|
477
|
+
|
|
478
|
+
# Optional. If the publisher client is using publish hedging, provides the
|
|
479
|
+
# attempt count for the hedge (starting at 1). A value of 0 indicates that the
|
|
480
|
+
# request was not hedged.
|
|
481
|
+
# Corresponds to the JSON property `hedgedAttemptCount`
|
|
482
|
+
# @return [Fixnum]
|
|
483
|
+
attr_accessor :hedged_attempt_count
|
|
484
|
+
|
|
485
|
+
# Optional. Time at which the `publish()` call was initiated in the client
|
|
486
|
+
# library, meaning across all RPC retry attempts, see [grpc retries](https://
|
|
487
|
+
# grpc.io/docs/guides/retry/). Provides a sense of the end-to-end publish
|
|
488
|
+
# duration from the client perspective, across retries.
|
|
489
|
+
# Corresponds to the JSON property `publishStartTime`
|
|
490
|
+
# @return [String]
|
|
491
|
+
attr_accessor :publish_start_time
|
|
492
|
+
|
|
493
|
+
def initialize(**args)
|
|
494
|
+
update!(**args)
|
|
495
|
+
end
|
|
496
|
+
|
|
497
|
+
# Update properties of this object
|
|
498
|
+
def update!(**args)
|
|
499
|
+
@hedged_attempt_count = args[:hedged_attempt_count] if args.key?(:hedged_attempt_count)
|
|
500
|
+
@publish_start_time = args[:publish_start_time] if args.key?(:publish_start_time)
|
|
501
|
+
end
|
|
502
|
+
end
|
|
503
|
+
|
|
473
504
|
# Request for the Publish method.
|
|
474
505
|
class PublishRequest
|
|
475
506
|
include Google::Apis::Core::Hashable
|
|
@@ -509,6 +540,28 @@ module Google
|
|
|
509
540
|
end
|
|
510
541
|
end
|
|
511
542
|
|
|
543
|
+
# Client-side telemetry about Pub/Sub requests, useful for debugging purposes.
|
|
544
|
+
# If the client opts to provide this information, it will be passed as a
|
|
545
|
+
# serialized proto in the `x-goog-pubsub-client-telemetry` header.
|
|
546
|
+
class PubsubClientTelemetry
|
|
547
|
+
include Google::Apis::Core::Hashable
|
|
548
|
+
|
|
549
|
+
# Telemetry about a `Publish` operation which may or may not be common across
|
|
550
|
+
# individual RPCs.
|
|
551
|
+
# Corresponds to the JSON property `publishOperation`
|
|
552
|
+
# @return [Google::Apis::PubsubV1beta2::PublishOperation]
|
|
553
|
+
attr_accessor :publish_operation
|
|
554
|
+
|
|
555
|
+
def initialize(**args)
|
|
556
|
+
update!(**args)
|
|
557
|
+
end
|
|
558
|
+
|
|
559
|
+
# Update properties of this object
|
|
560
|
+
def update!(**args)
|
|
561
|
+
@publish_operation = args[:publish_operation] if args.key?(:publish_operation)
|
|
562
|
+
end
|
|
563
|
+
end
|
|
564
|
+
|
|
512
565
|
# A message data and its attributes. The message payload must not be empty; it
|
|
513
566
|
# must contain either a non-empty data field, or at least one attribute.
|
|
514
567
|
class PubsubMessage
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module PubsubV1beta2
|
|
18
18
|
# Version of the google-apis-pubsub_v1beta2 gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.32.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
|
|
@@ -88,6 +88,12 @@ module Google
|
|
|
88
88
|
include Google::Apis::Core::JsonObjectSupport
|
|
89
89
|
end
|
|
90
90
|
|
|
91
|
+
class PublishOperation
|
|
92
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
93
|
+
|
|
94
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
95
|
+
end
|
|
96
|
+
|
|
91
97
|
class PublishRequest
|
|
92
98
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
93
99
|
|
|
@@ -100,6 +106,12 @@ module Google
|
|
|
100
106
|
include Google::Apis::Core::JsonObjectSupport
|
|
101
107
|
end
|
|
102
108
|
|
|
109
|
+
class PubsubClientTelemetry
|
|
110
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
111
|
+
|
|
112
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
113
|
+
end
|
|
114
|
+
|
|
103
115
|
class PubsubMessage
|
|
104
116
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
105
117
|
|
|
@@ -254,6 +266,14 @@ module Google
|
|
|
254
266
|
end
|
|
255
267
|
end
|
|
256
268
|
|
|
269
|
+
class PublishOperation
|
|
270
|
+
# @private
|
|
271
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
272
|
+
property :hedged_attempt_count, as: 'hedgedAttemptCount'
|
|
273
|
+
property :publish_start_time, as: 'publishStartTime'
|
|
274
|
+
end
|
|
275
|
+
end
|
|
276
|
+
|
|
257
277
|
class PublishRequest
|
|
258
278
|
# @private
|
|
259
279
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -269,6 +289,14 @@ module Google
|
|
|
269
289
|
end
|
|
270
290
|
end
|
|
271
291
|
|
|
292
|
+
class PubsubClientTelemetry
|
|
293
|
+
# @private
|
|
294
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
295
|
+
property :publish_operation, as: 'publishOperation', class: Google::Apis::PubsubV1beta2::PublishOperation, decorator: Google::Apis::PubsubV1beta2::PublishOperation::Representation
|
|
296
|
+
|
|
297
|
+
end
|
|
298
|
+
end
|
|
299
|
+
|
|
272
300
|
class PubsubMessage
|
|
273
301
|
# @private
|
|
274
302
|
class Representation < Google::Apis::Core::JsonRepresentation
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-pubsub_v1beta2
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.32.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_v1beta2/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-pubsub_v1beta2/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-pubsub_v1beta2/v0.32.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-pubsub_v1beta2
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|