google-cloud-bigquery-connection-v1 0.15.1 → 0.16.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: 137eff89dfa94e496cd8a778448bc7a8193d6fac39113daeaf64c4327a05f4cf
4
- data.tar.gz: 39ebca9db2bba43ca26d3a768feaaf06c4686efb9b6ec020722f42fec713b5c6
3
+ metadata.gz: 261199b81b3cb08c404e8cf51100c9bf9faebe1ef4e3a66611a927db3aba592b
4
+ data.tar.gz: 113a4af748819acd8b72c820e01e80890dcada357018bfd058d77db4dfcbfd55
5
5
  SHA512:
6
- metadata.gz: fe6dd1e8106d1282d296317a59825bd7be48a78632a8e1bf6bf85106f68a49129fd1ed6362b79ceee755bfd87ccdab6bf034294eaa47d0af4083af29c64efc20
7
- data.tar.gz: 2bc84ef5e5b0e5a6f268bb8a0a1436b1edb4f4b7f0bbd17746c75d94f28ffba359699dadb38fa5b02dc4d2741eb23ff924dc9cd8787b44203ff28b69185296d1
6
+ metadata.gz: 723c23a2c986bb496a9502dfd5e2ddbbffbacbef9a1d9d87f6cf13fd9f320f48a17f7df6d1878006c027508281482bc552b64147da99f99d2d03c93decb4b521
7
+ data.tar.gz: 027a305a39c5d069d3f14801c88e5f5296bd75700ecbe4e088a140e61255d85e8a8058a8e9a55cc6c22217bf5f2d5221b30ce25b38f9431436b3330de1e07b11
@@ -164,7 +164,8 @@ module Google
164
164
  credentials: credentials,
165
165
  endpoint: @config.endpoint,
166
166
  channel_args: @config.channel_args,
167
- interceptors: @config.interceptors
167
+ interceptors: @config.interceptors,
168
+ channel_pool_config: @config.channel_pool
168
169
  )
169
170
  end
170
171
 
@@ -1025,6 +1026,14 @@ module Google
1025
1026
  end
1026
1027
  end
1027
1028
 
1029
+ ##
1030
+ # Configuration for the channel pool
1031
+ # @return [::Gapic::ServiceStub::ChannelPool::Configuration]
1032
+ #
1033
+ def channel_pool
1034
+ @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
1035
+ end
1036
+
1028
1037
  ##
1029
1038
  # Configuration RPC class for the ConnectionService API.
1030
1039
  #
@@ -193,6 +193,22 @@ module Google
193
193
  # @return [::Google::Cloud::Bigquery::Connection::V1::Connection]
194
194
  #
195
195
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
196
+ #
197
+ # @example Basic example
198
+ # require "google/cloud/bigquery/connection/v1"
199
+ #
200
+ # # Create a client object. The client can be reused for multiple calls.
201
+ # client = Google::Cloud::Bigquery::Connection::V1::ConnectionService::Rest::Client.new
202
+ #
203
+ # # Create a request. To set request fields, pass in keyword arguments.
204
+ # request = Google::Cloud::Bigquery::Connection::V1::CreateConnectionRequest.new
205
+ #
206
+ # # Call the create_connection method.
207
+ # result = client.create_connection request
208
+ #
209
+ # # The returned object is of type Google::Cloud::Bigquery::Connection::V1::Connection.
210
+ # p result
211
+ #
196
212
  def create_connection request, options = nil
197
213
  raise ::ArgumentError, "request must be provided" if request.nil?
198
214
 
@@ -256,6 +272,22 @@ module Google
256
272
  # @return [::Google::Cloud::Bigquery::Connection::V1::Connection]
257
273
  #
258
274
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
275
+ #
276
+ # @example Basic example
277
+ # require "google/cloud/bigquery/connection/v1"
278
+ #
279
+ # # Create a client object. The client can be reused for multiple calls.
280
+ # client = Google::Cloud::Bigquery::Connection::V1::ConnectionService::Rest::Client.new
281
+ #
282
+ # # Create a request. To set request fields, pass in keyword arguments.
283
+ # request = Google::Cloud::Bigquery::Connection::V1::GetConnectionRequest.new
284
+ #
285
+ # # Call the get_connection method.
286
+ # result = client.get_connection request
287
+ #
288
+ # # The returned object is of type Google::Cloud::Bigquery::Connection::V1::Connection.
289
+ # p result
290
+ #
259
291
  def get_connection request, options = nil
260
292
  raise ::ArgumentError, "request must be provided" if request.nil?
261
293
 
@@ -323,6 +355,26 @@ module Google
323
355
  # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Bigquery::Connection::V1::Connection>]
324
356
  #
325
357
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
358
+ #
359
+ # @example Basic example
360
+ # require "google/cloud/bigquery/connection/v1"
361
+ #
362
+ # # Create a client object. The client can be reused for multiple calls.
363
+ # client = Google::Cloud::Bigquery::Connection::V1::ConnectionService::Rest::Client.new
364
+ #
365
+ # # Create a request. To set request fields, pass in keyword arguments.
366
+ # request = Google::Cloud::Bigquery::Connection::V1::ListConnectionsRequest.new
367
+ #
368
+ # # Call the list_connections method.
369
+ # result = client.list_connections request
370
+ #
371
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
372
+ # # over elements, and API calls will be issued to fetch pages as needed.
373
+ # result.each do |item|
374
+ # # Each element is of type ::Google::Cloud::Bigquery::Connection::V1::Connection.
375
+ # p item
376
+ # end
377
+ #
326
378
  def list_connections request, options = nil
327
379
  raise ::ArgumentError, "request must be provided" if request.nil?
328
380
 
