google-cloud-eventarc-publishing-v1 0.6.0 → 0.7.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: 839ca2a8a5763696148958cbc59dc0373c5bf121bc4388829c9310751825ba36
4
- data.tar.gz: 061cd51100c3b1229ab56f41ce41132b8da7e1b174a28e7ce333c55899864b13
3
+ metadata.gz: b83eaae630be0ad69114780b93acea0ffcf3043060d4cc6ea55aeb2aad5ffad4
4
+ data.tar.gz: d0279772753db2247c2049cfa22655e2db223b36d6f299855a92fa6158452228
5
5
  SHA512:
6
- metadata.gz: 1bdbb2f180720b42efddc9e6cdf040bd021457f25a4ac54e5fcba141c195cae2bdf4d26acc52f4f4e092331ed6a8b5bd368949edc4f4336064a66ce178737236
7
- data.tar.gz: 4ac2c185b8d22c6047fca5b4cfb960093121f1f8fee7ac179a711a72f9ac0dafe96a1dc898a8808971ca939dc3fc20c42eeb3e0c80aaf4b7a19fc599dc61c15c
6
+ metadata.gz: ac2cae6787284ed00b1498a08988c88010bc8866ce1a5238d8af9cf46eb567ab58b398e8b1e037232335a699de4c9f7702c862240205c324e555df806ab4b5df
7
+ data.tar.gz: fca45f51e618f9394fcab6abda13fa13ab39316082302d22913960999feeddc583d50dfb573ebe09100b8888aae178506a485357905389becee00e9847cf0875
@@ -162,7 +162,8 @@ module Google
162
162
  credentials: credentials,
163
163
  endpoint: @config.endpoint,
164
164
  channel_args: @config.channel_args,
165
- interceptors: @config.interceptors
165
+ interceptors: @config.interceptors,
166
+ channel_pool_config: @config.channel_pool
166
167
  )
167
168
  end
168
169
 
@@ -477,6 +478,14 @@ module Google
477
478
  end
478
479
  end
479
480
 
481
+ ##
482
+ # Configuration for the channel pool
483
+ # @return [::Gapic::ServiceStub::ChannelPool::Configuration]
484
+ #
485
+ def channel_pool
486
+ @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
487
+ end
488
+
480
489
  ##
481
490
  # Configuration RPC class for the Publisher API.
482
491
  #
@@ -196,6 +196,22 @@ module Google
196
196
  # @return [::Google::Cloud::Eventarc::Publishing::V1::PublishChannelConnectionEventsResponse]
197
197
  #
198
198
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
199
+ #
200
+ # @example Basic example
201
+ # require "google/cloud/eventarc/publishing/v1"
202
+ #
203
+ # # Create a client object. The client can be reused for multiple calls.
204
+ # client = Google::Cloud::Eventarc::Publishing::V1::Publisher::Rest::Client.new
205
+ #
206
+ # # Create a request. To set request fields, pass in keyword arguments.
207
+ # request = Google::Cloud::Eventarc::Publishing::V1::PublishChannelConnectionEventsRequest.new
208
+ #
209
+ # # Call the publish_channel_connection_events method.
210
+ # result = client.publish_channel_connection_events request
211
+ #
212
+ # # The returned object is of type Google::Cloud::Eventarc::Publishing::V1::PublishChannelConnectionEventsResponse.
213
+ # p result
214
+ #
199
215
  def publish_channel_connection_events request, options = nil
200
216
  raise ::ArgumentError, "request must be provided" if request.nil?
201
217
 
@@ -268,6 +284,22 @@ module Google
268
284
  # @return [::Google::Cloud::Eventarc::Publishing::V1::PublishEventsResponse]
269
285
  #
270
286
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
287
+ #
288
+ # @example Basic example
289
+ # require "google/cloud/eventarc/publishing/v1"
290
+ #
291
+ # # Create a client object. The client can be reused for multiple calls.
292
+ # client = Google::Cloud::Eventarc::Publishing::V1::Publisher::Rest::Client.new
293
+ #
294
+ # # Create a request. To set request fields, pass in keyword arguments.
295
+ # request = Google::Cloud::Eventarc::Publishing::V1::PublishEventsRequest.new
296
+ #
297
+ # # Call the publish_events method.
298
+ # result = client.publish_events request
299
+ #
300
+ # # The returned object is of type Google::Cloud::Eventarc::Publishing::V1::PublishEventsResponse.
301
+ # p result
302
+ #
271
303
  def publish_events request, options = nil
272
304
  raise ::ArgumentError, "request must be provided" if request.nil?
273
305
 
@@ -22,7 +22,7 @@ module Google
22
22
  module Eventarc
23
23
  module Publishing
24
24
  module V1
25
- VERSION = "0.6.0"
25
+ VERSION = "0.7.0"
26
26
  end
27
27
  end
28
28
  end
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.6.0
4
+ version: 0.7.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-06-06 00:00:00.000000000 Z
11
+ date: 2023-09-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.19.1
19
+ version: 0.20.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.19.1
29
+ version: 0.20.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -210,7 +210,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
210
210
  - !ruby/object:Gem::Version
211
211
  version: '0'
212
212
  requirements: []
213
- rubygems_version: 3.4.2
213
+ rubygems_version: 3.4.19
214
214
  signing_key:
215
215
  specification_version: 4
216
216
  summary: API Client library for the Eventarc Publishing V1 API