google-cloud-talent-v4beta1 0.8.0 → 0.9.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: 275554695f617d9b1ccd56fb66b590ddb44806088e290c13b1c5ee4f591a8e5a
4
- data.tar.gz: 6a3d5e3ec3a5926e1b74672154175d1a863327f7c8739d9d4720255915c852e0
3
+ metadata.gz: fff4cd81ad861ca43569f28ee60c260312a51f5786a4d75b433f75f48a0a445a
4
+ data.tar.gz: 7140bf03eb0509259803b817c6aa5f5c3333fb9db4d1658f76dbea1a95bffe38
5
5
  SHA512:
6
- metadata.gz: 0aa3de1556272de5339e14a0745cc7fdc49cec1a17f62e426d370ffb28417106e87b02aa8f87f53df39940f84afe757b3971427a38420424e98a7d8309df0a09
7
- data.tar.gz: b181b60be55444e208c528c728f570398a01d5a7a11be36c3c06f38649cfe56c8750a0f3a4cccee1565fdd4f6dd66538b7751f4d57a2373132be0d0d68a830d3
6
+ metadata.gz: c3a1360276bdfaf4d05434f75cfa5ad883fa8efcfb2f4170d8911cc49e4b526c8debb0c50e9113f9edceae68e2b4d0d8bfffa736e10df6acc10bef3470d86820
7
+ data.tar.gz: 51318bdb23b043f0b4f0c0141aadc053e9da745dec31f84487d602100b3508f4bec701a7b7a5f1716e784a038f9c416be2636b2c81b48e50373cfb2e3ecdc88d
@@ -142,7 +142,7 @@ module Google
142
142
  credentials = @config.credentials
143
143
  # Use self-signed JWT if the endpoint is unchanged from default,
144
144
  # but only if the default endpoint does not have a region prefix.
145
- enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
145
+ enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
146
146
  !@config.endpoint.split(".").first.include?("-")
147
147
  credentials ||= Credentials.default scope: @config.scope,
148
148
  enable_self_signed_jwt: enable_self_signed_jwt
@@ -157,7 +157,8 @@ module Google
157
157
  credentials: credentials,
158
158
  endpoint: @config.endpoint,
159
159
  channel_args: @config.channel_args,
160
- interceptors: @config.interceptors
160
+ interceptors: @config.interceptors,
161
+ channel_pool_config: @config.channel_pool
161
162
  )
162
163
  end
163
164
 
@@ -728,7 +729,9 @@ module Google
728
729
  class Configuration
729
730
  extend ::Gapic::Config
730
731
 
731
- config_attr :endpoint, "jobs.googleapis.com", ::String
732
+ DEFAULT_ENDPOINT = "jobs.googleapis.com"
733
+
734
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
732
735
  config_attr :credentials, nil do |value|
733
736
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
734
737
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
@@ -763,6 +766,14 @@ module Google
763
766
  end
764
767
  end
765
768
 
769
+ ##
770
+ # Configuration for the channel pool
771
+ # @return [::Gapic::ServiceStub::ChannelPool::Configuration]
772
+ #
773
+ def channel_pool
774
+ @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
775
+ end
776
+
766
777
  ##
767
778
  # Configuration RPC class for the CompanyService API.
768
779
  #
@@ -138,7 +138,7 @@ module Google
138
138
  credentials = @config.credentials
139
139
  # Use self-signed JWT if the endpoint is unchanged from default,
140
140
  # but only if the default endpoint does not have a region prefix.
141
- enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
141
+ enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
142
142
  !@config.endpoint.split(".").first.include?("-")
143
143
  credentials ||= Credentials.default scope: @config.scope,
144
144
  enable_self_signed_jwt: enable_self_signed_jwt
@@ -187,6 +187,22 @@ module Google
187
187
  # @return [::Google::Cloud::Talent::V4beta1::Company]
188
188
  #
189
189
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
190
+ #
191
+ # @example Basic example
192
+ # require "google/cloud/talent/v4beta1"
193
+ #
194
+ # # Create a client object. The client can be reused for multiple calls.
195
+ # client = Google::Cloud::Talent::V4beta1::CompanyService::Rest::Client.new
196
+ #
197
+ # # Create a request. To set request fields, pass in keyword arguments.
198
+ # request = Google::Cloud::Talent::V4beta1::CreateCompanyRequest.new
199
+ #
200
+ # # Call the create_company method.
201
+ # result = client.create_company request
202
+ #
203
+ # # The returned object is of type Google::Cloud::Talent::V4beta1::Company.
204
+ # p result
205
+ #
190
206
  def create_company request, options = nil
