google-cloud-data_fusion-v1 0.1.0 → 0.1.1
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2237b58cfefef974c8f17111002984fae995aceb29d3582e7293857716f0ea8c
|
4
|
+
data.tar.gz: cc051f6bd50e5d2bcf9f3f97cd049c1fa551de9d90995137569156a975218c3c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 76c37392874361bc5405781d4ad05c9dc78e0b28887bd0ebe957b8bb6b2771916d00d122d035b5f2cc7a0199eaa9965e87472fb7b56529f0f9231853b0310c25
|
7
|
+
data.tar.gz: 5380787d950b492311ace55ca7b4e3e3bb39b6ef87aaab5583b7ffc4fe272b720ab93f00e5595df954c9e88c12c7cd673d8864408bd1e8e7919bf579efb9b51b
|
@@ -43,13 +43,12 @@ module Google
|
|
43
43
|
# See {::Google::Cloud::DataFusion::V1::DataFusion::Client::Configuration}
|
44
44
|
# for a description of the configuration fields.
|
45
45
|
#
|
46
|
-
#
|
46
|
+
# @example
|
47
47
|
#
|
48
|
-
#
|
49
|
-
#
|
50
|
-
#
|
51
|
-
#
|
52
|
-
# end
|
48
|
+
# # Modify the configuration for all DataFusion clients
|
49
|
+
# ::Google::Cloud::DataFusion::V1::DataFusion::Client.configure do |config|
|
50
|
+
# config.timeout = 10.0
|
51
|
+
# end
|
53
52
|
#
|
54
53
|
# @yield [config] Configure the Client client.
|
55
54
|
# @yieldparam config [Client::Configuration]
|
@@ -98,19 +97,15 @@ module Google
|
|
98
97
|
##
|
99
98
|
# Create a new DataFusion client object.
|
100
99
|
#
|
101
|
-
#
|
102
|
-
#
|
103
|
-
# To create a new DataFusion client with the default
|
104
|
-
# configuration:
|
100
|
+
# @example
|
105
101
|
#
|
106
|
-
#
|
102
|
+
# # Create a client using the default configuration
|
103
|
+
# client = ::Google::Cloud::DataFusion::V1::DataFusion::Client.new
|
107
104
|
#
|
108
|
-
#
|
109
|
-
#
|
110
|
-
#
|
111
|
-
#
|
112
|
-
# config.timeout = 10.0
|
113
|
-
# end
|
105
|
+
# # Create a client using a custom configuration
|
106
|
+
# client = ::Google::Cloud::DataFusion::V1::DataFusion::Client.new do |config|
|
107
|
+
# config.timeout = 10.0
|
108
|
+
# end
|
114
109
|
#
|
115
110
|
# @yield [config] Configure the DataFusion client.
|
116
111
|
# @yieldparam config [Client::Configuration]
|
@@ -130,10 +125,9 @@ module Google
|
|
130
125
|
|
131
126
|
# Create credentials
|
132
127
|
credentials = @config.credentials
|
133
|
-
# Use self-signed JWT if the
|
128
|
+
# Use self-signed JWT if the endpoint is unchanged from default,
|
134
129
|
# but only if the default endpoint does not have a region prefix.
|
135
|
-
enable_self_signed_jwt = @config.
|
136
|
-
@config.endpoint == Client.configure.endpoint &&
|
130
|
+
enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
|
137
131
|
!@config.endpoint.split(".").first.include?("-")
|
138
132
|
credentials ||= Credentials.default scope: @config.scope,
|
139
133
|
enable_self_signed_jwt: enable_self_signed_jwt
|
@@ -232,7 +226,9 @@ module Google
|
|
232
226
|
options.apply_defaults timeout: @config.rpcs.list_available_versions.timeout,
|
233
227
|
metadata: metadata,
|
234
228
|
retry_policy: @config.rpcs.list_available_versions.retry_policy
|
235
|
-
|
229
|
+
|
230
|
+
options.apply_defaults timeout: @config.timeout,
|
231
|
+
metadata: @config.metadata,
|
236
232
|
retry_policy: @config.retry_policy
|
237
233
|
|
238
234
|
@data_fusion_stub.call_rpc :list_available_versions, request, options: options do |response, operation|
|
@@ -311,7 +307,9 @@ module Google
|
|
311
307
|
options.apply_defaults timeout: @config.rpcs.list_instances.timeout,
|
312
308
|
metadata: metadata,
|
313
309
|
retry_policy: @config.rpcs.list_instances.retry_policy
|
314
|
-
|
310
|
+
|
311
|
+
options.apply_defaults timeout: @config.timeout,
|
312
|
+
metadata: @config.metadata,
|
315
313
|
retry_policy: @config.retry_policy
|
316
314
|
|
317
315
|
@data_fusion_stub.call_rpc :list_instances, request, options: options do |response, operation|
|
@@ -379,7 +377,9 @@ module Google
|
|
379
377
|
options.apply_defaults timeout: @config.rpcs.get_instance.timeout,
|
380
378
|
metadata: metadata,
|
381
379
|
retry_policy: @config.rpcs.get_instance.retry_policy
|
382
|
-
|
380
|
+
|
381
|
+
options.apply_defaults timeout: @config.timeout,
|
382
|
+
metadata: @config.metadata,
|
383
383
|
retry_policy: @config.retry_policy
|
384
384
|
|
385
385
|
@data_fusion_stub.call_rpc :get_instance, request, options: options do |response, operation|
|
@@ -450,7 +450,9 @@ module Google
|
|
450
450
|
options.apply_defaults timeout: @config.rpcs.create_instance.timeout,
|
451
451
|
metadata: metadata,
|
452
452
|
retry_policy: @config.rpcs.create_instance.retry_policy
|
453
|
-
|
453
|
+
|
454
|
+
options.apply_defaults timeout: @config.timeout,
|
455
|
+
metadata: @config.metadata,
|
454
456
|
retry_policy: @config.retry_policy
|
455
457
|
|
456
458
|
@data_fusion_stub.call_rpc :create_instance, request, options: options do |response, operation|
|
@@ -518,7 +520,9 @@ module Google
|
|
518
520
|
options.apply_defaults timeout: @config.rpcs.delete_instance.timeout,
|
519
521
|
metadata: metadata,
|
520
522
|
retry_policy: @config.rpcs.delete_instance.retry_policy
|
521
|
-
|
523
|
+
|
524
|
+
options.apply_defaults timeout: @config.timeout,
|
525
|
+
metadata: @config.metadata,
|
522
526
|
retry_policy: @config.retry_policy
|
523
527
|
|
524
528
|
@data_fusion_stub.call_rpc :delete_instance, request, options: options do |response, operation|
|
@@ -594,7 +598,9 @@ module Google
|
|
594
598
|
options.apply_defaults timeout: @config.rpcs.update_instance.timeout,
|
595
599
|
metadata: metadata,
|
596
600
|
retry_policy: @config.rpcs.update_instance.retry_policy
|
597
|
-
|
601
|
+
|
602
|
+
options.apply_defaults timeout: @config.timeout,
|
603
|
+
metadata: @config.metadata,
|
598
604
|
retry_policy: @config.retry_policy
|
599
605
|
|
600
606
|
@data_fusion_stub.call_rpc :update_instance, request, options: options do |response, operation|
|
@@ -663,7 +669,9 @@ module Google
|
|
663
669
|
options.apply_defaults timeout: @config.rpcs.restart_instance.timeout,
|
664
670
|
metadata: metadata,
|
665
671
|
retry_policy: @config.rpcs.restart_instance.retry_policy
|
666
|
-
|
672
|
+
|
673
|
+
options.apply_defaults timeout: @config.timeout,
|
674
|
+
metadata: @config.metadata,
|
667
675
|
retry_policy: @config.retry_policy
|
668
676
|
|
669
677
|
@data_fusion_stub.call_rpc :restart_instance, request, options: options do |response, operation|
|
@@ -688,22 +696,21 @@ module Google
|
|
688
696
|
# Configuration can be applied globally to all clients, or to a single client
|
689
697
|
# on construction.
|
690
698
|
#
|
691
|
-
#
|
692
|
-
#
|
693
|
-
#
|
694
|
-
# to 20 seconds,
|
695
|
-
#
|
696
|
-
#
|
697
|
-
#
|
698
|
-
#
|
699
|
-
#
|
700
|
-
#
|
701
|
-
#
|
702
|
-
#
|
703
|
-
#
|
704
|
-
#
|
705
|
-
#
|
706
|
-
# end
|
699
|
+
# @example
|
700
|
+
#
|
701
|
+
# # Modify the global config, setting the timeout for
|
702
|
+
# # list_available_versions to 20 seconds,
|
703
|
+
# # and all remaining timeouts to 10 seconds.
|
704
|
+
# ::Google::Cloud::DataFusion::V1::DataFusion::Client.configure do |config|
|
705
|
+
# config.timeout = 10.0
|
706
|
+
# config.rpcs.list_available_versions.timeout = 20.0
|
707
|
+
# end
|
708
|
+
#
|
709
|
+
# # Apply the above configuration only to a new client.
|
710
|
+
# client = ::Google::Cloud::DataFusion::V1::DataFusion::Client.new do |config|
|
711
|
+
# config.timeout = 10.0
|
712
|
+
# config.rpcs.list_available_versions.timeout = 20.0
|
713
|
+
# end
|
707
714
|
#
|
708
715
|
# @!attribute [rw] endpoint
|
709
716
|
# The hostname or hostname:port of the service endpoint.
|
@@ -169,7 +169,9 @@ module Google
|
|
169
169
|
options.apply_defaults timeout: @config.rpcs.list_operations.timeout,
|
170
170
|
metadata: metadata,
|
171
171
|
retry_policy: @config.rpcs.list_operations.retry_policy
|
172
|
-
|
172
|
+
|
173
|
+
options.apply_defaults timeout: @config.timeout,
|
174
|
+
metadata: @config.metadata,
|
173
175
|
retry_policy: @config.retry_policy
|
174
176
|
|
175
177
|
@operations_stub.call_rpc :list_operations, request, options: options do |response, operation|
|
@@ -239,7 +241,9 @@ module Google
|
|
239
241
|
options.apply_defaults timeout: @config.rpcs.get_operation.timeout,
|
240
242
|
metadata: metadata,
|
241
243
|
retry_policy: @config.rpcs.get_operation.retry_policy
|
242
|
-
|
244
|
+
|
245
|
+
options.apply_defaults timeout: @config.timeout,
|
246
|
+
metadata: @config.metadata,
|
243
247
|
retry_policy: @config.retry_policy
|
244
248
|
|
245
249
|
@operations_stub.call_rpc :get_operation, request, options: options do |response, operation|
|
@@ -309,7 +313,9 @@ module Google
|
|
309
313
|
options.apply_defaults timeout: @config.rpcs.delete_operation.timeout,
|
310
314
|
metadata: metadata,
|
311
315
|
retry_policy: @config.rpcs.delete_operation.retry_policy
|
312
|
-
|
316
|
+
|
317
|
+
options.apply_defaults timeout: @config.timeout,
|
318
|
+
metadata: @config.metadata,
|
313
319
|
retry_policy: @config.retry_policy
|
314
320
|
|
315
321
|
@operations_stub.call_rpc :delete_operation, request, options: options do |response, operation|
|
@@ -384,7 +390,9 @@ module Google
|
|
384
390
|
options.apply_defaults timeout: @config.rpcs.cancel_operation.timeout,
|
385
391
|
metadata: metadata,
|
386
392
|
retry_policy: @config.rpcs.cancel_operation.retry_policy
|
387
|
-
|
393
|
+
|
394
|
+
options.apply_defaults timeout: @config.timeout,
|
395
|
+
metadata: @config.metadata,
|
388
396
|
retry_policy: @config.retry_policy
|
389
397
|
|
390
398
|
@operations_stub.call_rpc :cancel_operation, request, options: options do |response, operation|
|
@@ -456,7 +464,9 @@ module Google
|
|
456
464
|
options.apply_defaults timeout: @config.rpcs.wait_operation.timeout,
|
457
465
|
metadata: metadata,
|
458
466
|
retry_policy: @config.rpcs.wait_operation.retry_policy
|
459
|
-
|
467
|
+
|
468
|
+
options.apply_defaults timeout: @config.timeout,
|
469
|
+
metadata: @config.metadata,
|
460
470
|
retry_policy: @config.retry_policy
|
461
471
|
|
462
472
|
@operations_stub.call_rpc :wait_operation, request, options: options do |response, operation|
|
@@ -481,22 +491,21 @@ module Google
|
|
481
491
|
# Configuration can be applied globally to all clients, or to a single client
|
482
492
|
# on construction.
|
483
493
|
#
|
484
|
-
#
|
485
|
-
#
|
486
|
-
#
|
487
|
-
# to 20 seconds,
|
488
|
-
#
|
489
|
-
#
|
490
|
-
#
|
491
|
-
#
|
492
|
-
#
|
493
|
-
#
|
494
|
-
#
|
495
|
-
#
|
496
|
-
#
|
497
|
-
#
|
498
|
-
#
|
499
|
-
# end
|
494
|
+
# @example
|
495
|
+
#
|
496
|
+
# # Modify the global config, setting the timeout for
|
497
|
+
# # list_operations to 20 seconds,
|
498
|
+
# # and all remaining timeouts to 10 seconds.
|
499
|
+
# ::Google::Longrunning::Operations::Client.configure do |config|
|
500
|
+
# config.timeout = 10.0
|
501
|
+
# config.rpcs.list_operations.timeout = 20.0
|
502
|
+
# end
|
503
|
+
#
|
504
|
+
# # Apply the above configuration only to a new client.
|
505
|
+
# client = ::Google::Longrunning::Operations::Client.new do |config|
|
506
|
+
# config.timeout = 10.0
|
507
|
+
# config.rpcs.list_operations.timeout = 20.0
|
508
|
+
# end
|
500
509
|
#
|
501
510
|
# @!attribute [rw] endpoint
|
502
511
|
# 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-data_fusion-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.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
|