google-cloud-apigee_connect-v1 0.4.0 → 0.5.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: e2721a25fb57c7ca772bbc57673bbaf06779cb5be5dac68a04a7a79b1fc2f549
4
- data.tar.gz: 061d9572c502e8122338777500336701dda348b4ff2b9d85a0e00d821165c758
3
+ metadata.gz: bf0d4878b2e53a589fc2db561a5d73f7db8d8b504d57b0aa96c23aba1ad20676
4
+ data.tar.gz: 433e7a4687ccd7b7d0f37968864237c2494e41ef58eec020bd5db0a4707a4503
5
5
  SHA512:
6
- metadata.gz: 76f46fa2cafbfe2b30cdbc7617ce22f205194e7afa793c97dc17819d3a46b6812c2fbe5682c5192a7204917b6d8694579da8800d0d267a9985d4385fc8dd6094
7
- data.tar.gz: 9ea2f8d4bf5ffd010c9f34ede0c156ac81d03eae94e8d2b384f7e073ac985d36093980cbad7d7b0eb41698d663b351eaee2d1c916953fce26f8df8fd2598ae28
6
+ metadata.gz: d2a7e292834a41d781bae870b4a5b0b69239bae267273fa668d31f1b2244c9763a8a2676941184e8c4235b3b53a3a67e880c04dfad78a3fc2b98eed7783416e9
7
+ data.tar.gz: 16c8fd2881c5f548f2ec539ad96de2a71fde85cccbb6709e73d6ccf253ff0421fc6dec1a103861baf65324e1b015fa02daf99c1bbf6b168c74ebca9b750a7fce
@@ -143,7 +143,8 @@ module Google
143
143
  credentials: credentials,
144
144
  endpoint: @config.endpoint,
145
145
  channel_args: @config.channel_args,
146
- interceptors: @config.interceptors
146
+ interceptors: @config.interceptors,
147
+ channel_pool_config: @config.channel_pool
147
148
  )
148
149
  end
149
150
 
@@ -370,6 +371,14 @@ module Google
370
371
  end
371
372
  end
372
373
 
374
+ ##
375
+ # Configuration for the channel pool
376
+ # @return [::Gapic::ServiceStub::ChannelPool::Configuration]
377
+ #
378
+ def channel_pool
379
+ @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
380
+ end
381
+
373
382
  ##
374
383
  # Configuration RPC class for the ConnectionService API.
375
384
  #
@@ -179,6 +179,26 @@ module Google
179
179
  # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::ApigeeConnect::V1::Connection>]
180
180
  #
181
181
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
182
+ #
183
+ # @example Basic example
184
+ # require "google/cloud/apigee_connect/v1"
185
+ #
186
+ # # Create a client object. The client can be reused for multiple calls.
187
+ # client = Google::Cloud::ApigeeConnect::V1::ConnectionService::Rest::Client.new
188
+ #
189
+ # # Create a request. To set request fields, pass in keyword arguments.
190
+ # request = Google::Cloud::ApigeeConnect::V1::ListConnectionsRequest.new
191
+ #
192
+ # # Call the list_connections method.
193
+ # result = client.list_connections request
194
+ #
195
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
196
+ # # over elements, and API calls will be issued to fetch pages as needed.
197
+ # result.each do |item|
198
+ # # Each element is of type ::Google::Cloud::ApigeeConnect::V1::Connection.
199
+ # p item
200
+ # end
201
+ #
182
202
  def list_connections request, options = nil
183
203
  raise ::ArgumentError, "request must be provided" if request.nil?
184
204
 
@@ -138,7 +138,8 @@ module Google
138
138
  credentials: credentials,
139
139
  endpoint: @config.endpoint,
140
140
  channel_args: @config.channel_args,
141
- interceptors: @config.interceptors
141
+ interceptors: @config.interceptors,
142
+ channel_pool_config: @config.channel_pool
142
143
  )
143
144
  end
144
145
 
@@ -347,6 +348,14 @@ module Google
347
348
  end
348
349
  end
349
350
 
351
+ ##
352
+ # Configuration for the channel pool
353
+ # @return [::Gapic::ServiceStub::ChannelPool::Configuration]
354
+ #
355
+ def channel_pool
356
+ @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
357
+ end
358
+
350
359
  ##
351
360
  # Configuration RPC class for the Tether API.
352
361
  #
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module ApigeeConnect
23
23
  module V1
24
- VERSION = "0.4.0"
24
+ VERSION = "0.5.0"
25
25
  end
26
26
  end
27
27
  end
@@ -66,6 +66,20 @@ module Google
66
66
  # a non-empty value will be returned. The user will not be aware of what
67
67
  # non-empty value to expect.
68
68
  NON_EMPTY_DEFAULT = 7
69
+
70
+ # Denotes that the field in a resource (a message annotated with
71
+ # google.api.resource) is used in the resource name to uniquely identify the
72
+ # resource. For AIP-compliant APIs, this should only be applied to the
73
+ # `name` field on the resource.
74
+ #
75
+ # This behavior should not be applied to references to other resources within
76
+ # the message.
77
+ #
78
+ # The identifier field of resources often have different field behavior
79
+ # depending on the request it is embedded in (e.g. for Create methods name
80
+ # is optional and unused, while for Update methods it is required). Instead
81
+ # of method-specific annotations, only `IDENTIFIER` is required.
82
+ IDENTIFIER = 8
69
83
  end
70
84
  end
71
85
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-apigee_connect-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.5.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
@@ -219,7 +219,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
219
219
  - !ruby/object:Gem::Version
220
220
  version: '0'
221
221
  requirements: []
222
- rubygems_version: 3.4.2
222
+ rubygems_version: 3.4.19
223
223
  signing_key:
224
224
  specification_version: 4
225
225
  summary: API Client library for the Apigee Connect V1 API