191
207
  raise ::ArgumentError, "request must be provided" if request.nil?
192
208
 
@@ -256,6 +272,22 @@ module Google
256
272
  # @return [::Google::Cloud::Talent::V4beta1::Company]
257
273
  #
258
274
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
275
+ #
276
+ # @example Basic example
277
+ # require "google/cloud/talent/v4beta1"
278
+ #
279
+ # # Create a client object. The client can be reused for multiple calls.
280
+ # client = Google::Cloud::Talent::V4beta1::CompanyService::Rest::Client.new
281
+ #
282
+ # # Create a request. To set request fields, pass in keyword arguments.
283
+ # request = Google::Cloud::Talent::V4beta1::GetCompanyRequest.new
284
+ #
285
+ # # Call the get_company method.
286
+ # result = client.get_company request
287
+ #
288
+ # # The returned object is of type Google::Cloud::Talent::V4beta1::Company.
289
+ # p result
290
+ #
259
291
  def get_company request, options = nil
260
292
  raise ::ArgumentError, "request must be provided" if request.nil?
261
293
 
@@ -331,6 +363,22 @@ module Google
331
363
  # @return [::Google::Cloud::Talent::V4beta1::Company]
332
364
  #
333
365
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
366
+ #
367
+ # @example Basic example
368
+ # require "google/cloud/talent/v4beta1"
369
+ #
370
+ # # Create a client object. The client can be reused for multiple calls.
371
+ # client = Google::Cloud::Talent::V4beta1::CompanyService::Rest::Client.new
372
+ #
373
+ # # Create a request. To set request fields, pass in keyword arguments.
374
+ # request = Google::Cloud::Talent::V4beta1::UpdateCompanyRequest.new
375
+ #
376
+ # # Call the update_company method.
377
+ # result = client.update_company request
378
+ #
379
+ # # The returned object is of type Google::Cloud::Talent::V4beta1::Company.
380
+ # p result
381
+ #
334
382
  def update_company request, options = nil
335
383
  raise ::ArgumentError, "request must be provided" if request.nil?
336
384
 
@@ -401,6 +449,22 @@ module Google
401
449
  # @return [::Google::Protobuf::Empty]
402
450
  #
403
451
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
452
+ #
453
+ # @example Basic example
454
+ # require "google/cloud/talent/v4beta1"
455
+ #
456
+ # # Create a client object. The client can be reused for multiple calls.
457
+ # client = Google::Cloud::Talent::V4beta1::CompanyService::Rest::Client.new
458
+ #
459
+ # # Create a request. To set request fields, pass in keyword arguments.
460
+ # request = Google::Cloud::Talent::V4beta1::DeleteCompanyRequest.new
461
+ #
462
+ # # Call the delete_company method.
463
+ # result = client.delete_company request
464
+ #
465
+ # # The returned object is of type Google::Protobuf::Empty.
466
+ # p result
467
+ #
404
468
  def delete_company request, options = nil
405
469
  raise ::ArgumentError, "request must be provided" if request.nil?
406
470
 
@@ -482,6 +546,26 @@ module Google
482
546
  # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Talent::V4beta1::Company>]
483
547
  #
484
548
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
549
+ #
550
+ # @example Basic example
551
+ # require "google/cloud/talent/v4beta1"
552
+ #
553
+ # # Create a client object. The client can be reused for multiple calls.
554
+ # client = Google::Cloud::Talent::V4beta1::CompanyService::Rest::Client.new
555
+ #
556
+ # # Create a request. To set request fields, pass in keyword arguments.
557
+ # request = Google::Cloud::Talent::V4beta1::ListCompaniesRequest.new
558
+ #
559
+ # # Call the list_companies method.
560
+ # result = client.list_companies request
561
+ #
562
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
563
+ # # over elements, and API calls will be issued to fetch pages as needed.
564
+ # result.each do |item|
565
+ # # Each element is of type ::Google::Cloud::Talent::V4beta1::Company.
566
+ # p item
567
+ # end
568
+ #
485
569
  def list_companies request, options = nil
486
570
  raise ::ArgumentError, "request must be provided" if request.nil?
487
571
 
