google-cloud-eventarc-publishing-v1 0.8.2 → 1.0.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: 46930cdfd671909f2d374e81c7367f47841007bebf1c5912b111dfc00e50f788
4
- data.tar.gz: ba429d5f24d7ca70674fa919cb528debf9f49a441190bc3ffdca047f9543fe02
3
+ metadata.gz: 314150256a936394802ac2ec8d9534fe8b72f384a864f9fe40bd4faa2062173f
4
+ data.tar.gz: 6585dfac81f4a90dd5036610f53e2d4e8c80dd774e0def849e96f72deaf3b8c3
5
5
  SHA512:
6
- metadata.gz: 6c6e3c74bbd8d3b86089ab78cabc4f02aa810b222f9fb2a8f68e51156b97c77142adb7a338ff6e4683dfef0089ede1a727584c57aa0f56be63d831067d85381d
7
- data.tar.gz: 12db095774bce6bf84cfc1ca2ff12ad5b0b5378a9156312caa1ff06b598f693c4e11db782a6d59f459fbeaa3ad3a62beb5f17feb7a1555ac24aca1895a931e89
6
+ metadata.gz: 9a8064a0a99ee0f0062323e1f2c04fe1dce67e4545d9ae0506053036272c723f36ae971bedf0b7d531aea8abac24a1de32fbad101f226f3c1a9498519d019f7a
7
+ data.tar.gz: fc3c8c89a87e81578fc5cf92b9842776625857aa4928f8ff3392233c4ffd26434c02ad118f1e361807ccbef09dcbd05fe86aa225a3c016eddd9790eadf635b71
data/README.md CHANGED
@@ -76,7 +76,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
76
76
 
77
77
  ## Supported Ruby Versions
78
78
 
79
- This library is supported on Ruby 2.6+.
79
+ This library is supported on Ruby 2.7+.
80
80
 
81
81
  Google provides official support for Ruby versions that are actively supported
82
82
  by Ruby Core—that is, Ruby versions that are either in normal maintenance or
@@ -54,6 +54,9 @@ module Google
54
54
  # Publisher allows an event provider to publish events to Eventarc.
55
55
  #
56
56
  class Client
57
+ # @private
58
+ API_VERSION = ""
59
+
57
60
  # @private
58
61
  DEFAULT_ENDPOINT_TEMPLATE = "eventarcpublishing.$UNIVERSE_DOMAIN$"
59
62
 
@@ -249,10 +252,11 @@ module Google
249
252
  # Customize the options with defaults
250
253
  metadata = @config.rpcs.publish_channel_connection_events.metadata.to_h
251
254
 
252
- # Set x-goog-api-client and x-goog-user-project headers
255
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
253
256
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
254
257
  lib_name: @config.lib_name, lib_version: @config.lib_version,
255
258
  gapic_version: ::Google::Cloud::Eventarc::Publishing::V1::VERSION
259
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
256
260
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
257
261
 
258
262
  header_params = {}
@@ -344,10 +348,11 @@ module Google
344
348
  # Customize the options with defaults
345
349
  metadata = @config.rpcs.publish_events.metadata.to_h
346
350
 
347
- # Set x-goog-api-client and x-goog-user-project headers
351
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
348
352
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
349
353
  lib_name: @config.lib_name, lib_version: @config.lib_version,
350
354
  gapic_version: ::Google::Cloud::Eventarc::Publishing::V1::VERSION
355
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
351
356
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
352
357
 
353
358
  header_params = {}
@@ -56,6 +56,9 @@ module Google
56
56
  # Publisher allows an event provider to publish events to Eventarc.
57
57
  #
58
58
  class Client
59
+ # @private
60
+ API_VERSION = ""
61
+
59
62
  # @private
60
63
  DEFAULT_ENDPOINT_TEMPLATE = "eventarcpublishing.$UNIVERSE_DOMAIN$"
61
64
 
@@ -241,12 +244,13 @@ module Google
241
244
  # Customize the options with defaults
242
245
  call_metadata = @config.rpcs.publish_channel_connection_events.metadata.to_h
243
246
 
244
- # Set x-goog-api-client and x-goog-user-project headers
247
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
245
248
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
246
249
  lib_name: @config.lib_name, lib_version: @config.lib_version,
247
250
  gapic_version: ::Google::Cloud::Eventarc::Publishing::V1::VERSION,
248
251
  transports_version_send: [:rest]
249
252
 
253
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
250
254
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
251
255
 
252
256
  options.apply_defaults timeout: @config.rpcs.publish_channel_connection_events.timeout,
@@ -329,12 +333,13 @@ module Google
329
333
  # Customize the options with defaults
330
334
  call_metadata = @config.rpcs.publish_events.metadata.to_h
331
335
 
332
- # Set x-goog-api-client and x-goog-user-project headers
336
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
333
337
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
334
338
  lib_name: @config.lib_name, lib_version: @config.lib_version,
335
339
  gapic_version: ::Google::Cloud::Eventarc::Publishing::V1::VERSION,
336
340
  transports_version_send: [:rest]
337
341
 
342
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
338
343
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
339
344
 
340
345
  options.apply_defaults timeout: @config.rpcs.publish_events.timeout,
@@ -22,7 +22,7 @@ module Google
22
22
  module Eventarc
23
23
  module Publishing
24
24
  module V1
25
- VERSION = "0.8.2"
25
+ VERSION = "1.0.0"
26
26
  end
27
27
  end
28
28
  end
@@ -118,6 +118,10 @@ module Google
118
118
  # @return [::String]