@@ -392,6 +444,22 @@ module Google
392
444
  # @return [::Google::Cloud::Bigquery::Connection::V1::Connection]
393
445
  #
394
446
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
447
+ #
448
+ # @example Basic example
449
+ # require "google/cloud/bigquery/connection/v1"
450
+ #
451
+ # # Create a client object. The client can be reused for multiple calls.
452
+ # client = Google::Cloud::Bigquery::Connection::V1::ConnectionService::Rest::Client.new
453
+ #
454
+ # # Create a request. To set request fields, pass in keyword arguments.
455
+ # request = Google::Cloud::Bigquery::Connection::V1::UpdateConnectionRequest.new
456
+ #
457
+ # # Call the update_connection method.
458
+ # result = client.update_connection request
459
+ #
460
+ # # The returned object is of type Google::Cloud::Bigquery::Connection::V1::Connection.
461
+ # p result
462
+ #
395
463
  def update_connection request, options = nil
396
464
  raise ::ArgumentError, "request must be provided" if request.nil?
397
465
 
@@ -455,6 +523,22 @@ module Google
455
523
  # @return [::Google::Protobuf::Empty]
456
524
  #
457
525
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
526
+ #
527
+ # @example Basic example
528
+ # require "google/cloud/bigquery/connection/v1"
529
+ #
530
+ # # Create a client object. The client can be reused for multiple calls.
531
+ # client = Google::Cloud::Bigquery::Connection::V1::ConnectionService::Rest::Client.new
532
+ #
533
+ # # Create a request. To set request fields, pass in keyword arguments.
534
+ # request = Google::Cloud::Bigquery::Connection::V1::DeleteConnectionRequest.new
535
+ #
536
+ # # Call the delete_connection method.
537
+ # result = client.delete_connection request
538
+ #
539
+ # # The returned object is of type Google::Protobuf::Empty.
540
+ # p result
541
+ #
458
542
  def delete_connection request, options = nil
459
543
  raise ::ArgumentError, "request must be provided" if request.nil?
460
544
 
@@ -523,6 +607,22 @@ module Google
523
607
  # @return [::Google::Iam::V1::Policy]
524
608
  #
525
609
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
610
+ #
611
+ # @example Basic example
612
+ # require "google/cloud/bigquery/connection/v1"
613
+ #
614
+ # # Create a client object. The client can be reused for multiple calls.
615
+ # client = Google::Cloud::Bigquery::Connection::V1::ConnectionService::Rest::Client.new
616
+ #
617
+ # # Create a request. To set request fields, pass in keyword arguments.
618
+ # request = Google::Iam::V1::GetIamPolicyRequest.new
619
+ #
620
+ # # Call the get_iam_policy method.
621
+ # result = client.get_iam_policy request
622
+ #
623
+ # # The returned object is of type Google::Iam::V1::Policy.
624
+ # p result
625
+ #
526
626
  def get_iam_policy request, options = nil
527
627
  raise ::ArgumentError, "request must be provided" if request.nil?
528
628
 
@@ -600,6 +700,22 @@ module Google
600
700
  # @return [::Google::Iam::V1::Policy]
601
701
  #
602
702
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
703
+ #
704
+ # @example Basic example
705
+ # require "google/cloud/bigquery/connection/v1"
706
+ #
707
+ # # Create a client object. The client can be reused for multiple calls.
708
+ # client = Google::Cloud::Bigquery::Connection::V1::ConnectionService::Rest::Client.new
709
+ #
710
+ # # Create a request. To set request fields, pass in keyword arguments.
711
+ # request = Google::Iam::V1::SetIamPolicyRequest.new
712
+ #
713
+ # # Call the set_iam_policy method.
714
+ # result = client.set_iam_policy request
715
+ #
716
+ # # The returned object is of type Google::Iam::V1::Policy.
717
+ # p result
718
+ #
603
719
  def set_iam_policy request, options = nil
604
720
  raise ::ArgumentError, "request must be provided" if request.nil?
605
721
 
@@ -674,6 +790,22 @@ module Google
674
790
  # @return [::Google::Iam::V1::TestIamPermissionsResponse]
675
791
  #
676
792
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
793
+ #
794
+ # @example Basic example
795
+ # require "google/cloud/bigquery/connection/v1"
796
+ #
797
+ # # Create a client object. The client can be reused for multiple calls.
798
+ # client = Google::Cloud::Bigquery::Connection::V1::ConnectionService::Rest::Client.new
799
+ #
800
+ # # Create a request. To set request fields, pass in keyword arguments.
801
+ # request = Google::Iam::V1::TestIamPermissionsRequest.new
802
+ #
803
+ # # Call the test_iam_permissions method.
804
+ # result = client.test_iam_permissions request
805
+ #
806
+ # # The returned object is of type Google::Iam::V1::TestIamPermissionsResponse.
807
+ # p result
808
+ #
677
809
  def test_iam_permissions request, options = nil
678
810
  raise ::ArgumentError, "request must be provided" if request.nil?
679
811
 
@@ -22,7 +22,7 @@ module Google
22
22
  module Bigquery
23
23
  module Connection
24
24
  module V1
25
- VERSION = "0.15.1"
25
+ VERSION = "0.16.0"
26
26
  end
27
27
  end
28
28
  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-bigquery-connection-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.1
4
+ version: 0.16.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-08-04 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
@@ -228,7 +228,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
228
228
  - !ruby/object:Gem::Version
229
229
  version: '0'
230
230
  requirements: []
231
- rubygems_version: 3.4.2
231
+ rubygems_version: 3.4.19
232
232
  signing_key:
233
233
  specification_version: 4
234
234
  summary: Allows users to manage BigQuery connections to external data sources.