google-cloud-bigquery-connection-v1 0.5.0 → 0.5.1
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 66f974959ff00f1b2d16bd6069d509214eb2ae80fe9c08496ea68b0df4517900
|
4
|
+
data.tar.gz: 2333219c4b472e93c639a1807a6b942e7533385d4b7bbb6d59f92ba701ab32c7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7eb8669f8e38c45da9149b4be2091af27c721fb698b1320b24c2d5a2fa26b1403ced670eec4b7667c1800067a134eef30955cf2ef3546943b11129f0d876b202
|
7
|
+
data.tar.gz: 5f85ce3e139489908ee1dae7ee8fcf0920c47b9c36390e902724eb9538df96ad6f4118477c04c185ea168795e665be2461c513dc7ade022252afc85f3321c6b6
|
@@ -42,13 +42,12 @@ module Google
|
|
42
42
|
# See {::Google::Cloud::Bigquery::Connection::V1::ConnectionService::Client::Configuration}
|
43
43
|
# for a description of the configuration fields.
|
44
44
|
#
|
45
|
-
#
|
45
|
+
# @example
|
46
46
|
#
|
47
|
-
#
|
48
|
-
#
|
49
|
-
#
|
50
|
-
#
|
51
|
-
# end
|
47
|
+
# # Modify the configuration for all ConnectionService clients
|
48
|
+
# ::Google::Cloud::Bigquery::Connection::V1::ConnectionService::Client.configure do |config|
|
49
|
+
# config.timeout = 10.0
|
50
|
+
# end
|
52
51
|
#
|
53
52
|
# @yield [config] Configure the Client client.
|
54
53
|
# @yieldparam config [Client::Configuration]
|
@@ -120,19 +119,15 @@ module Google
|
|
120
119
|
##
|
121
120
|
# Create a new ConnectionService client object.
|
122
121
|
#
|
123
|
-
#
|
124
|
-
#
|
125
|
-
# To create a new ConnectionService client with the default
|
126
|
-
# configuration:
|
122
|
+
# @example
|
127
123
|
#
|
128
|
-
#
|
124
|
+
# # Create a client using the default configuration
|
125
|
+
# client = ::Google::Cloud::Bigquery::Connection::V1::ConnectionService::Client.new
|
129
126
|
#
|
130
|
-
#
|
131
|
-
#
|
132
|
-
#
|
133
|
-
#
|
134
|
-
# config.timeout = 10.0
|
135
|
-
# end
|
127
|
+
# # Create a client using a custom configuration
|
128
|
+
# client = ::Google::Cloud::Bigquery::Connection::V1::ConnectionService::Client.new do |config|
|
129
|
+
# config.timeout = 10.0
|
130
|
+
# end
|
136
131
|
#
|
137
132
|
# @yield [config] Configure the ConnectionService client.
|
138
133
|
# @yieldparam config [Client::Configuration]
|
@@ -152,10 +147,9 @@ module Google
|
|
152
147
|
|
153
148
|
# Create credentials
|
154
149
|
credentials = @config.credentials
|
155
|
-
# Use self-signed JWT if the
|
150
|
+
# Use self-signed JWT if the endpoint is unchanged from default,
|
156
151
|
# but only if the default endpoint does not have a region prefix.
|
157
|
-
enable_self_signed_jwt = @config.
|
158
|
-
@config.endpoint == Client.configure.endpoint &&
|
152
|
+
enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
|
159
153
|
!@config.endpoint.split(".").first.include?("-")
|
160
154
|
credentials ||= Credentials.default scope: @config.scope,
|
161
155
|
enable_self_signed_jwt: enable_self_signed_jwt
|
@@ -236,7 +230,9 @@ module Google
|
|
236
230
|
options.apply_defaults timeout: @config.rpcs.create_connection.timeout,
|
237
231
|
metadata: metadata,
|
238
232
|
retry_policy: @config.rpcs.create_connection.retry_policy
|
239
|
-
|
233
|
+
|
234
|
+
options.apply_defaults timeout: @config.timeout,
|
235
|
+
metadata: @config.metadata,
|
240
236
|
retry_policy: @config.retry_policy
|
241
237
|
|
242
238
|
@connection_service_stub.call_rpc :create_connection, request, options: options do |response, operation|
|
@@ -303,7 +299,9 @@ module Google
|
|
303
299
|
options.apply_defaults timeout: @config.rpcs.get_connection.timeout,
|
304
300
|
metadata: metadata,
|
305
301
|
retry_policy: @config.rpcs.get_connection.retry_policy
|
306
|
-
|
302
|
+
|
303
|
+
options.apply_defaults timeout: @config.timeout,
|
304
|
+
metadata: @config.metadata,
|
307
305
|
retry_policy: @config.retry_policy
|
308
306
|
|
309
307
|
@connection_service_stub.call_rpc :get_connection, request, options: options do |response, operation|
|
@@ -374,7 +372,9 @@ module Google
|
|
374
372
|
options.apply_defaults timeout: @config.rpcs.list_connections.timeout,
|
375
373
|
metadata: metadata,
|
376
374
|
retry_policy: @config.rpcs.list_connections.retry_policy
|
377
|
-
|
375
|
+
|
376
|
+
options.apply_defaults timeout: @config.timeout,
|
377
|
+
metadata: @config.metadata,
|
378
378
|
retry_policy: @config.retry_policy
|
379
379
|
|
380
380
|
@connection_service_stub.call_rpc :list_connections, request, options: options do |response, operation|
|
@@ -447,7 +447,9 @@ module Google
|
|
447
447
|
options.apply_defaults timeout: @config.rpcs.update_connection.timeout,
|
448
448
|
metadata: metadata,
|
449
449
|
retry_policy: @config.rpcs.update_connection.retry_policy
|
450
|
-
|
450
|
+
|
451
|
+
options.apply_defaults timeout: @config.timeout,
|
452
|
+
metadata: @config.metadata,
|
451
453
|
retry_policy: @config.retry_policy
|
452
454
|
|
453
455
|
@connection_service_stub.call_rpc :update_connection, request, options: options do |response, operation|
|
@@ -514,7 +516,9 @@ module Google
|
|
514
516
|
options.apply_defaults timeout: @config.rpcs.delete_connection.timeout,
|
515
517
|
metadata: metadata,
|
516
518
|
retry_policy: @config.rpcs.delete_connection.retry_policy
|
517
|
-
|
519
|
+
|
520
|
+
options.apply_defaults timeout: @config.timeout,
|
521
|
+
metadata: @config.metadata,
|
518
522
|
retry_policy: @config.retry_policy
|
519
523
|
|
520
524
|
@connection_service_stub.call_rpc :delete_connection, request, options: options do |response, operation|
|
@@ -586,7 +590,9 @@ module Google
|
|
586
590
|
options.apply_defaults timeout: @config.rpcs.get_iam_policy.timeout,
|
587
591
|
metadata: metadata,
|
588
592
|
retry_policy: @config.rpcs.get_iam_policy.retry_policy
|
589
|
-
|
593
|
+
|
594
|
+
options.apply_defaults timeout: @config.timeout,
|
595
|
+
metadata: @config.metadata,
|
590
596
|
retry_policy: @config.retry_policy
|
591
597
|
|
592
598
|
@connection_service_stub.call_rpc :get_iam_policy, request, options: options do |response, operation|
|
@@ -661,7 +667,9 @@ module Google
|
|
661
667
|
options.apply_defaults timeout: @config.rpcs.set_iam_policy.timeout,
|
662
668
|
metadata: metadata,
|
663
669
|
retry_policy: @config.rpcs.set_iam_policy.retry_policy
|
664
|
-
|
670
|
+
|
671
|
+
options.apply_defaults timeout: @config.timeout,
|
672
|
+
metadata: @config.metadata,
|
665
673
|
retry_policy: @config.retry_policy
|
666
674
|
|
667
675
|
@connection_service_stub.call_rpc :set_iam_policy, request, options: options do |response, operation|
|
@@ -739,7 +747,9 @@ module Google
|
|
739
747
|
options.apply_defaults timeout: @config.rpcs.test_iam_permissions.timeout,
|
740
748
|
metadata: metadata,
|
741
749
|
retry_policy: @config.rpcs.test_iam_permissions.retry_policy
|
742
|
-
|
750
|
+
|
751
|
+
options.apply_defaults timeout: @config.timeout,
|
752
|
+
metadata: @config.metadata,
|
743
753
|
retry_policy: @config.retry_policy
|
744
754
|
|
745
755
|
@connection_service_stub.call_rpc :test_iam_permissions, request, options: options do |response, operation|
|
@@ -763,22 +773,21 @@ module Google
|
|
763
773
|
# Configuration can be applied globally to all clients, or to a single client
|
764
774
|
# on construction.
|
765
775
|
#
|
766
|
-
#
|
767
|
-
#
|
768
|
-
#
|
769
|
-
# to 20 seconds,
|
770
|
-
#
|
771
|
-
#
|
772
|
-
#
|
773
|
-
#
|
774
|
-
#
|
775
|
-
#
|
776
|
-
#
|
777
|
-
#
|
778
|
-
#
|
779
|
-
#
|
780
|
-
#
|
781
|
-
# end
|
776
|
+
# @example
|
777
|
+
#
|
778
|
+
# # Modify the global config, setting the timeout for
|
779
|
+
# # create_connection to 20 seconds,
|
780
|
+
# # and all remaining timeouts to 10 seconds.
|
781
|
+
# ::Google::Cloud::Bigquery::Connection::V1::ConnectionService::Client.configure do |config|
|
782
|
+
# config.timeout = 10.0
|
783
|
+
# config.rpcs.create_connection.timeout = 20.0
|
784
|
+
# end
|
785
|
+
#
|
786
|
+
# # Apply the above configuration only to a new client.
|
787
|
+
# client = ::Google::Cloud::Bigquery::Connection::V1::ConnectionService::Client.new do |config|
|
788
|
+
# config.timeout = 10.0
|
789
|
+
# config.rpcs.create_connection.timeout = 20.0
|
790
|
+
# end
|
782
791
|
#
|
783
792
|
# @!attribute [rw] endpoint
|
784
793
|
# The hostname or hostname:port of the service endpoint.
|
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.5.
|
4
|
+
version: 0.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-08-11 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
|
+
version: '0.7'
|
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.
|
29
|
+
version: '0.7'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|