119
119
  # Optional link to proto reference documentation. Example:
120
120
  # https://cloud.google.com/pubsub/lite/docs/reference/rpc
121
+ # @!attribute [rw] rest_reference_documentation_uri
122
+ # @return [::String]
123
+ # Optional link to REST reference documentation. Example:
124
+ # https://cloud.google.com/pubsub/lite/docs/reference/rest
121
125
  class Publishing
122
126
  include ::Google::Protobuf::MessageExts
123
127
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-eventarc-publishing-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.2
4
+ version: 1.0.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: 2024-02-01 00:00:00.000000000 Z
11
+ date: 2024-07-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -44,118 +44,6 @@ dependencies:
44
44
  - - "~>"
45
45
  - !ruby/object:Gem::Version
46
46
  version: '1.0'
47
- - !ruby/object:Gem::Dependency
48
- name: google-style
49
- requirement: !ruby/object:Gem::Requirement
50
- requirements:
51
- - - "~>"
52
- - !ruby/object:Gem::Version
53
- version: 1.26.3
54
- type: :development
55
- prerelease: false
56
- version_requirements: !ruby/object:Gem::Requirement
57
- requirements:
58
- - - "~>"
59
- - !ruby/object:Gem::Version
60
- version: 1.26.3
61
- - !ruby/object:Gem::Dependency
62
- name: minitest
63
- requirement: !ruby/object:Gem::Requirement
64
- requirements:
65
- - - "~>"
66
- - !ruby/object:Gem::Version
67
- version: '5.16'
68
- type: :development
69
- prerelease: false
70
- version_requirements: !ruby/object:Gem::Requirement
71
- requirements:
72
- - - "~>"
73
- - !ruby/object:Gem::Version
74
- version: '5.16'
75
- - !ruby/object:Gem::Dependency
76
- name: minitest-focus
77
- requirement: !ruby/object:Gem::Requirement
78
- requirements:
79
- - - "~>"
80
- - !ruby/object:Gem::Version
81
- version: '1.1'
82
- type: :development
83
- prerelease: false
84
- version_requirements: !ruby/object:Gem::Requirement
85
- requirements:
86
- - - "~>"
87
- - !ruby/object:Gem::Version
88
- version: '1.1'
89
- - !ruby/object:Gem::Dependency
90
- name: minitest-rg
91
- requirement: !ruby/object:Gem::Requirement
92
- requirements:
93
- - - "~>"
94
- - !ruby/object:Gem::Version
95
- version: '5.2'
96
- type: :development
97
- prerelease: false
98
- version_requirements: !ruby/object:Gem::Requirement
99
- requirements:
100
- - - "~>"
101
- - !ruby/object:Gem::Version
102
- version: '5.2'
103
- - !ruby/object:Gem::Dependency
104
- name: rake
105
- requirement: !ruby/object:Gem::Requirement
106
- requirements:
107
- - - ">="
108
- - !ruby/object:Gem::Version
109
- version: '13.0'
110
- type: :development
111
- prerelease: false
112
- version_requirements: !ruby/object:Gem::Requirement
113
- requirements:
114
- - - ">="
115
- - !ruby/object:Gem::Version
116
- version: '13.0'
117
- - !ruby/object:Gem::Dependency
118
- name: redcarpet
119
- requirement: !ruby/object:Gem::Requirement
120
- requirements:
121
- - - "~>"
122
- - !ruby/object:Gem::Version
123
- version: '3.0'
124
- type: :development
125
- prerelease: false
126
- version_requirements: !ruby/object:Gem::Requirement
127
- requirements:
128
- - - "~>"
129
- - !ruby/object:Gem::Version
130
- version: '3.0'
131
- - !ruby/object:Gem::Dependency
132
- name: simplecov
133
- requirement: !ruby/object:Gem::Requirement
134
- requirements:
135
- - - "~>"
136
- - !ruby/object:Gem::Version
137
- version: '0.18'
138
- type: :development
139
- prerelease: false
140
- version_requirements: !ruby/object:Gem::Requirement
141
- requirements:
142
- - - "~>"
143
- - !ruby/object:Gem::Version
144
- version: '0.18'
145
- - !ruby/object:Gem::Dependency
146
- name: yard
147
- requirement: !ruby/object:Gem::Requirement
148
- requirements:
149
- - - "~>"
150
- - !ruby/object:Gem::Version
151
- version: '0.9'
152
- type: :development
153
- prerelease: false
154
- version_requirements: !ruby/object:Gem::Requirement
155
- requirements:
156
- - - "~>"
157
- - !ruby/object:Gem::Version
158
- version: '0.9'
159
47
  description: Eventarc lets you asynchronously deliver events from Google services,
160
48
  SaaS, and your own apps using loosely coupled services that react to state changes.
161
49
  Eventarc requires no infrastructure management — you can optimize productivity and
@@ -203,14 +91,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
203
91
  requirements:
204
92
  - - ">="
205
93
  - !ruby/object:Gem::Version
206
- version: '2.6'
94
+ version: '2.7'
207
95
  required_rubygems_version: !ruby/object:Gem::Requirement
208
96
  requirements:
209
97
  - - ">="
210
98
  - !ruby/object:Gem::Version
211
99
  version: '0'
212
100
  requirements: []
213
- rubygems_version: 3.5.3
101
+ rubygems_version: 3.5.6
214
102
  signing_key:
215
103
  specification_version: 4
216
104
  summary: API Client library for the Eventarc Publishing V1 API