@@ -591,7 +675,9 @@ module Google
591
675
  class Configuration
592
676
  extend ::Gapic::Config
593
677
 
594
- config_attr :endpoint, "jobs.googleapis.com", ::String
678
+ DEFAULT_ENDPOINT = "jobs.googleapis.com"
679
+
680
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
595
681
  config_attr :credentials, nil do |value|
596
682
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
597
683
  allowed.any? { |klass| klass === value }
@@ -59,7 +59,7 @@ module Google
59
59
 
60
60
  verb, uri, query_string_params, body = ServiceStub.transcode_create_company_request request_pb
61
61
  query_string_params = if query_string_params.any?
62
- query_string_params.to_h { |p| p.split("=", 2) }
62
+ query_string_params.to_h { |p| p.split "=", 2 }
63
63
  else
64
64
  {}
65
65
  end
@@ -97,7 +97,7 @@ module Google
97
97
 
98
98
  verb, uri, query_string_params, body = ServiceStub.transcode_get_company_request request_pb
99
99
  query_string_params = if query_string_params.any?
100
- query_string_params.to_h { |p| p.split("=", 2) }
100
+ query_string_params.to_h { |p| p.split "=", 2 }
101
101
  else
102
102
  {}
103
103
  end
@@ -135,7 +135,7 @@ module Google
135
135
 
136
136
  verb, uri, query_string_params, body = ServiceStub.transcode_update_company_request request_pb
137
137
  query_string_params = if query_string_params.any?
138
- query_string_params.to_h { |p| p.split("=", 2) }
138
+ query_string_params.to_h { |p| p.split "=", 2 }
139
139
  else
140
140
  {}
141
141
  end
@@ -173,7 +173,7 @@ module Google
173
173
 
174
174
  verb, uri, query_string_params, body = ServiceStub.transcode_delete_company_request request_pb
175
175
  query_string_params = if query_string_params.any?
176
- query_string_params.to_h { |p| p.split("=", 2) }
176
+ query_string_params.to_h { |p| p.split "=", 2 }
177
177
  else
178
178
  {}
179
179
  end
@@ -211,7 +211,7 @@ module Google
211
211
 
212
212
  verb, uri, query_string_params, body = ServiceStub.transcode_list_companies_request request_pb
213
213
  query_string_params = if query_string_params.any?
214
- query_string_params.to_h { |p| p.split("=", 2) }
214
+ query_string_params.to_h { |p| p.split "=", 2 }
215
215
  else
216
216
  {}
217
217
  end
@@ -128,7 +128,7 @@ module Google
128
128
  credentials = @config.credentials
129
129
  # Use self-signed JWT if the endpoint is unchanged from default,
130
130
  # but only if the default endpoint does not have a region prefix.
131
- enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
131
+ enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
132
132
  !@config.endpoint.split(".").first.include?("-")
133
133
  credentials ||= Credentials.default scope: @config.scope,
134
134
  enable_self_signed_jwt: enable_self_signed_jwt
@@ -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
 
@@ -353,7 +354,9 @@ module Google
353
354
  class Configuration
354
355
  extend ::Gapic::Config
355
356
 
356
- config_attr :endpoint, "jobs.googleapis.com", ::String
357
+ DEFAULT_ENDPOINT = "jobs.googleapis.com"
358
+
359
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
357
360
  config_attr :credentials, nil do |value|
358
361
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
359
362
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
@@ -388,6 +391,14 @@ module Google
388
391
  end
389
392
  end
390
393
 
394
+ ##
395
+ # Configuration for the channel pool
396
+ # @return [::Gapic::ServiceStub::ChannelPool::Configuration]
397
+ #
398
+ def channel_pool
399
+ @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
400
+ end
401
+
391
402
  ##
392
403
  # Configuration RPC class for the Completion API.
393
404
  #
@@ -124,7 +124,7 @@ module Google
124
124
  credentials = @config.credentials
125
125
  # Use self-signed JWT if the endpoint is unchanged from default,
126
126
  # but only if the default endpoint does not have a region prefix.
127
- enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
127
+ enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
128
128
  !@config.endpoint.split(".").first.include?("-")
129
129
  credentials ||= Credentials.default scope: @config.scope,
130
130
  enable_self_signed_jwt: enable_self_signed_jwt
@@ -204,6 +204,22 @@ module Google
204
204
  # @return [::Google::Cloud::Talent::V4beta1::CompleteQueryResponse]
