google-cloud-metastore-v1 0.1.2 → 0.1.3
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: 7f7f56a8e15c2b75964822e728a5d9d0742decf75e7fb377ad82b5f3ea14695a
|
4
|
+
data.tar.gz: 9e59b1d247a7fb5c75972f0eb786585295a2ded625f8c7f5aac41711a397a334
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f1fa65423a4de0ded7d1a57d57811fd9b049ba77ce09f87993b1d8bd6f9fa872d5c7b6a55c2897904d9dc4d1d90d25c661c012eb2259b812caa248085341d9a7
|
7
|
+
data.tar.gz: 9653d6c19fbf5cdc2c2cdd6a02e346b16cd341699ded1ca14f96346b02a5f39a9b4d909bb6803bb854292f3aa66af2251a67e55b2989b234b804ad786dc587bd
|
@@ -57,13 +57,12 @@ module Google
|
|
57
57
|
# See {::Google::Cloud::Metastore::V1::DataprocMetastore::Client::Configuration}
|
58
58
|
# for a description of the configuration fields.
|
59
59
|
#
|
60
|
-
#
|
60
|
+
# @example
|
61
61
|
#
|
62
|
-
#
|
63
|
-
#
|
64
|
-
#
|
65
|
-
#
|
66
|
-
# end
|
62
|
+
# # Modify the configuration for all DataprocMetastore clients
|
63
|
+
# ::Google::Cloud::Metastore::V1::DataprocMetastore::Client.configure do |config|
|
64
|
+
# config.timeout = 10.0
|
65
|
+
# end
|
67
66
|
#
|
68
67
|
# @yield [config] Configure the Client client.
|
69
68
|
# @yieldparam config [Client::Configuration]
|
@@ -127,19 +126,15 @@ module Google
|
|
127
126
|
##
|
128
127
|
# Create a new DataprocMetastore client object.
|
129
128
|
#
|
130
|
-
#
|
131
|
-
#
|
132
|
-
# To create a new DataprocMetastore client with the default
|
133
|
-
# configuration:
|
134
|
-
#
|
135
|
-
# client = ::Google::Cloud::Metastore::V1::DataprocMetastore::Client.new
|
129
|
+
# @example
|
136
130
|
#
|
137
|
-
#
|
138
|
-
#
|
131
|
+
# # Create a client using the default configuration
|
132
|
+
# client = ::Google::Cloud::Metastore::V1::DataprocMetastore::Client.new
|
139
133
|
#
|
140
|
-
#
|
141
|
-
#
|
142
|
-
#
|
134
|
+
# # Create a client using a custom configuration
|
135
|
+
# client = ::Google::Cloud::Metastore::V1::DataprocMetastore::Client.new do |config|
|
136
|
+
# config.timeout = 10.0
|
137
|
+
# end
|
143
138
|
#
|
144
139
|
# @yield [config] Configure the DataprocMetastore client.
|
145
140
|
# @yieldparam config [Client::Configuration]
|
@@ -159,10 +154,9 @@ module Google
|
|
159
154
|
|
160
155
|
# Create credentials
|
161
156
|
credentials = @config.credentials
|
162
|
-
# Use self-signed JWT if the
|
157
|
+
# Use self-signed JWT if the endpoint is unchanged from default,
|
163
158
|
# but only if the default endpoint does not have a region prefix.
|
164
|
-
enable_self_signed_jwt = @config.
|
165
|
-
@config.endpoint == Client.configure.endpoint &&
|
159
|
+
enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
|
166
160
|
!@config.endpoint.split(".").first.include?("-")
|
167
161
|
credentials ||= Credentials.default scope: @config.scope,
|
168
162
|
enable_self_signed_jwt: enable_self_signed_jwt
|
@@ -272,7 +266,9 @@ module Google
|
|
272
266
|
options.apply_defaults timeout: @config.rpcs.list_services.timeout,
|
273
267
|
metadata: metadata,
|
274
268
|
retry_policy: @config.rpcs.list_services.retry_policy
|
275
|
-
|
269
|
+
|
270
|
+
options.apply_defaults timeout: @config.timeout,
|
271
|
+
metadata: @config.metadata,
|
276
272
|
retry_policy: @config.retry_policy
|
277
273
|
|
278
274
|
@dataproc_metastore_stub.call_rpc :list_services, request, options: options do |response, operation|
|
@@ -342,7 +338,9 @@ module Google
|
|
342
338
|
options.apply_defaults timeout: @config.rpcs.get_service.timeout,
|
343
339
|
metadata: metadata,
|
344
340
|
retry_policy: @config.rpcs.get_service.retry_policy
|
345
|
-
|
341
|
+
|
342
|
+
options.apply_defaults timeout: @config.timeout,
|
343
|
+
metadata: @config.metadata,
|
346
344
|
retry_policy: @config.retry_policy
|
347
345
|
|
348
346
|
@dataproc_metastore_stub.call_rpc :get_service, request, options: options do |response, operation|
|
@@ -435,7 +433,9 @@ module Google
|
|
435
433
|
options.apply_defaults timeout: @config.rpcs.create_service.timeout,
|
436
434
|
metadata: metadata,
|
437
435
|
retry_policy: @config.rpcs.create_service.retry_policy
|
438
|
-
|
436
|
+
|
437
|
+
options.apply_defaults timeout: @config.timeout,
|
438
|
+
metadata: @config.metadata,
|
439
439
|
retry_policy: @config.retry_policy
|
440
440
|
|
441
441
|
@dataproc_metastore_stub.call_rpc :create_service, request, options: options do |response, operation|
|
@@ -524,7 +524,9 @@ module Google
|
|
524
524
|
options.apply_defaults timeout: @config.rpcs.update_service.timeout,
|
525
525
|
metadata: metadata,
|
526
526
|
retry_policy: @config.rpcs.update_service.retry_policy
|
527
|
-
|
527
|
+
|
528
|
+
options.apply_defaults timeout: @config.timeout,
|
529
|
+
metadata: @config.metadata,
|
528
530
|
retry_policy: @config.retry_policy
|
529
531
|
|
530
532
|
@dataproc_metastore_stub.call_rpc :update_service, request, options: options do |response, operation|
|
@@ -607,7 +609,9 @@ module Google
|
|
607
609
|
options.apply_defaults timeout: @config.rpcs.delete_service.timeout,
|
608
610
|
metadata: metadata,
|
609
611
|
retry_policy: @config.rpcs.delete_service.retry_policy
|
610
|
-
|
612
|
+
|
613
|
+
options.apply_defaults timeout: @config.timeout,
|
614
|
+
metadata: @config.metadata,
|
611
615
|
retry_policy: @config.retry_policy
|
612
616
|
|
613
617
|
@dataproc_metastore_stub.call_rpc :delete_service, request, options: options do |response, operation|
|
@@ -696,7 +700,9 @@ module Google
|
|
696
700
|
options.apply_defaults timeout: @config.rpcs.list_metadata_imports.timeout,
|
697
701
|
metadata: metadata,
|
698
702
|
retry_policy: @config.rpcs.list_metadata_imports.retry_policy
|
699
|
-
|
703
|
+
|
704
|
+
options.apply_defaults timeout: @config.timeout,
|
705
|
+
metadata: @config.metadata,
|
700
706
|
retry_policy: @config.retry_policy
|
701
707
|
|
702
708
|
@dataproc_metastore_stub.call_rpc :list_metadata_imports, request, options: options do |response, operation|
|
@@ -766,7 +772,9 @@ module Google
|
|
766
772
|
options.apply_defaults timeout: @config.rpcs.get_metadata_import.timeout,
|
767
773
|
metadata: metadata,
|
768
774
|
retry_policy: @config.rpcs.get_metadata_import.retry_policy
|
769
|
-
|
775
|
+
|
776
|
+
options.apply_defaults timeout: @config.timeout,
|
777
|
+
metadata: @config.metadata,
|
770
778
|
retry_policy: @config.retry_policy
|
771
779
|
|
772
780
|
@dataproc_metastore_stub.call_rpc :get_metadata_import, request, options: options do |response, operation|
|
@@ -859,7 +867,9 @@ module Google
|
|
859
867
|
options.apply_defaults timeout: @config.rpcs.create_metadata_import.timeout,
|
860
868
|
metadata: metadata,
|
861
869
|
retry_policy: @config.rpcs.create_metadata_import.retry_policy
|
862
|
-
|
870
|
+
|
871
|
+
options.apply_defaults timeout: @config.timeout,
|
872
|
+
metadata: @config.metadata,
|
863
873
|
retry_policy: @config.retry_policy
|
864
874
|
|
865
875
|
@dataproc_metastore_stub.call_rpc :create_metadata_import, request, options: options do |response, operation|
|
@@ -949,7 +959,9 @@ module Google
|
|
949
959
|
options.apply_defaults timeout: @config.rpcs.update_metadata_import.timeout,
|
950
960
|
metadata: metadata,
|
951
961
|
retry_policy: @config.rpcs.update_metadata_import.retry_policy
|
952
|
-
|
962
|
+
|
963
|
+
options.apply_defaults timeout: @config.timeout,
|
964
|
+
metadata: @config.metadata,
|
953
965
|
retry_policy: @config.retry_policy
|
954
966
|
|
955
967
|
@dataproc_metastore_stub.call_rpc :update_metadata_import, request, options: options do |response, operation|
|
@@ -1038,7 +1050,9 @@ module Google
|
|
1038
1050
|
options.apply_defaults timeout: @config.rpcs.export_metadata.timeout,
|
1039
1051
|
metadata: metadata,
|
1040
1052
|
retry_policy: @config.rpcs.export_metadata.retry_policy
|
1041
|
-
|
1053
|
+
|
1054
|
+
options.apply_defaults timeout: @config.timeout,
|
1055
|
+
metadata: @config.metadata,
|
1042
1056
|
retry_policy: @config.retry_policy
|
1043
1057
|
|
1044
1058
|
@dataproc_metastore_stub.call_rpc :export_metadata, request, options: options do |response, operation|
|
@@ -1063,22 +1077,21 @@ module Google
|
|
1063
1077
|
# Configuration can be applied globally to all clients, or to a single client
|
1064
1078
|
# on construction.
|
1065
1079
|
#
|
1066
|
-
#
|
1067
|
-
#
|
1068
|
-
#
|
1069
|
-
# to 20 seconds,
|
1070
|
-
#
|
1071
|
-
#
|
1072
|
-
#
|
1073
|
-
#
|
1074
|
-
#
|
1075
|
-
#
|
1076
|
-
#
|
1077
|
-
#
|
1078
|
-
#
|
1079
|
-
#
|
1080
|
-
#
|
1081
|
-
# end
|
1080
|
+
# @example
|
1081
|
+
#
|
1082
|
+
# # Modify the global config, setting the timeout for
|
1083
|
+
# # list_services to 20 seconds,
|
1084
|
+
# # and all remaining timeouts to 10 seconds.
|
1085
|
+
# ::Google::Cloud::Metastore::V1::DataprocMetastore::Client.configure do |config|
|
1086
|
+
# config.timeout = 10.0
|
1087
|
+
# config.rpcs.list_services.timeout = 20.0
|
1088
|
+
# end
|
1089
|
+
#
|
1090
|
+
# # Apply the above configuration only to a new client.
|
1091
|
+
# client = ::Google::Cloud::Metastore::V1::DataprocMetastore::Client.new do |config|
|
1092
|
+
# config.timeout = 10.0
|
1093
|
+
# config.rpcs.list_services.timeout = 20.0
|
1094
|
+
# end
|
1082
1095
|
#
|
1083
1096
|
# @!attribute [rw] endpoint
|
1084
1097
|
# 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-metastore-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
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
|