google-apis-pubsub_v1 0.37.0 → 0.38.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cc53e8f7177d7b64729ee2706e490a94b8890a280c7b09545b33ceb7973f8217
|
4
|
+
data.tar.gz: 413c019559d65556122c8d9c864126430b485d38f1242a811d4bac5496adc2b5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 04465e695856d2d7fde0f0f90d9418c65a0eb2a5995652b38ba7d80c0d14e710e706bf06789a8a9c453e4a507698a2d888736bd4021120f32d7c16a345bdaad3
|
7
|
+
data.tar.gz: f867e709c0af85e9c676459bb7c76ca3610e6a8d37f51d9236a6235cef43306137fdfb4acea631b8cfbcf37feb6eabe3bf117fe6cd0e2bce2615fb767e46bde8
|
data/CHANGELOG.md
CHANGED
@@ -727,6 +727,28 @@ module Google
|
|
727
727
|
end
|
728
728
|
end
|
729
729
|
|
730
|
+
# Sets the `data` field as the HTTP body for delivery.
|
731
|
+
class NoWrapper
|
732
|
+
include Google::Apis::Core::Hashable
|
733
|
+
|
734
|
+
# When true, writes the Pub/Sub message metadata to `x-goog-pubsub-:` headers of
|
735
|
+
# the HTTP request. Writes the Pub/Sub message attributes to `:` headers of the
|
736
|
+
# HTTP request.
|
737
|
+
# Corresponds to the JSON property `writeMetadata`
|
738
|
+
# @return [Boolean]
|
739
|
+
attr_accessor :write_metadata
|
740
|
+
alias_method :write_metadata?, :write_metadata
|
741
|
+
|
742
|
+
def initialize(**args)
|
743
|
+
update!(**args)
|
744
|
+
end
|
745
|
+
|
746
|
+
# Update properties of this object
|
747
|
+
def update!(**args)
|
748
|
+
@write_metadata = args[:write_metadata] if args.key?(:write_metadata)
|
749
|
+
end
|
750
|
+
end
|
751
|
+
|
730
752
|
# Contains information needed for generating an [OpenID Connect token](https://
|
731
753
|
# developers.google.com/identity/protocols/OpenIDConnect).
|
732
754
|
class OidcToken
|
@@ -952,6 +974,21 @@ module Google
|
|
952
974
|
end
|
953
975
|
end
|
954
976
|
|
977
|
+
# The payload to the push endpoint is in the form of the JSON representation of
|
978
|
+
# a PubsubMessage (https://cloud.google.com/pubsub/docs/reference/rpc/google.
|
979
|
+
# pubsub.v1#pubsubmessage).
|
980
|
+
class PubsubWrapper
|
981
|
+
include Google::Apis::Core::Hashable
|
982
|
+
|
983
|
+
def initialize(**args)
|
984
|
+
update!(**args)
|
985
|
+
end
|
986
|
+
|
987
|
+
# Update properties of this object
|
988
|
+
def update!(**args)
|
989
|
+
end
|
990
|
+
end
|
991
|
+
|
955
992
|
# Request for the `Pull` method.
|
956
993
|
class PullRequest
|
957
994
|
include Google::Apis::Core::Hashable
|
@@ -1030,12 +1067,24 @@ module Google
|
|
1030
1067
|
# @return [Hash<String,String>]
|
1031
1068
|
attr_accessor :attributes
|
1032
1069
|
|
1070
|
+
# Sets the `data` field as the HTTP body for delivery.
|
1071
|
+
# Corresponds to the JSON property `noWrapper`
|
1072
|
+
# @return [Google::Apis::PubsubV1::NoWrapper]
|
1073
|
+
attr_accessor :no_wrapper
|
1074
|
+
|
1033
1075
|
# Contains information needed for generating an [OpenID Connect token](https://
|
1034
1076
|
# developers.google.com/identity/protocols/OpenIDConnect).
|
1035
1077
|
# Corresponds to the JSON property `oidcToken`
|
1036
1078
|
# @return [Google::Apis::PubsubV1::OidcToken]
|
1037
1079
|
attr_accessor :oidc_token
|
1038
1080
|
|
1081
|
+
# The payload to the push endpoint is in the form of the JSON representation of
|
1082
|
+
# a PubsubMessage (https://cloud.google.com/pubsub/docs/reference/rpc/google.
|
1083
|
+
# pubsub.v1#pubsubmessage).
|
1084
|
+
# Corresponds to the JSON property `pubsubWrapper`
|
1085
|
+
# @return [Google::Apis::PubsubV1::PubsubWrapper]
|
1086
|
+
attr_accessor :pubsub_wrapper
|
1087
|
+
|
1039
1088
|
# A URL locating the endpoint to which messages should be pushed. For example, a
|
1040
1089
|
# Webhook endpoint might use `https://example.com/push`.
|
1041
1090
|
# Corresponds to the JSON property `pushEndpoint`
|
@@ -1049,7 +1098,9 @@ module Google
|
|
1049
1098
|
# Update properties of this object
|
1050
1099
|
def update!(**args)
|
1051
1100
|
@attributes = args[:attributes] if args.key?(:attributes)
|
1101
|
+
@no_wrapper = args[:no_wrapper] if args.key?(:no_wrapper)
|
1052
1102
|
@oidc_token = args[:oidc_token] if args.key?(:oidc_token)
|
1103
|
+
@pubsub_wrapper = args[:pubsub_wrapper] if args.key?(:pubsub_wrapper)
|
1053
1104
|
@push_endpoint = args[:push_endpoint] if args.key?(:push_endpoint)
|
1054
1105
|
end
|
1055
1106
|
end
|
@@ -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.38.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230529"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -154,6 +154,12 @@ module Google
|
|
154
154
|
include Google::Apis::Core::JsonObjectSupport
|
155
155
|
end
|
156
156
|
|
157
|
+
class NoWrapper
|
158
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
|
+
|
160
|
+
include Google::Apis::Core::JsonObjectSupport
|
161
|
+
end
|
162
|
+
|
157
163
|
class OidcToken
|
158
164
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
165
|
|
@@ -184,6 +190,12 @@ module Google
|
|
184
190
|
include Google::Apis::Core::JsonObjectSupport
|
185
191
|
end
|
186
192
|
|
193
|
+
class PubsubWrapper
|
194
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
|
+
|
196
|
+
include Google::Apis::Core::JsonObjectSupport
|
197
|
+
end
|
198
|
+
|
187
199
|
class PullRequest
|
188
200
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
189
201
|
|
@@ -516,6 +528,13 @@ module Google
|
|
516
528
|
end
|
517
529
|
end
|
518
530
|
|
531
|
+
class NoWrapper
|
532
|
+
# @private
|
533
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
534
|
+
property :write_metadata, as: 'writeMetadata'
|
535
|
+
end
|
536
|
+
end
|
537
|
+
|
519
538
|
class OidcToken
|
520
539
|
# @private
|
521
540
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -560,6 +579,12 @@ module Google
|
|
560
579
|
end
|
561
580
|
end
|
562
581
|
|
582
|
+
class PubsubWrapper
|
583
|
+
# @private
|
584
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
585
|
+
end
|
586
|
+
end
|
587
|
+
|
563
588
|
class PullRequest
|
564
589
|
# @private
|
565
590
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -580,8 +605,12 @@ module Google
|
|
580
605
|
# @private
|
581
606
|
class Representation < Google::Apis::Core::JsonRepresentation
|
582
607
|
hash :attributes, as: 'attributes'
|
608
|
+
property :no_wrapper, as: 'noWrapper', class: Google::Apis::PubsubV1::NoWrapper, decorator: Google::Apis::PubsubV1::NoWrapper::Representation
|
609
|
+
|
583
610
|
property :oidc_token, as: 'oidcToken', class: Google::Apis::PubsubV1::OidcToken, decorator: Google::Apis::PubsubV1::OidcToken::Representation
|
584
611
|
|
612
|
+
property :pubsub_wrapper, as: 'pubsubWrapper', class: Google::Apis::PubsubV1::PubsubWrapper, decorator: Google::Apis::PubsubV1::PubsubWrapper::Representation
|
613
|
+
|
585
614
|
property :push_endpoint, as: 'pushEndpoint'
|
586
615
|
end
|
587
616
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.38.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-06-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-pubsub_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-pubsub_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-pubsub_v1/v0.38.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-pubsub_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|