205
205
  #
206
206
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
207
+ #
208
+ # @example Basic example
209
+ # require "google/cloud/talent/v4beta1"
210
+ #
211
+ # # Create a client object. The client can be reused for multiple calls.
212
+ # client = Google::Cloud::Talent::V4beta1::Completion::Rest::Client.new
213
+ #
214
+ # # Create a request. To set request fields, pass in keyword arguments.
215
+ # request = Google::Cloud::Talent::V4beta1::CompleteQueryRequest.new
216
+ #
217
+ # # Call the complete_query method.
218
+ # result = client.complete_query request
219
+ #
220
+ # # The returned object is of type Google::Cloud::Talent::V4beta1::CompleteQueryResponse.
221
+ # p result
222
+ #
207
223
  def complete_query request, options = nil
208
224
  raise ::ArgumentError, "request must be provided" if request.nil?
209
225
 
@@ -312,7 +328,9 @@ module Google
312
328
  class Configuration
313
329
  extend ::Gapic::Config
314
330
 
315
- config_attr :endpoint, "jobs.googleapis.com", ::String
331
+ DEFAULT_ENDPOINT = "jobs.googleapis.com"
332
+
333
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
316
334
  config_attr :credentials, nil do |value|
317
335
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
318
336
  allowed.any? { |klass| klass === value }
@@ -59,7 +59,7 @@ module Google
59
59
 
60
60
  verb, uri, query_string_params, body = ServiceStub.transcode_complete_query_request request_pb
61
61
  query_string_params = if query_string_params.any?
62
- query_string_params.to_h { |p| p.split("=", 2) }
62
+ query_string_params.to_h { |p| p.split "=", 2 }
63
63
  else
64
64
  {}
65
65
  end
@@ -125,7 +125,7 @@ module Google
125
125
  credentials = @config.credentials
126
126
  # Use self-signed JWT if the endpoint is unchanged from default,
127
127
  # but only if the default endpoint does not have a region prefix.
128
- enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
128
+ enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
129
129
  !@config.endpoint.split(".").first.include?("-")
130
130
  credentials ||= Credentials.default scope: @config.scope,
131
131
  enable_self_signed_jwt: enable_self_signed_jwt
@@ -140,7 +140,8 @@ module Google
140
140
  credentials: credentials,
141
141
  endpoint: @config.endpoint,
142
142
  channel_args: @config.channel_args,
143
- interceptors: @config.interceptors
143
+ interceptors: @config.interceptors,
144
+ channel_pool_config: @config.channel_pool
144
145
  )
145
146
  end
146
147
 
@@ -326,7 +327,9 @@ module Google
326
327
  class Configuration
327
328
  extend ::Gapic::Config
328
329
 
329
- config_attr :endpoint, "jobs.googleapis.com", ::String
330
+ DEFAULT_ENDPOINT = "jobs.googleapis.com"
331
+
332
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
330
333
  config_attr :credentials, nil do |value|
331
334
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
332
335
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
@@ -361,6 +364,14 @@ module Google
361
364
  end
362
365
  end
363
366
 
367
+ ##
368
+ # Configuration for the channel pool
369
+ # @return [::Gapic::ServiceStub::ChannelPool::Configuration]
370
+ #
371
+ def channel_pool
372
+ @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
373
+ end
374
+
364
375
  ##
365
376
  # Configuration RPC class for the EventService API.
366
377
  #
@@ -121,7 +121,7 @@ module Google
121
121
  credentials = @config.credentials
122
122
  # Use self-signed JWT if the endpoint is unchanged from default,
123
123
  # but only if the default endpoint does not have a region prefix.
124
- enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
124
+ enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
125
125
  !@config.endpoint.split(".").first.include?("-")
126
126
  credentials ||= Credentials.default scope: @config.scope,
127
127
  enable_self_signed_jwt: enable_self_signed_jwt
@@ -177,6 +177,22 @@ module Google
177
177
  # @return [::Google::Cloud::Talent::V4beta1::ClientEvent]
178
178
  #
