google-cloud-metastore-v1beta 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: 44b640d566424394c618e699b89bd5a59a7ad876d72502761c7e87eecd468e1f
|
4
|
+
data.tar.gz: d0c06f1cca3f489cac7766102fad5465376100b5676cdab32d927fc61b435f6c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e7766319ed2bbbe5e12c5874129d75bd11045e48aa55876e9ca7705551c489414ddcd65ad984431c54587551ee7d29ede0329458da2c597848b7bd3b06fec48a
|
7
|
+
data.tar.gz: d80127bc30e3d3eda2d8df5447b078c6f8b93e5d61c8085812ae996f491f0f209687ae2a7d8a58bf5c3798e2028bd943156bcdf095c6ebc2077d22164c3288bf
|
@@ -57,13 +57,12 @@ module Google
|
|
57
57
|
# See {::Google::Cloud::Metastore::V1beta::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::V1beta::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]
|
@@ -133,19 +132,15 @@ module Google
|
|
133
132
|
##
|
134
133
|
# Create a new DataprocMetastore client object.
|
135
134
|
#
|
136
|
-
#
|
137
|
-
#
|
138
|
-
# To create a new DataprocMetastore client with the default
|
139
|
-
# configuration:
|
140
|
-
#
|
141
|
-
# client = ::Google::Cloud::Metastore::V1beta::DataprocMetastore::Client.new
|
135
|
+
# @example
|
142
136
|
#
|
143
|
-
#
|
144
|
-
#
|
137
|
+
# # Create a client using the default configuration
|
138
|
+
# client = ::Google::Cloud::Metastore::V1beta::DataprocMetastore::Client.new
|
145
139
|
#
|
146
|
-
#
|
147
|
-
#
|
148
|
-
#
|
140
|
+
# # Create a client using a custom configuration
|
141
|
+
# client = ::Google::Cloud::Metastore::V1beta::DataprocMetastore::Client.new do |config|
|
142
|
+
# config.timeout = 10.0
|
143
|
+
# end
|
149
144
|
#
|
150
145
|
# @yield [config] Configure the DataprocMetastore client.
|
151
146
|
# @yieldparam config [Client::Configuration]
|
@@ -165,10 +160,9 @@ module Google
|
|
165
160
|
|
166
161
|
# Create credentials
|
167
162
|
credentials = @config.credentials
|
168
|
-
# Use self-signed JWT if the
|
163
|
+
# Use self-signed JWT if the endpoint is unchanged from default,
|
169
164
|
# but only if the default endpoint does not have a region prefix.
|
170
|
-
enable_self_signed_jwt = @config.
|
171
|
-
@config.endpoint == Client.configure.endpoint &&
|
165
|
+
enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
|
172
166
|
!@config.endpoint.split(".").first.include?("-")
|
173
167
|
credentials ||= Credentials.default scope: @config.scope,
|
174
168
|
enable_self_signed_jwt: enable_self_signed_jwt
|
@@ -280,7 +274,9 @@ module Google
|
|
280
274
|
options.apply_defaults timeout: @config.rpcs.list_services.timeout,
|
281
275
|
metadata: metadata,
|
282
276
|
retry_policy: @config.rpcs.list_services.retry_policy
|
283
|
-
|
277
|
+
|
278
|
+
options.apply_defaults timeout: @config.timeout,
|
279
|
+
metadata: @config.metadata,
|
284
280
|
retry_policy: @config.retry_policy
|
285
281
|
|
286
282
|
@dataproc_metastore_stub.call_rpc :list_services, request, options: options do |response, operation|
|
@@ -350,7 +346,9 @@ module Google
|
|
350
346
|
options.apply_defaults timeout: @config.rpcs.get_service.timeout,
|
351
347
|
metadata: metadata,
|
352
348
|
retry_policy: @config.rpcs.get_service.retry_policy
|
353
|
-
|
349
|
+
|
350
|
+
options.apply_defaults timeout: @config.timeout,
|
351
|
+
metadata: @config.metadata,
|
354
352
|
retry_policy: @config.retry_policy
|
355
353
|
|
356
354
|
@dataproc_metastore_stub.call_rpc :get_service, request, options: options do |response, operation|
|
@@ -443,7 +441,9 @@ module Google
|
|
443
441
|
options.apply_defaults timeout: @config.rpcs.create_service.timeout,
|
444
442
|
metadata: metadata,
|
445
443
|
retry_policy: @config.rpcs.create_service.retry_policy
|
446
|
-
|
444
|
+
|
445
|
+
options.apply_defaults timeout: @config.timeout,
|
446
|
+
metadata: @config.metadata,
|
447
447
|
retry_policy: @config.retry_policy
|
448
448
|
|
449
449
|
@dataproc_metastore_stub.call_rpc :create_service, request, options: options do |response, operation|
|
@@ -532,7 +532,9 @@ module Google
|
|
532
532
|
options.apply_defaults timeout: @config.rpcs.update_service.timeout,
|
533
533
|
metadata: metadata,
|
534
534
|
retry_policy: @config.rpcs.update_service.retry_policy
|
535
|
-
|
535
|
+
|
536
|
+
options.apply_defaults timeout: @config.timeout,
|
537
|
+
metadata: @config.metadata,
|
536
538
|
retry_policy: @config.retry_policy
|
537
539
|
|
538
540
|
@dataproc_metastore_stub.call_rpc :update_service, request, options: options do |response, operation|
|
@@ -615,7 +617,9 @@ module Google
|
|
615
617
|
options.apply_defaults timeout: @config.rpcs.delete_service.timeout,
|
616
618
|
metadata: metadata,
|
617
619
|
retry_policy: @config.rpcs.delete_service.retry_policy
|
618
|
-
|
620
|
+
|
621
|
+
options.apply_defaults timeout: @config.timeout,
|
622
|
+
metadata: @config.metadata,
|
619
623
|
retry_policy: @config.retry_policy
|
620
624
|
|
621
625
|
@dataproc_metastore_stub.call_rpc :delete_service, request, options: options do |response, operation|
|
@@ -705,7 +709,9 @@ module Google
|
|
705
709
|
options.apply_defaults timeout: @config.rpcs.list_metadata_imports.timeout,
|
706
710
|
metadata: metadata,
|
707
711
|
retry_policy: @config.rpcs.list_metadata_imports.retry_policy
|
708
|
-
|
712
|
+
|
713
|
+
options.apply_defaults timeout: @config.timeout,
|
714
|
+
metadata: @config.metadata,
|
709
715
|
retry_policy: @config.retry_policy
|
710
716
|
|
711
717
|
@dataproc_metastore_stub.call_rpc :list_metadata_imports, request, options: options do |response, operation|
|
@@ -775,7 +781,9 @@ module Google
|
|
775
781
|
options.apply_defaults timeout: @config.rpcs.get_metadata_import.timeout,
|
776
782
|
metadata: metadata,
|
777
783
|
retry_policy: @config.rpcs.get_metadata_import.retry_policy
|
778
|
-
|
784
|
+
|
785
|
+
options.apply_defaults timeout: @config.timeout,
|
786
|
+
metadata: @config.metadata,
|
779
787
|
retry_policy: @config.retry_policy
|
780
788
|
|
781
789
|
@dataproc_metastore_stub.call_rpc :get_metadata_import, request, options: options do |response, operation|
|
@@ -868,7 +876,9 @@ module Google
|
|
868
876
|
options.apply_defaults timeout: @config.rpcs.create_metadata_import.timeout,
|
869
877
|
metadata: metadata,
|
870
878
|
retry_policy: @config.rpcs.create_metadata_import.retry_policy
|
871
|
-
|
879
|
+
|
880
|
+
options.apply_defaults timeout: @config.timeout,
|
881
|
+
metadata: @config.metadata,
|
872
882
|
retry_policy: @config.retry_policy
|
873
883
|
|
874
884
|
@dataproc_metastore_stub.call_rpc :create_metadata_import, request, options: options do |response, operation|
|
@@ -958,7 +968,9 @@ module Google
|
|
958
968
|
options.apply_defaults timeout: @config.rpcs.update_metadata_import.timeout,
|
959
969
|
metadata: metadata,
|
960
970
|
retry_policy: @config.rpcs.update_metadata_import.retry_policy
|
961
|
-
|
971
|
+
|
972
|
+
options.apply_defaults timeout: @config.timeout,
|
973
|
+
metadata: @config.metadata,
|
962
974
|
retry_policy: @config.retry_policy
|
963
975
|
|
964
976
|
@dataproc_metastore_stub.call_rpc :update_metadata_import, request, options: options do |response, operation|
|
@@ -1048,7 +1060,9 @@ module Google
|
|
1048
1060
|
options.apply_defaults timeout: @config.rpcs.export_metadata.timeout,
|
1049
1061
|
metadata: metadata,
|
1050
1062
|
retry_policy: @config.rpcs.export_metadata.retry_policy
|
1051
|
-
|
1063
|
+
|
1064
|
+
options.apply_defaults timeout: @config.timeout,
|
1065
|
+
metadata: @config.metadata,
|
1052
1066
|
retry_policy: @config.retry_policy
|
1053
1067
|
|
1054
1068
|
@dataproc_metastore_stub.call_rpc :export_metadata, request, options: options do |response, operation|
|
@@ -1138,7 +1152,9 @@ module Google
|
|
1138
1152
|
options.apply_defaults timeout: @config.rpcs.restore_service.timeout,
|
1139
1153
|
metadata: metadata,
|
1140
1154
|
retry_policy: @config.rpcs.restore_service.retry_policy
|
1141
|
-
|
1155
|
+
|
1156
|
+
options.apply_defaults timeout: @config.timeout,
|
1157
|
+
metadata: @config.metadata,
|
1142
1158
|
retry_policy: @config.retry_policy
|
1143
1159
|
|
1144
1160
|
@dataproc_metastore_stub.call_rpc :restore_service, request, options: options do |response, operation|
|
@@ -1228,7 +1244,9 @@ module Google
|
|
1228
1244
|
options.apply_defaults timeout: @config.rpcs.list_backups.timeout,
|
1229
1245
|
metadata: metadata,
|
1230
1246
|
retry_policy: @config.rpcs.list_backups.retry_policy
|
1231
|
-
|
1247
|
+
|
1248
|
+
options.apply_defaults timeout: @config.timeout,
|
1249
|
+
metadata: @config.metadata,
|
1232
1250
|
retry_policy: @config.retry_policy
|
1233
1251
|
|
1234
1252
|
@dataproc_metastore_stub.call_rpc :list_backups, request, options: options do |response, operation|
|
@@ -1298,7 +1316,9 @@ module Google
|
|
1298
1316
|
options.apply_defaults timeout: @config.rpcs.get_backup.timeout,
|
1299
1317
|
metadata: metadata,
|
1300
1318
|
retry_policy: @config.rpcs.get_backup.retry_policy
|
1301
|
-
|
1319
|
+
|
1320
|
+
options.apply_defaults timeout: @config.timeout,
|
1321
|
+
metadata: @config.metadata,
|
1302
1322
|
retry_policy: @config.retry_policy
|
1303
1323
|
|
1304
1324
|
@dataproc_metastore_stub.call_rpc :get_backup, request, options: options do |response, operation|
|
@@ -1390,7 +1410,9 @@ module Google
|
|
1390
1410
|
options.apply_defaults timeout: @config.rpcs.create_backup.timeout,
|
1391
1411
|
metadata: metadata,
|
1392
1412
|
retry_policy: @config.rpcs.create_backup.retry_policy
|
1393
|
-
|
1413
|
+
|
1414
|
+
options.apply_defaults timeout: @config.timeout,
|
1415
|
+
metadata: @config.metadata,
|
1394
1416
|
retry_policy: @config.retry_policy
|
1395
1417
|
|
1396
1418
|
@dataproc_metastore_stub.call_rpc :create_backup, request, options: options do |response, operation|
|
@@ -1473,7 +1495,9 @@ module Google
|
|
1473
1495
|
options.apply_defaults timeout: @config.rpcs.delete_backup.timeout,
|
1474
1496
|
metadata: metadata,
|
1475
1497
|
retry_policy: @config.rpcs.delete_backup.retry_policy
|
1476
|
-
|
1498
|
+
|
1499
|
+
options.apply_defaults timeout: @config.timeout,
|
1500
|
+
metadata: @config.metadata,
|
1477
1501
|
retry_policy: @config.retry_policy
|
1478
1502
|
|
1479
1503
|
@dataproc_metastore_stub.call_rpc :delete_backup, request, options: options do |response, operation|
|
@@ -1498,22 +1522,21 @@ module Google
|
|
1498
1522
|
# Configuration can be applied globally to all clients, or to a single client
|
1499
1523
|
# on construction.
|
1500
1524
|
#
|
1501
|
-
#
|
1502
|
-
#
|
1503
|
-
#
|
1504
|
-
# to 20 seconds,
|
1505
|
-
#
|
1506
|
-
#
|
1507
|
-
#
|
1508
|
-
#
|
1509
|
-
#
|
1510
|
-
#
|
1511
|
-
#
|
1512
|
-
#
|
1513
|
-
#
|
1514
|
-
#
|
1515
|
-
#
|
1516
|
-
# end
|
1525
|
+
# @example
|
1526
|
+
#
|
1527
|
+
# # Modify the global config, setting the timeout for
|
1528
|
+
# # list_services to 20 seconds,
|
1529
|
+
# # and all remaining timeouts to 10 seconds.
|
1530
|
+
# ::Google::Cloud::Metastore::V1beta::DataprocMetastore::Client.configure do |config|
|
1531
|
+
# config.timeout = 10.0
|
1532
|
+
# config.rpcs.list_services.timeout = 20.0
|
1533
|
+
# end
|
1534
|
+
#
|
1535
|
+
# # Apply the above configuration only to a new client.
|
1536
|
+
# client = ::Google::Cloud::Metastore::V1beta::DataprocMetastore::Client.new do |config|
|
1537
|
+
# config.timeout = 10.0
|
1538
|
+
# config.rpcs.list_services.timeout = 20.0
|
1539
|
+
# end
|
1517
1540
|
#
|
1518
1541
|
# @!attribute [rw] endpoint
|
1519
1542
|
# 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-v1beta
|
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
|