google-cloud-eventarc-publishing-v1 0.9.0 → 1.0.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: 1113b38a1f958b04cd70a25db6a1629f105986c8a746cb78b9daa70d3e065162
4
- data.tar.gz: 25d87727f7b709119a4c36b6067e1469f9f69e53c26afdf00d60d900e5aaf884
3
+ metadata.gz: 314150256a936394802ac2ec8d9534fe8b72f384a864f9fe40bd4faa2062173f
4
+ data.tar.gz: 6585dfac81f4a90dd5036610f53e2d4e8c80dd774e0def849e96f72deaf3b8c3
5
5
  SHA512:
6
- metadata.gz: '002938cd9930b331f45a32be76e85ac4c702b8650d9d4be53eece9d2d6b4dd5fb4ee2e91156c88cb024cb174a9f495af98a6d0ffa2961ab942ae4aaeaf579e8b'
7
- data.tar.gz: a0b699688070d94dcfff928898a2b42b9511a3598e97ffb8d798ae6bf81faa7eb3f2a6a62ede50de1328df9b4c2c62dbe87d88b063f819a8d011ea460965da34
6
+ metadata.gz: 9a8064a0a99ee0f0062323e1f2c04fe1dce67e4545d9ae0506053036272c723f36ae971bedf0b7d531aea8abac24a1de32fbad101f226f3c1a9498519d019f7a
7
+ data.tar.gz: fc3c8c89a87e81578fc5cf92b9842776625857aa4928f8ff3392233c4ffd26434c02ad118f1e361807ccbef09dcbd05fe86aa225a3c016eddd9790eadf635b71
@@ -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.9.0"
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.9.0
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-26 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