179
179
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
180
+ #
181
+ # @example Basic example
182
+ # require "google/cloud/talent/v4beta1"
183
+ #
184
+ # # Create a client object. The client can be reused for multiple calls.
185
+ # client = Google::Cloud::Talent::V4beta1::EventService::Rest::Client.new
186
+ #
187
+ # # Create a request. To set request fields, pass in keyword arguments.
188
+ # request = Google::Cloud::Talent::V4beta1::CreateClientEventRequest.new
189
+ #
190
+ # # Call the create_client_event method.
191
+ # result = client.create_client_event request
192
+ #
193
+ # # The returned object is of type Google::Cloud::Talent::V4beta1::ClientEvent.
194
+ # p result
195
+ #
180
196
  def create_client_event request, options = nil
181
197
  raise ::ArgumentError, "request must be provided" if request.nil?
182
198
 
@@ -285,7 +301,9 @@ module Google
285
301
  class Configuration
286
302
  extend ::Gapic::Config
287
303
 
288
- config_attr :endpoint, "jobs.googleapis.com", ::String
304
+ DEFAULT_ENDPOINT = "jobs.googleapis.com"
305
+
306
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
289
307
  config_attr :credentials, nil do |value|
290
308
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
291
309
  allowed.any? { |klass| klass === value }
@@ -59,7 +59,7 @@ module Google
59
59
 
60
60
  verb, uri, query_string_params, body = ServiceStub.transcode_create_client_event_request request_pb
61
61
  query_string_params = if query_string_params.any?
62
- query_string_params.to_h { |p| p.split("=", 2) }
62
+ query_string_params.to_h { |p| p.split "=", 2 }
63
63
  else
64
64
  {}
65
65
  end
@@ -152,7 +152,7 @@ module Google
152
152
  credentials = @config.credentials
153
153
  # Use self-signed JWT if the endpoint is unchanged from default,
154
154
  # but only if the default endpoint does not have a region prefix.
155
- enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
155
+ enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
156
156
  !@config.endpoint.split(".").first.include?("-")
157
157
  credentials ||= Credentials.default scope: @config.scope,
158
158
  enable_self_signed_jwt: enable_self_signed_jwt
@@ -173,7 +173,8 @@ module Google
173
173
  credentials: credentials,
174
174
  endpoint: @config.endpoint,
175
175
  channel_args: @config.channel_args,
176
- interceptors: @config.interceptors
176
+ interceptors: @config.interceptors,
177
+ channel_pool_config: @config.channel_pool
177
178
  )
178
179
  end
179
180
 
@@ -1841,7 +1842,9 @@ module Google
1841
1842
  class Configuration
1842
1843
  extend ::Gapic::Config
1843
1844
 
1844
- config_attr :endpoint, "jobs.googleapis.com", ::String
1845
+ DEFAULT_ENDPOINT = "jobs.googleapis.com"
1846
+
1847
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
1845
1848
  config_attr :credentials, nil do |value|
1846
1849
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
1847
1850
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
@@ -1876,6 +1879,14 @@ module Google
1876
1879
  end
1877
1880
  end
1878
1881
 
1882
+ ##
1883
+ # Configuration for the channel pool
1884
+ # @return [::Gapic::ServiceStub::ChannelPool::Configuration]
1885
+ #
1886
+ def channel_pool
1887
+ @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
1888
+ end
1889
+
1879
1890
  ##
1880
1891
  # Configuration RPC class for the JobService API.
1881
1892
  #
@@ -93,7 +93,8 @@ module Google
93
93
  credentials: credentials,
94
94
  endpoint: @config.endpoint,
95
95
  channel_args: @config.channel_args,
96
- interceptors: @config.interceptors
96
+ interceptors: @config.interceptors,
97
+ channel_pool_config: @config.channel_pool
97
98
  )
98
99
 
99
100
  # Used by an LRO wrapper for some methods of this service
@@ -664,7 +665,9 @@ module Google
664
665
  class Configuration
665
666
  extend ::Gapic::Config
666
667
 
667
- config_attr :endpoint, "jobs.googleapis.com", ::String
668
+ DEFAULT_ENDPOINT = "jobs.googleapis.com"
669
+
670
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
668
671
  config_attr :credentials, nil do |value|
669
672
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
670
673
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
@@ -699,6 +702,14 @@ module Google
699
702
  end
700
703
  end
701
704
 
705
+ ##
706
+ # Configuration for the channel pool
707
+ # @return [::Gapic::ServiceStub::ChannelPool::Configuration]
708
+ #
709
+ def channel_pool
710
+ @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
711
+ end
712
+
702
713
  ##
703
714
  # Configuration RPC class for the Operations API.
704
715
  #