google-cloud-metastore-v1beta 0.9.0 → 0.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/metastore/v1beta/dataproc_metastore/client.rb +10 -1
- data/lib/google/cloud/metastore/v1beta/dataproc_metastore/operations.rb +10 -1
- data/lib/google/cloud/metastore/v1beta/dataproc_metastore/rest/client.rb +400 -0
- data/lib/google/cloud/metastore/v1beta/dataproc_metastore/rest/operations.rb +75 -0
- data/lib/google/cloud/metastore/v1beta/dataproc_metastore_federation/client.rb +10 -1
- data/lib/google/cloud/metastore/v1beta/dataproc_metastore_federation/operations.rb +10 -1
- data/lib/google/cloud/metastore/v1beta/dataproc_metastore_federation/rest/client.rb +105 -0
- data/lib/google/cloud/metastore/v1beta/dataproc_metastore_federation/rest/operations.rb +75 -0
- data/lib/google/cloud/metastore/v1beta/metastore_pb.rb +1 -1
- data/lib/google/cloud/metastore/v1beta/version.rb +1 -1
- data/proto_docs/google/api/field_behavior.rb +14 -0
- data/proto_docs/google/cloud/metastore/v1beta/metastore.rb +8 -0
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 95e9d07d68638fb5ecbd7cf1f93102ca7c128f2703d7e7cbac2acc879dd1eecf
|
4
|
+
data.tar.gz: '058e75555b8e18a9abaccae4e6e0f9d51078ac75c64f5ee9833ac759e3b90b8e'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 516863afd61ed4f003080452848b305843b1dc0a53305202c8b207c2588317a4786c33cc4351e2e18984e1b392735e3396a03e860580933a7d08fba25ae5a0b8
|
7
|
+
data.tar.gz: 6c8d499929a831755819f0e4896bc83eb7c37d2647af624a04ba609c7ab985898caaf6378f89600afae1f5c3a90c6ffde21a1d0aa723c95f6f9e4a92042bce56
|
@@ -197,7 +197,8 @@ module Google
|
|
197
197
|
credentials: credentials,
|
198
198
|
endpoint: @config.endpoint,
|
199
199
|
channel_args: @config.channel_args,
|
200
|
-
interceptors: @config.interceptors
|
200
|
+
interceptors: @config.interceptors,
|
201
|
+
channel_pool_config: @config.channel_pool
|
201
202
|
)
|
202
203
|
end
|
203
204
|
|
@@ -2390,6 +2391,14 @@ module Google
|
|
2390
2391
|
end
|
2391
2392
|
end
|
2392
2393
|
|
2394
|
+
##
|
2395
|
+
# Configuration for the channel pool
|
2396
|
+
# @return [::Gapic::ServiceStub::ChannelPool::Configuration]
|
2397
|
+
#
|
2398
|
+
def channel_pool
|
2399
|
+
@channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
|
2400
|
+
end
|
2401
|
+
|
2393
2402
|
##
|
2394
2403
|
# Configuration RPC class for the DataprocMetastore API.
|
2395
2404
|
#
|
@@ -93,7 +93,8 @@ module Google
|
|
93
93
|
credentials: credentials,
|
94
94
|
endpoint: @config.endpoint,
|
95
95
|
channel_args: @config.channel_args,
|
96
|
-
interceptors: @config.interceptors
|
96
|
+
interceptors: @config.interceptors,
|
97
|
+
channel_pool_config: @config.channel_pool
|
97
98
|
)
|
98
99
|
|
99
100
|
# Used by an LRO wrapper for some methods of this service
|
@@ -701,6 +702,14 @@ module Google
|
|
701
702
|
end
|
702
703
|
end
|
703
704
|
|
705
|
+
##
|
706
|
+
# Configuration for the channel pool
|
707
|
+
# @return [::Gapic::ServiceStub::ChannelPool::Configuration]
|
708
|
+
#
|
709
|
+
def channel_pool
|
710
|
+
@channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
|
711
|
+
end
|
712
|
+
|
704
713
|
##
|
705
714
|
# Configuration RPC class for the Operations API.
|
706
715
|
#
|
@@ -268,6 +268,26 @@ module Google
|
|
268
268
|
# @return [::Google::Cloud::Metastore::V1beta::ListServicesResponse]
|
269
269
|
#
|
270
270
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
271
|
+
#
|
272
|
+
# @example Basic example
|
273
|
+
# require "google/cloud/metastore/v1beta"
|
274
|
+
#
|
275
|
+
# # Create a client object. The client can be reused for multiple calls.
|
276
|
+
# client = Google::Cloud::Metastore::V1beta::DataprocMetastore::Rest::Client.new
|
277
|
+
#
|
278
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
279
|
+
# request = Google::Cloud::Metastore::V1beta::ListServicesRequest.new
|
280
|
+
#
|
281
|
+
# # Call the list_services method.
|
282
|
+
# result = client.list_services request
|
283
|
+
#
|
284
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
285
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
286
|
+
# result.each do |item|
|
287
|
+
# # Each element is of type ::Google::Cloud::Metastore::V1beta::Service.
|
288
|
+
# p item
|
289
|
+
# end
|
290
|
+
#
|
271
291
|
def list_services request, options = nil
|
272
292
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
273
293
|
|
@@ -333,6 +353,22 @@ module Google
|
|
333
353
|
# @return [::Google::Cloud::Metastore::V1beta::Service]
|
334
354
|
#
|
335
355
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
356
|
+
#
|
357
|
+
# @example Basic example
|
358
|
+
# require "google/cloud/metastore/v1beta"
|
359
|
+
#
|
360
|
+
# # Create a client object. The client can be reused for multiple calls.
|
361
|
+
# client = Google::Cloud::Metastore::V1beta::DataprocMetastore::Rest::Client.new
|
362
|
+
#
|
363
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
364
|
+
# request = Google::Cloud::Metastore::V1beta::GetServiceRequest.new
|
365
|
+
#
|
366
|
+
# # Call the get_service method.
|
367
|
+
# result = client.get_service request
|
368
|
+
#
|
369
|
+
# # The returned object is of type Google::Cloud::Metastore::V1beta::Service.
|
370
|
+
# p result
|
371
|
+
#
|
336
372
|
def get_service request, options = nil
|
337
373
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
338
374
|
|
@@ -422,6 +458,29 @@ module Google
|
|
422
458
|
# @return [::Gapic::Operation]
|
423
459
|
#
|
424
460
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
461
|
+
#
|
462
|
+
# @example Basic example
|
463
|
+
# require "google/cloud/metastore/v1beta"
|
464
|
+
#
|
465
|
+
# # Create a client object. The client can be reused for multiple calls.
|
466
|
+
# client = Google::Cloud::Metastore::V1beta::DataprocMetastore::Rest::Client.new
|
467
|
+
#
|
468
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
469
|
+
# request = Google::Cloud::Metastore::V1beta::CreateServiceRequest.new
|
470
|
+
#
|
471
|
+
# # Call the create_service method.
|
472
|
+
# result = client.create_service request
|
473
|
+
#
|
474
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
475
|
+
# # check the status of an operation, cancel it, or wait for results.
|
476
|
+
# # Here is how to wait for a response.
|
477
|
+
# result.wait_until_done! timeout: 60
|
478
|
+
# if result.response?
|
479
|
+
# p result.response
|
480
|
+
# else
|
481
|
+
# puts "No response received."
|
482
|
+
# end
|
483
|
+
#
|
425
484
|
def create_service request, options = nil
|
426
485
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
427
486
|
|
@@ -507,6 +566,29 @@ module Google
|
|
507
566
|
# @return [::Gapic::Operation]
|
508
567
|
#
|
509
568
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
569
|
+
#
|
570
|
+
# @example Basic example
|
571
|
+
# require "google/cloud/metastore/v1beta"
|
572
|
+
#
|
573
|
+
# # Create a client object. The client can be reused for multiple calls.
|
574
|
+
# client = Google::Cloud::Metastore::V1beta::DataprocMetastore::Rest::Client.new
|
575
|
+
#
|
576
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
577
|
+
# request = Google::Cloud::Metastore::V1beta::UpdateServiceRequest.new
|
578
|
+
#
|
579
|
+
# # Call the update_service method.
|
580
|
+
# result = client.update_service request
|
581
|
+
#
|
582
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
583
|
+
# # check the status of an operation, cancel it, or wait for results.
|
584
|
+
# # Here is how to wait for a response.
|
585
|
+
# result.wait_until_done! timeout: 60
|
586
|
+
# if result.response?
|
587
|
+
# p result.response
|
588
|
+
# else
|
589
|
+
# puts "No response received."
|
590
|
+
# end
|
591
|
+
#
|
510
592
|
def update_service request, options = nil
|
511
593
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
512
594
|
|
@@ -586,6 +668,29 @@ module Google
|
|
586
668
|
# @return [::Gapic::Operation]
|
587
669
|
#
|
588
670
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
671
|
+
#
|
672
|
+
# @example Basic example
|
673
|
+
# require "google/cloud/metastore/v1beta"
|
674
|
+
#
|
675
|
+
# # Create a client object. The client can be reused for multiple calls.
|
676
|
+
# client = Google::Cloud::Metastore::V1beta::DataprocMetastore::Rest::Client.new
|
677
|
+
#
|
678
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
679
|
+
# request = Google::Cloud::Metastore::V1beta::DeleteServiceRequest.new
|
680
|
+
#
|
681
|
+
# # Call the delete_service method.
|
682
|
+
# result = client.delete_service request
|
683
|
+
#
|
684
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
685
|
+
# # check the status of an operation, cancel it, or wait for results.
|
686
|
+
# # Here is how to wait for a response.
|
687
|
+
# result.wait_until_done! timeout: 60
|
688
|
+
# if result.response?
|
689
|
+
# p result.response
|
690
|
+
# else
|
691
|
+
# puts "No response received."
|
692
|
+
# end
|
693
|
+
#
|
589
694
|
def delete_service request, options = nil
|
590
695
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
591
696
|
|
@@ -672,6 +777,26 @@ module Google
|
|
672
777
|
# @return [::Google::Cloud::Metastore::V1beta::ListMetadataImportsResponse]
|
673
778
|
#
|
674
779
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
780
|
+
#
|
781
|
+
# @example Basic example
|
782
|
+
# require "google/cloud/metastore/v1beta"
|
783
|
+
#
|
784
|
+
# # Create a client object. The client can be reused for multiple calls.
|
785
|
+
# client = Google::Cloud::Metastore::V1beta::DataprocMetastore::Rest::Client.new
|
786
|
+
#
|
787
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
788
|
+
# request = Google::Cloud::Metastore::V1beta::ListMetadataImportsRequest.new
|
789
|
+
#
|
790
|
+
# # Call the list_metadata_imports method.
|
791
|
+
# result = client.list_metadata_imports request
|
792
|
+
#
|
793
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
794
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
795
|
+
# result.each do |item|
|
796
|
+
# # Each element is of type ::Google::Cloud::Metastore::V1beta::MetadataImport.
|
797
|
+
# p item
|
798
|
+
# end
|
799
|
+
#
|
675
800
|
def list_metadata_imports request, options = nil
|
676
801
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
677
802
|
|
@@ -737,6 +862,22 @@ module Google
|
|
737
862
|
# @return [::Google::Cloud::Metastore::V1beta::MetadataImport]
|
738
863
|
#
|
739
864
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
865
|
+
#
|
866
|
+
# @example Basic example
|
867
|
+
# require "google/cloud/metastore/v1beta"
|
868
|
+
#
|
869
|
+
# # Create a client object. The client can be reused for multiple calls.
|
870
|
+
# client = Google::Cloud::Metastore::V1beta::DataprocMetastore::Rest::Client.new
|
871
|
+
#
|
872
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
873
|
+
# request = Google::Cloud::Metastore::V1beta::GetMetadataImportRequest.new
|
874
|
+
#
|
875
|
+
# # Call the get_metadata_import method.
|
876
|
+
# result = client.get_metadata_import request
|
877
|
+
#
|
878
|
+
# # The returned object is of type Google::Cloud::Metastore::V1beta::MetadataImport.
|
879
|
+
# p result
|
880
|
+
#
|
740
881
|
def get_metadata_import request, options = nil
|
741
882
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
742
883
|
|
@@ -826,6 +967,29 @@ module Google
|
|
826
967
|
# @return [::Gapic::Operation]
|
827
968
|
#
|
828
969
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
970
|
+
#
|
971
|
+
# @example Basic example
|
972
|
+
# require "google/cloud/metastore/v1beta"
|
973
|
+
#
|
974
|
+
# # Create a client object. The client can be reused for multiple calls.
|
975
|
+
# client = Google::Cloud::Metastore::V1beta::DataprocMetastore::Rest::Client.new
|
976
|
+
#
|
977
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
978
|
+
# request = Google::Cloud::Metastore::V1beta::CreateMetadataImportRequest.new
|
979
|
+
#
|
980
|
+
# # Call the create_metadata_import method.
|
981
|
+
# result = client.create_metadata_import request
|
982
|
+
#
|
983
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
984
|
+
# # check the status of an operation, cancel it, or wait for results.
|
985
|
+
# # Here is how to wait for a response.
|
986
|
+
# result.wait_until_done! timeout: 60
|
987
|
+
# if result.response?
|
988
|
+
# p result.response
|
989
|
+
# else
|
990
|
+
# puts "No response received."
|
991
|
+
# end
|
992
|
+
#
|
829
993
|
def create_metadata_import request, options = nil
|
830
994
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
831
995
|
|
@@ -912,6 +1076,29 @@ module Google
|
|
912
1076
|
# @return [::Gapic::Operation]
|
913
1077
|
#
|
914
1078
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
1079
|
+
#
|
1080
|
+
# @example Basic example
|
1081
|
+
# require "google/cloud/metastore/v1beta"
|
1082
|
+
#
|
1083
|
+
# # Create a client object. The client can be reused for multiple calls.
|
1084
|
+
# client = Google::Cloud::Metastore::V1beta::DataprocMetastore::Rest::Client.new
|
1085
|
+
#
|
1086
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
1087
|
+
# request = Google::Cloud::Metastore::V1beta::UpdateMetadataImportRequest.new
|
1088
|
+
#
|
1089
|
+
# # Call the update_metadata_import method.
|
1090
|
+
# result = client.update_metadata_import request
|
1091
|
+
#
|
1092
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
1093
|
+
# # check the status of an operation, cancel it, or wait for results.
|
1094
|
+
# # Here is how to wait for a response.
|
1095
|
+
# result.wait_until_done! timeout: 60
|
1096
|
+
# if result.response?
|
1097
|
+
# p result.response
|
1098
|
+
# else
|
1099
|
+
# puts "No response received."
|
1100
|
+
# end
|
1101
|
+
#
|
915
1102
|
def update_metadata_import request, options = nil
|
916
1103
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
917
1104
|
|
@@ -998,6 +1185,29 @@ module Google
|
|
998
1185
|
# @return [::Gapic::Operation]
|
999
1186
|
#
|
1000
1187
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
1188
|
+
#
|
1189
|
+
# @example Basic example
|
1190
|
+
# require "google/cloud/metastore/v1beta"
|
1191
|
+
#
|
1192
|
+
# # Create a client object. The client can be reused for multiple calls.
|
1193
|
+
# client = Google::Cloud::Metastore::V1beta::DataprocMetastore::Rest::Client.new
|
1194
|
+
#
|
1195
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
1196
|
+
# request = Google::Cloud::Metastore::V1beta::ExportMetadataRequest.new
|
1197
|
+
#
|
1198
|
+
# # Call the export_metadata method.
|
1199
|
+
# result = client.export_metadata request
|
1200
|
+
#
|
1201
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
1202
|
+
# # check the status of an operation, cancel it, or wait for results.
|
1203
|
+
# # Here is how to wait for a response.
|
1204
|
+
# result.wait_until_done! timeout: 60
|
1205
|
+
# if result.response?
|
1206
|
+
# p result.response
|
1207
|
+
# else
|
1208
|
+
# puts "No response received."
|
1209
|
+
# end
|
1210
|
+
#
|
1001
1211
|
def export_metadata request, options = nil
|
1002
1212
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
1003
1213
|
|
@@ -1084,6 +1294,29 @@ module Google
|
|
1084
1294
|
# @return [::Gapic::Operation]
|
1085
1295
|
#
|
1086
1296
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
1297
|
+
#
|
1298
|
+
# @example Basic example
|
1299
|
+
# require "google/cloud/metastore/v1beta"
|
1300
|
+
#
|
1301
|
+
# # Create a client object. The client can be reused for multiple calls.
|
1302
|
+
# client = Google::Cloud::Metastore::V1beta::DataprocMetastore::Rest::Client.new
|
1303
|
+
#
|
1304
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
1305
|
+
# request = Google::Cloud::Metastore::V1beta::RestoreServiceRequest.new
|
1306
|
+
#
|
1307
|
+
# # Call the restore_service method.
|
1308
|
+
# result = client.restore_service request
|
1309
|
+
#
|
1310
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
1311
|
+
# # check the status of an operation, cancel it, or wait for results.
|
1312
|
+
# # Here is how to wait for a response.
|
1313
|
+
# result.wait_until_done! timeout: 60
|
1314
|
+
# if result.response?
|
1315
|
+
# p result.response
|
1316
|
+
# else
|
1317
|
+
# puts "No response received."
|
1318
|
+
# end
|
1319
|
+
#
|
1087
1320
|
def restore_service request, options = nil
|
1088
1321
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
1089
1322
|
|
@@ -1170,6 +1403,26 @@ module Google
|
|
1170
1403
|
# @return [::Google::Cloud::Metastore::V1beta::ListBackupsResponse]
|
1171
1404
|
#
|
1172
1405
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
1406
|
+
#
|
1407
|
+
# @example Basic example
|
1408
|
+
# require "google/cloud/metastore/v1beta"
|
1409
|
+
#
|
1410
|
+
# # Create a client object. The client can be reused for multiple calls.
|
1411
|
+
# client = Google::Cloud::Metastore::V1beta::DataprocMetastore::Rest::Client.new
|
1412
|
+
#
|
1413
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
1414
|
+
# request = Google::Cloud::Metastore::V1beta::ListBackupsRequest.new
|
1415
|
+
#
|
1416
|
+
# # Call the list_backups method.
|
1417
|
+
# result = client.list_backups request
|
1418
|
+
#
|
1419
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
1420
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
1421
|
+
# result.each do |item|
|
1422
|
+
# # Each element is of type ::Google::Cloud::Metastore::V1beta::Backup.
|
1423
|
+
# p item
|
1424
|
+
# end
|
1425
|
+
#
|
1173
1426
|
def list_backups request, options = nil
|
1174
1427
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
1175
1428
|
|
@@ -1235,6 +1488,22 @@ module Google
|
|
1235
1488
|
# @return [::Google::Cloud::Metastore::V1beta::Backup]
|
1236
1489
|
#
|
1237
1490
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
1491
|
+
#
|
1492
|
+
# @example Basic example
|
1493
|
+
# require "google/cloud/metastore/v1beta"
|
1494
|
+
#
|
1495
|
+
# # Create a client object. The client can be reused for multiple calls.
|
1496
|
+
# client = Google::Cloud::Metastore::V1beta::DataprocMetastore::Rest::Client.new
|
1497
|
+
#
|
1498
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
1499
|
+
# request = Google::Cloud::Metastore::V1beta::GetBackupRequest.new
|
1500
|
+
#
|
1501
|
+
# # Call the get_backup method.
|
1502
|
+
# result = client.get_backup request
|
1503
|
+
#
|
1504
|
+
# # The returned object is of type Google::Cloud::Metastore::V1beta::Backup.
|
1505
|
+
# p result
|
1506
|
+
#
|
1238
1507
|
def get_backup request, options = nil
|
1239
1508
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
1240
1509
|
|
@@ -1323,6 +1592,29 @@ module Google
|
|
1323
1592
|
# @return [::Gapic::Operation]
|
1324
1593
|
#
|
1325
1594
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
1595
|
+
#
|
1596
|
+
# @example Basic example
|
1597
|
+
# require "google/cloud/metastore/v1beta"
|
1598
|
+
#
|
1599
|
+
# # Create a client object. The client can be reused for multiple calls.
|
1600
|
+
# client = Google::Cloud::Metastore::V1beta::DataprocMetastore::Rest::Client.new
|
1601
|
+
#
|
1602
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
1603
|
+
# request = Google::Cloud::Metastore::V1beta::CreateBackupRequest.new
|
1604
|
+
#
|
1605
|
+
# # Call the create_backup method.
|
1606
|
+
# result = client.create_backup request
|
1607
|
+
#
|
1608
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
1609
|
+
# # check the status of an operation, cancel it, or wait for results.
|
1610
|
+
# # Here is how to wait for a response.
|
1611
|
+
# result.wait_until_done! timeout: 60
|
1612
|
+
# if result.response?
|
1613
|
+
# p result.response
|
1614
|
+
# else
|
1615
|
+
# puts "No response received."
|
1616
|
+
# end
|
1617
|
+
#
|
1326
1618
|
def create_backup request, options = nil
|
1327
1619
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
1328
1620
|
|
@@ -1402,6 +1694,29 @@ module Google
|
|
1402
1694
|
# @return [::Gapic::Operation]
|
1403
1695
|
#
|
1404
1696
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
1697
|
+
#
|
1698
|
+
# @example Basic example
|
1699
|
+
# require "google/cloud/metastore/v1beta"
|
1700
|
+
#
|
1701
|
+
# # Create a client object. The client can be reused for multiple calls.
|
1702
|
+
# client = Google::Cloud::Metastore::V1beta::DataprocMetastore::Rest::Client.new
|
1703
|
+
#
|
1704
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
1705
|
+
# request = Google::Cloud::Metastore::V1beta::DeleteBackupRequest.new
|
1706
|
+
#
|
1707
|
+
# # Call the delete_backup method.
|
1708
|
+
# result = client.delete_backup request
|
1709
|
+
#
|
1710
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
1711
|
+
# # check the status of an operation, cancel it, or wait for results.
|
1712
|
+
# # Here is how to wait for a response.
|
1713
|
+
# result.wait_until_done! timeout: 60
|
1714
|
+
# if result.response?
|
1715
|
+
# p result.response
|
1716
|
+
# else
|
1717
|
+
# puts "No response received."
|
1718
|
+
# end
|
1719
|
+
#
|
1405
1720
|
def delete_backup request, options = nil
|
1406
1721
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
1407
1722
|
|
@@ -1473,6 +1788,22 @@ module Google
|
|
1473
1788
|
# @return [::Google::Cloud::Metastore::V1beta::RemoveIamPolicyResponse]
|
1474
1789
|
#
|
1475
1790
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
1791
|
+
#
|
1792
|
+
# @example Basic example
|
1793
|
+
# require "google/cloud/metastore/v1beta"
|
1794
|
+
#
|
1795
|
+
# # Create a client object. The client can be reused for multiple calls.
|
1796
|
+
# client = Google::Cloud::Metastore::V1beta::DataprocMetastore::Rest::Client.new
|
1797
|
+
#
|
1798
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
1799
|
+
# request = Google::Cloud::Metastore::V1beta::RemoveIamPolicyRequest.new
|
1800
|
+
#
|
1801
|
+
# # Call the remove_iam_policy method.
|
1802
|
+
# result = client.remove_iam_policy request
|
1803
|
+
#
|
1804
|
+
# # The returned object is of type Google::Cloud::Metastore::V1beta::RemoveIamPolicyResponse.
|
1805
|
+
# p result
|
1806
|
+
#
|
1476
1807
|
def remove_iam_policy request, options = nil
|
1477
1808
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
1478
1809
|
|
@@ -1541,6 +1872,29 @@ module Google
|
|
1541
1872
|
# @return [::Gapic::Operation]
|
1542
1873
|
#
|
1543
1874
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
1875
|
+
#
|
1876
|
+
# @example Basic example
|
1877
|
+
# require "google/cloud/metastore/v1beta"
|
1878
|
+
#
|
1879
|
+
# # Create a client object. The client can be reused for multiple calls.
|
1880
|
+
# client = Google::Cloud::Metastore::V1beta::DataprocMetastore::Rest::Client.new
|
1881
|
+
#
|
1882
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
1883
|
+
# request = Google::Cloud::Metastore::V1beta::QueryMetadataRequest.new
|
1884
|
+
#
|
1885
|
+
# # Call the query_metadata method.
|
1886
|
+
# result = client.query_metadata request
|
1887
|
+
#
|
1888
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
1889
|
+
# # check the status of an operation, cancel it, or wait for results.
|
1890
|
+
# # Here is how to wait for a response.
|
1891
|
+
# result.wait_until_done! timeout: 60
|
1892
|
+
# if result.response?
|
1893
|
+
# p result.response
|
1894
|
+
# else
|
1895
|
+
# puts "No response received."
|
1896
|
+
# end
|
1897
|
+
#
|
1544
1898
|
def query_metadata request, options = nil
|
1545
1899
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
1546
1900
|
|
@@ -1613,6 +1967,29 @@ module Google
|
|
1613
1967
|
# @return [::Gapic::Operation]
|
1614
1968
|
#
|
1615
1969
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
1970
|
+
#
|
1971
|
+
# @example Basic example
|
1972
|
+
# require "google/cloud/metastore/v1beta"
|
1973
|
+
#
|
1974
|
+
# # Create a client object. The client can be reused for multiple calls.
|
1975
|
+
# client = Google::Cloud::Metastore::V1beta::DataprocMetastore::Rest::Client.new
|
1976
|
+
#
|
1977
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
1978
|
+
# request = Google::Cloud::Metastore::V1beta::MoveTableToDatabaseRequest.new
|
1979
|
+
#
|
1980
|
+
# # Call the move_table_to_database method.
|
1981
|
+
# result = client.move_table_to_database request
|
1982
|
+
#
|
1983
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
1984
|
+
# # check the status of an operation, cancel it, or wait for results.
|
1985
|
+
# # Here is how to wait for a response.
|
1986
|
+
# result.wait_until_done! timeout: 60
|
1987
|
+
# if result.response?
|
1988
|
+
# p result.response
|
1989
|
+
# else
|
1990
|
+
# puts "No response received."
|
1991
|
+
# end
|
1992
|
+
#
|
1616
1993
|
def move_table_to_database request, options = nil
|
1617
1994
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
1618
1995
|
|
@@ -1692,6 +2069,29 @@ module Google
|
|
1692
2069
|
# @return [::Gapic::Operation]
|
1693
2070
|
#
|
1694
2071
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
2072
|
+
#
|
2073
|
+
# @example Basic example
|
2074
|
+
# require "google/cloud/metastore/v1beta"
|
2075
|
+
#
|
2076
|
+
# # Create a client object. The client can be reused for multiple calls.
|
2077
|
+
# client = Google::Cloud::Metastore::V1beta::DataprocMetastore::Rest::Client.new
|
2078
|
+
#
|
2079
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
2080
|
+
# request = Google::Cloud::Metastore::V1beta::AlterMetadataResourceLocationRequest.new
|
2081
|
+
#
|
2082
|
+
# # Call the alter_metadata_resource_location method.
|
2083
|
+
# result = client.alter_metadata_resource_location request
|
2084
|
+
#
|
2085
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
2086
|
+
# # check the status of an operation, cancel it, or wait for results.
|
2087
|
+
# # Here is how to wait for a response.
|
2088
|
+
# result.wait_until_done! timeout: 60
|
2089
|
+
# if result.response?
|
2090
|
+
# p result.response
|
2091
|
+
# else
|
2092
|
+
# puts "No response received."
|
2093
|
+
# end
|
2094
|
+
#
|
1695
2095
|
def alter_metadata_resource_location request, options = nil
|
1696
2096
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
1697
2097
|
|
@@ -136,6 +136,26 @@ module Google
|
|
136
136
|
# @return [::Gapic::Operation]
|
137
137
|
#
|
138
138
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
139
|
+
#
|
140
|
+
# @example Basic example
|
141
|
+
# require "google/longrunning"
|
142
|
+
#
|
143
|
+
# # Create a client object. The client can be reused for multiple calls.
|
144
|
+
# client = Google::Longrunning::Operations::Rest::Client.new
|
145
|
+
#
|
146
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
147
|
+
# request = Google::Longrunning::ListOperationsRequest.new
|
148
|
+
#
|
149
|
+
# # Call the list_operations method.
|
150
|
+
# result = client.list_operations request
|
151
|
+
#
|
152
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
153
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
154
|
+
# result.each do |item|
|
155
|
+
# # Each element is of type ::Google::Longrunning::Operation.
|
156
|
+
# p item
|
157
|
+
# end
|
158
|
+
#
|
139
159
|
def list_operations request, options = nil
|
140
160
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
141
161
|
|
@@ -201,6 +221,29 @@ module Google
|
|
201
221
|
# @return [::Gapic::Operation]
|
202
222
|
#
|
203
223
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
224
|
+
#
|
225
|
+
# @example Basic example
|
226
|
+
# require "google/longrunning"
|
227
|
+
#
|
228
|
+
# # Create a client object. The client can be reused for multiple calls.
|
229
|
+
# client = Google::Longrunning::Operations::Rest::Client.new
|
230
|
+
#
|
231
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
232
|
+
# request = Google::Longrunning::GetOperationRequest.new
|
233
|
+
#
|
234
|
+
# # Call the get_operation method.
|
235
|
+
# result = client.get_operation request
|
236
|
+
#
|
237
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
238
|
+
# # check the status of an operation, cancel it, or wait for results.
|
239
|
+
# # Here is how to wait for a response.
|
240
|
+
# result.wait_until_done! timeout: 60
|
241
|
+
# if result.response?
|
242
|
+
# p result.response
|
243
|
+
# else
|
244
|
+
# puts "No response received."
|
245
|
+
# end
|
246
|
+
#
|
204
247
|
def get_operation request, options = nil
|
205
248
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
206
249
|
|
@@ -267,6 +310,22 @@ module Google
|
|
267
310
|
# @return [::Google::Protobuf::Empty]
|
268
311
|
#
|
269
312
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
313
|
+
#
|
314
|
+
# @example Basic example
|
315
|
+
# require "google/longrunning"
|
316
|
+
#
|
317
|
+
# # Create a client object. The client can be reused for multiple calls.
|
318
|
+
# client = Google::Longrunning::Operations::Rest::Client.new
|
319
|
+
#
|
320
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
321
|
+
# request = Google::Longrunning::DeleteOperationRequest.new
|
322
|
+
#
|
323
|
+
# # Call the delete_operation method.
|
324
|
+
# result = client.delete_operation request
|
325
|
+
#
|
326
|
+
# # The returned object is of type Google::Protobuf::Empty.
|
327
|
+
# p result
|
328
|
+
#
|
270
329
|
def delete_operation request, options = nil
|
271
330
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
272
331
|
|
@@ -338,6 +397,22 @@ module Google
|
|
338
397
|
# @return [::Google::Protobuf::Empty]
|
339
398
|
#
|
340
399
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
400
|
+
#
|
401
|
+
# @example Basic example
|
402
|
+
# require "google/longrunning"
|
403
|
+
#
|
404
|
+
# # Create a client object. The client can be reused for multiple calls.
|
405
|
+
# client = Google::Longrunning::Operations::Rest::Client.new
|
406
|
+
#
|
407
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
408
|
+
# request = Google::Longrunning::CancelOperationRequest.new
|
409
|
+
#
|
410
|
+
# # Call the cancel_operation method.
|
411
|
+
# result = client.cancel_operation request
|
412
|
+
#
|
413
|
+
# # The returned object is of type Google::Protobuf::Empty.
|
414
|
+
# p result
|
415
|
+
#
|
341
416
|
def cancel_operation request, options = nil
|
342
417
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
343
418
|
|
@@ -170,7 +170,8 @@ module Google
|
|
170
170
|
credentials: credentials,
|
171
171
|
endpoint: @config.endpoint,
|
172
172
|
channel_args: @config.channel_args,
|
173
|
-
interceptors: @config.interceptors
|
173
|
+
interceptors: @config.interceptors,
|
174
|
+
channel_pool_config: @config.channel_pool
|
174
175
|
)
|
175
176
|
end
|
176
177
|
|
@@ -860,6 +861,14 @@ module Google
|
|
860
861
|
end
|
861
862
|
end
|
862
863
|
|
864
|
+
##
|
865
|
+
# Configuration for the channel pool
|
866
|
+
# @return [::Gapic::ServiceStub::ChannelPool::Configuration]
|
867
|
+
#
|
868
|
+
def channel_pool
|
869
|
+
@channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
|
870
|
+
end
|
871
|
+
|
863
872
|
##
|
864
873
|
# Configuration RPC class for the DataprocMetastoreFederation API.
|
865
874
|
#
|
@@ -93,7 +93,8 @@ module Google
|
|
93
93
|
credentials: credentials,
|
94
94
|
endpoint: @config.endpoint,
|
95
95
|
channel_args: @config.channel_args,
|
96
|
-
interceptors: @config.interceptors
|
96
|
+
interceptors: @config.interceptors,
|
97
|
+
channel_pool_config: @config.channel_pool
|
97
98
|
)
|
98
99
|
|
99
100
|
# Used by an LRO wrapper for some methods of this service
|
@@ -701,6 +702,14 @@ module Google
|
|
701
702
|
end
|
702
703
|
end
|
703
704
|
|
705
|
+
##
|
706
|
+
# Configuration for the channel pool
|
707
|
+
# @return [::Gapic::ServiceStub::ChannelPool::Configuration]
|
708
|
+
#
|
709
|
+
def channel_pool
|
710
|
+
@channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
|
711
|
+
end
|
712
|
+
|
704
713
|
##
|
705
714
|
# Configuration RPC class for the Operations API.
|
706
715
|
#
|
@@ -239,6 +239,26 @@ module Google
|
|
239
239
|
# @return [::Google::Cloud::Metastore::V1beta::ListFederationsResponse]
|
240
240
|
#
|
241
241
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
242
|
+
#
|
243
|
+
# @example Basic example
|
244
|
+
# require "google/cloud/metastore/v1beta"
|
245
|
+
#
|
246
|
+
# # Create a client object. The client can be reused for multiple calls.
|
247
|
+
# client = Google::Cloud::Metastore::V1beta::DataprocMetastoreFederation::Rest::Client.new
|
248
|
+
#
|
249
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
250
|
+
# request = Google::Cloud::Metastore::V1beta::ListFederationsRequest.new
|
251
|
+
#
|
252
|
+
# # Call the list_federations method.
|
253
|
+
# result = client.list_federations request
|
254
|
+
#
|
255
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
256
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
257
|
+
# result.each do |item|
|
258
|
+
# # Each element is of type ::Google::Cloud::Metastore::V1beta::Federation.
|
259
|
+
# p item
|
260
|
+
# end
|
261
|
+
#
|
242
262
|
def list_federations request, options = nil
|
243
263
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
244
264
|
|
@@ -304,6 +324,22 @@ module Google
|
|
304
324
|
# @return [::Google::Cloud::Metastore::V1beta::Federation]
|
305
325
|
#
|
306
326
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
327
|
+
#
|
328
|
+
# @example Basic example
|
329
|
+
# require "google/cloud/metastore/v1beta"
|
330
|
+
#
|
331
|
+
# # Create a client object. The client can be reused for multiple calls.
|
332
|
+
# client = Google::Cloud::Metastore::V1beta::DataprocMetastoreFederation::Rest::Client.new
|
333
|
+
#
|
334
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
335
|
+
# request = Google::Cloud::Metastore::V1beta::GetFederationRequest.new
|
336
|
+
#
|
337
|
+
# # Call the get_federation method.
|
338
|
+
# result = client.get_federation request
|
339
|
+
#
|
340
|
+
# # The returned object is of type Google::Cloud::Metastore::V1beta::Federation.
|
341
|
+
# p result
|
342
|
+
#
|
307
343
|
def get_federation request, options = nil
|
308
344
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
309
345
|
|
@@ -393,6 +429,29 @@ module Google
|
|
393
429
|
# @return [::Gapic::Operation]
|
394
430
|
#
|
395
431
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
432
|
+
#
|
433
|
+
# @example Basic example
|
434
|
+
# require "google/cloud/metastore/v1beta"
|
435
|
+
#
|
436
|
+
# # Create a client object. The client can be reused for multiple calls.
|
437
|
+
# client = Google::Cloud::Metastore::V1beta::DataprocMetastoreFederation::Rest::Client.new
|
438
|
+
#
|
439
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
440
|
+
# request = Google::Cloud::Metastore::V1beta::CreateFederationRequest.new
|
441
|
+
#
|
442
|
+
# # Call the create_federation method.
|
443
|
+
# result = client.create_federation request
|
444
|
+
#
|
445
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
446
|
+
# # check the status of an operation, cancel it, or wait for results.
|
447
|
+
# # Here is how to wait for a response.
|
448
|
+
# result.wait_until_done! timeout: 60
|
449
|
+
# if result.response?
|
450
|
+
# p result.response
|
451
|
+
# else
|
452
|
+
# puts "No response received."
|
453
|
+
# end
|
454
|
+
#
|
396
455
|
def create_federation request, options = nil
|
397
456
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
398
457
|
|
@@ -478,6 +537,29 @@ module Google
|
|
478
537
|
# @return [::Gapic::Operation]
|
479
538
|
#
|
480
539
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
540
|
+
#
|
541
|
+
# @example Basic example
|
542
|
+
# require "google/cloud/metastore/v1beta"
|
543
|
+
#
|
544
|
+
# # Create a client object. The client can be reused for multiple calls.
|
545
|
+
# client = Google::Cloud::Metastore::V1beta::DataprocMetastoreFederation::Rest::Client.new
|
546
|
+
#
|
547
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
548
|
+
# request = Google::Cloud::Metastore::V1beta::UpdateFederationRequest.new
|
549
|
+
#
|
550
|
+
# # Call the update_federation method.
|
551
|
+
# result = client.update_federation request
|
552
|
+
#
|
553
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
554
|
+
# # check the status of an operation, cancel it, or wait for results.
|
555
|
+
# # Here is how to wait for a response.
|
556
|
+
# result.wait_until_done! timeout: 60
|
557
|
+
# if result.response?
|
558
|
+
# p result.response
|
559
|
+
# else
|
560
|
+
# puts "No response received."
|
561
|
+
# end
|
562
|
+
#
|
481
563
|
def update_federation request, options = nil
|
482
564
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
483
565
|
|
@@ -557,6 +639,29 @@ module Google
|
|
557
639
|
# @return [::Gapic::Operation]
|
558
640
|
#
|
559
641
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
642
|
+
#
|
643
|
+
# @example Basic example
|
644
|
+
# require "google/cloud/metastore/v1beta"
|
645
|
+
#
|
646
|
+
# # Create a client object. The client can be reused for multiple calls.
|
647
|
+
# client = Google::Cloud::Metastore::V1beta::DataprocMetastoreFederation::Rest::Client.new
|
648
|
+
#
|
649
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
650
|
+
# request = Google::Cloud::Metastore::V1beta::DeleteFederationRequest.new
|
651
|
+
#
|
652
|
+
# # Call the delete_federation method.
|
653
|
+
# result = client.delete_federation request
|
654
|
+
#
|
655
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
656
|
+
# # check the status of an operation, cancel it, or wait for results.
|
657
|
+
# # Here is how to wait for a response.
|
658
|
+
# result.wait_until_done! timeout: 60
|
659
|
+
# if result.response?
|
660
|
+
# p result.response
|
661
|
+
# else
|
662
|
+
# puts "No response received."
|
663
|
+
# end
|
664
|
+
#
|
560
665
|
def delete_federation request, options = nil
|
561
666
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
562
667
|
|
@@ -136,6 +136,26 @@ module Google
|
|
136
136
|
# @return [::Gapic::Operation]
|
137
137
|
#
|
138
138
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
139
|
+
#
|
140
|
+
# @example Basic example
|
141
|
+
# require "google/longrunning"
|
142
|
+
#
|
143
|
+
# # Create a client object. The client can be reused for multiple calls.
|
144
|
+
# client = Google::Longrunning::Operations::Rest::Client.new
|
145
|
+
#
|
146
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
147
|
+
# request = Google::Longrunning::ListOperationsRequest.new
|
148
|
+
#
|
149
|
+
# # Call the list_operations method.
|
150
|
+
# result = client.list_operations request
|
151
|
+
#
|
152
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
153
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
154
|
+
# result.each do |item|
|
155
|
+
# # Each element is of type ::Google::Longrunning::Operation.
|
156
|
+
# p item
|
157
|
+
# end
|
158
|
+
#
|
139
159
|
def list_operations request, options = nil
|
140
160
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
141
161
|
|
@@ -201,6 +221,29 @@ module Google
|
|
201
221
|
# @return [::Gapic::Operation]
|
202
222
|
#
|
203
223
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
224
|
+
#
|
225
|
+
# @example Basic example
|
226
|
+
# require "google/longrunning"
|
227
|
+
#
|
228
|
+
# # Create a client object. The client can be reused for multiple calls.
|
229
|
+
# client = Google::Longrunning::Operations::Rest::Client.new
|
230
|
+
#
|
231
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
232
|
+
# request = Google::Longrunning::GetOperationRequest.new
|
233
|
+
#
|
234
|
+
# # Call the get_operation method.
|
235
|
+
# result = client.get_operation request
|
236
|
+
#
|
237
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
238
|
+
# # check the status of an operation, cancel it, or wait for results.
|
239
|
+
# # Here is how to wait for a response.
|
240
|
+
# result.wait_until_done! timeout: 60
|
241
|
+
# if result.response?
|
242
|
+
# p result.response
|
243
|
+
# else
|
244
|
+
# puts "No response received."
|
245
|
+
# end
|
246
|
+
#
|
204
247
|
def get_operation request, options = nil
|
205
248
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
206
249
|
|
@@ -267,6 +310,22 @@ module Google
|
|
267
310
|
# @return [::Google::Protobuf::Empty]
|
268
311
|
#
|
269
312
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
313
|
+
#
|
314
|
+
# @example Basic example
|
315
|
+
# require "google/longrunning"
|
316
|
+
#
|
317
|
+
# # Create a client object. The client can be reused for multiple calls.
|
318
|
+
# client = Google::Longrunning::Operations::Rest::Client.new
|
319
|
+
#
|
320
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
321
|
+
# request = Google::Longrunning::DeleteOperationRequest.new
|
322
|
+
#
|
323
|
+
# # Call the delete_operation method.
|
324
|
+
# result = client.delete_operation request
|
325
|
+
#
|
326
|
+
# # The returned object is of type Google::Protobuf::Empty.
|
327
|
+
# p result
|
328
|
+
#
|
270
329
|
def delete_operation request, options = nil
|
271
330
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
272
331
|
|
@@ -338,6 +397,22 @@ module Google
|
|
338
397
|
# @return [::Google::Protobuf::Empty]
|
339
398
|
#
|
340
399
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
400
|
+
#
|
401
|
+
# @example Basic example
|
402
|
+
# require "google/longrunning"
|
403
|
+
#
|
404
|
+
# # Create a client object. The client can be reused for multiple calls.
|
405
|
+
# client = Google::Longrunning::Operations::Rest::Client.new
|
406
|
+
#
|
407
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
408
|
+
# request = Google::Longrunning::CancelOperationRequest.new
|
409
|
+
#
|
410
|
+
# # Call the cancel_operation method.
|
411
|
+
# result = client.cancel_operation request
|
412
|
+
#
|
413
|
+
# # The returned object is of type Google::Protobuf::Empty.
|
414
|
+
# p result
|
415
|
+
#
|
341
416
|
def cancel_operation request, options = nil
|
342
417
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
343
418
|
|
@@ -16,7 +16,7 @@ require 'google/protobuf/wrappers_pb'
|
|
16
16
|
require 'google/type/dayofweek_pb'
|
17
17
|
|
18
18
|
|
19
|
-
descriptor_data = "\n-google/cloud/metastore/v1beta/metastore.proto\x12\x1dgoogle.cloud.metastore.v1beta\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1bgoogle/type/dayofweek.proto\"\x95\x0e\n\x07Service\x12S\n\x15hive_metastore_config\x18\x05 \x01(\x0b\x32\x32.google.cloud.metastore.v1beta.HiveMetastoreConfigH\x00\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x05\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x42\n\x06labels\x18\x04 \x03(\x0b\x32\x32.google.cloud.metastore.v1beta.Service.LabelsEntry\x12\x37\n\x07network\x18\x07 \x01(\tB&\xe0\x41\x05\xfa\x41 \n\x1e\x63ompute.googleapis.com/Network\x12\x19\n\x0c\x65ndpoint_uri\x18\x08 \x01(\tB\x03\xe0\x41\x03\x12\x0c\n\x04port\x18\t \x01(\x05\x12@\n\x05state\x18\n \x01(\x0e\x32,.google.cloud.metastore.v1beta.Service.StateB\x03\xe0\x41\x03\x12\x1a\n\rstate_message\x18\x0b \x01(\tB\x03\xe0\x41\x03\x12\x1d\n\x10\x61rtifact_gcs_uri\x18\x0c \x01(\tB\x03\xe0\x41\x03\x12\x39\n\x04tier\x18\r \x01(\x0e\x32+.google.cloud.metastore.v1beta.Service.Tier\x12P\n\x14metadata_integration\x18\x0e \x01(\x0b\x32\x32.google.cloud.metastore.v1beta.MetadataIntegration\x12L\n\x12maintenance_window\x18\x0f \x01(\x0b\x32\x30.google.cloud.metastore.v1beta.MaintenanceWindow\x12\x10\n\x03uid\x18\x10 \x01(\tB\x03\xe0\x41\x03\x12\x64\n\x1cmetadata_management_activity\x18\x11 \x01(\x0b\x32\x39.google.cloud.metastore.v1beta.MetadataManagementActivityB\x03\xe0\x41\x03\x12S\n\x0frelease_channel\x18\x13 \x01(\x0e\x32\x35.google.cloud.metastore.v1beta.Service.ReleaseChannelB\x03\xe0\x41\x05\x12O\n\x11\x65ncryption_config\x18\x14 \x01(\x0b\x32/.google.cloud.metastore.v1beta.EncryptionConfigB\x03\xe0\x41\x05\x12\x44\n\x0enetwork_config\x18\x15 \x01(\x0b\x32,.google.cloud.metastore.v1beta.NetworkConfig\x12O\n\rdatabase_type\x18\x16 \x01(\x0e\x32\x33.google.cloud.metastore.v1beta.Service.DatabaseTypeB\x03\xe0\x41\x05\x12H\n\x10telemetry_config\x18\x17 \x01(\x0b\x32..google.cloud.metastore.v1beta.TelemetryConfig\x12\x44\n\x0escaling_config\x18\x18 \x01(\x0b\x32,.google.cloud.metastore.v1beta.ScalingConfig\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"~\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02\x12\x0e\n\nSUSPENDING\x10\x03\x12\r\n\tSUSPENDED\x10\x04\x12\x0c\n\x08UPDATING\x10\x05\x12\x0c\n\x08\x44\x45LETING\x10\x06\x12\t\n\x05\x45RROR\x10\x07\";\n\x04Tier\x12\x14\n\x10TIER_UNSPECIFIED\x10\x00\x12\r\n\tDEVELOPER\x10\x01\x12\x0e\n\nENTERPRISE\x10\x03\"I\n\x0eReleaseChannel\x12\x1f\n\x1bRELEASE_CHANNEL_UNSPECIFIED\x10\x00\x12\n\n\x06\x43\x41NARY\x10\x01\x12\n\n\x06STABLE\x10\x02\"E\n\x0c\x44\x61tabaseType\x12\x1d\n\x19\x44\x41TABASE_TYPE_UNSPECIFIED\x10\x00\x12\t\n\x05MYSQL\x10\x01\x12\x0b\n\x07SPANNER\x10\x02:a\xea\x41^\n metastore.googleapis.com/Service\x12:projects/{project}/locations/{location}/services/{service}B\x12\n\x10metastore_config\"\xac\x01\n\x13MetadataIntegration\x12M\n\x13\x64\x61ta_catalog_config\x18\x01 \x01(\x0b\x32\x30.google.cloud.metastore.v1beta.DataCatalogConfig\x12\x46\n\x0f\x64\x61taplex_config\x18\x02 \x01(\x0b\x32-.google.cloud.metastore.v1beta.DataplexConfig\"$\n\x11\x44\x61taCatalogConfig\x12\x0f\n\x07\x65nabled\x18\x02 \x01(\x08\"\xc5\x01\n\x0e\x44\x61taplexConfig\x12X\n\x0elake_resources\x18\x01 \x03(\x0b\x32@.google.cloud.metastore.v1beta.DataplexConfig.LakeResourcesEntry\x1aY\n\x12LakeResourcesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x32\n\x05value\x18\x02 \x01(\x0b\x32#.google.cloud.metastore.v1beta.Lake:\x02\x38\x01\"7\n\x04Lake\x12/\n\x04name\x18\x01 \x01(\tB!\xfa\x41\x1e\n\x1c\x64\x61taplex.googleapis.com/Lake\"r\n\x11MaintenanceWindow\x12\x30\n\x0bhour_of_day\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int32Value\x12+\n\x0b\x64\x61y_of_week\x18\x02 \x01(\x0e\x32\x16.google.type.DayOfWeek\"\x93\x05\n\x13HiveMetastoreConfig\x12\x14\n\x07version\x18\x01 \x01(\tB\x03\xe0\x41\x05\x12\x61\n\x10\x63onfig_overrides\x18\x02 \x03(\x0b\x32G.google.cloud.metastore.v1beta.HiveMetastoreConfig.ConfigOverridesEntry\x12\x46\n\x0fkerberos_config\x18\x03 \x01(\x0b\x32-.google.cloud.metastore.v1beta.KerberosConfig\x12^\n\x11\x65ndpoint_protocol\x18\x04 \x01(\x0e\x32\x43.google.cloud.metastore.v1beta.HiveMetastoreConfig.EndpointProtocol\x12\x65\n\x12\x61uxiliary_versions\x18\x05 \x03(\x0b\x32I.google.cloud.metastore.v1beta.HiveMetastoreConfig.AuxiliaryVersionsEntry\x1a\x36\n\x14\x43onfigOverridesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1ao\n\x16\x41uxiliaryVersionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x44\n\x05value\x18\x02 \x01(\x0b\x32\x35.google.cloud.metastore.v1beta.AuxiliaryVersionConfig:\x02\x38\x01\"K\n\x10\x45ndpointProtocol\x12!\n\x1d\x45NDPOINT_PROTOCOL_UNSPECIFIED\x10\x00\x12\n\n\x06THRIFT\x10\x01\x12\x08\n\x04GRPC\x10\x02\"w\n\x0eKerberosConfig\x12\x35\n\x06keytab\x18\x01 \x01(\x0b\x32%.google.cloud.metastore.v1beta.Secret\x12\x11\n\tprincipal\x18\x02 \x01(\t\x12\x1b\n\x13krb5_config_gcs_uri\x18\x03 \x01(\t\")\n\x06Secret\x12\x16\n\x0c\x63loud_secret\x18\x02 \x01(\tH\x00\x42\x07\n\x05value\"#\n\x10\x45ncryptionConfig\x12\x0f\n\x07kms_key\x18\x01 \x01(\t\"\x92\x02\n\x16\x41uxiliaryVersionConfig\x12\x0f\n\x07version\x18\x01 \x01(\t\x12\x64\n\x10\x63onfig_overrides\x18\x02 \x03(\x0b\x32J.google.cloud.metastore.v1beta.AuxiliaryVersionConfig.ConfigOverridesEntry\x12I\n\x0enetwork_config\x18\x03 \x01(\x0b\x32,.google.cloud.metastore.v1beta.NetworkConfigB\x03\xe0\x41\x03\x1a\x36\n\x14\x43onfigOverridesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xf5\x01\n\rNetworkConfig\x12M\n\tconsumers\x18\x01 \x03(\x0b\x32\x35.google.cloud.metastore.v1beta.NetworkConfig.ConsumerB\x03\xe0\x41\x05\x12\x1d\n\x15\x63ustom_routes_enabled\x18\x02 \x01(\x08\x1av\n\x08\x43onsumer\x12?\n\nsubnetwork\x18\x01 \x01(\tB)\xe0\x41\x05\xfa\x41#\n!compute.googleapis.com/SubnetworkH\x00\x12\x19\n\x0c\x65ndpoint_uri\x18\x03 \x01(\tB\x03\xe0\x41\x03\x42\x0e\n\x0cvpc_resource\"\x9e\x01\n\x0fTelemetryConfig\x12L\n\nlog_format\x18\x01 \x01(\x0e\x32\x38.google.cloud.metastore.v1beta.TelemetryConfig.LogFormat\"=\n\tLogFormat\x12\x1a\n\x16LOG_FORMAT_UNSPECIFIED\x10\x00\x12\n\n\x06LEGACY\x10\x01\x12\x08\n\x04JSON\x10\x02\"\xa9\x01\n\x1aMetadataManagementActivity\x12L\n\x10metadata_exports\x18\x01 \x03(\x0b\x32-.google.cloud.metastore.v1beta.MetadataExportB\x03\xe0\x41\x03\x12=\n\x08restores\x18\x02 \x03(\x0b\x32&.google.cloud.metastore.v1beta.RestoreB\x03\xe0\x41\x03\"\x90\x07\n\x0eMetadataImport\x12X\n\rdatabase_dump\x18\x06 \x01(\x0b\x32:.google.cloud.metastore.v1beta.MetadataImport.DatabaseDumpB\x03\xe0\x41\x05H\x00\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x05\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x34\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12G\n\x05state\x18\x05 \x01(\x0e\x32\x33.google.cloud.metastore.v1beta.MetadataImport.StateB\x03\xe0\x41\x03\x1a\xa3\x02\n\x0c\x44\x61tabaseDump\x12\x62\n\rdatabase_type\x18\x01 \x01(\x0e\x32G.google.cloud.metastore.v1beta.MetadataImport.DatabaseDump.DatabaseTypeB\x02\x18\x01\x12\x0f\n\x07gcs_uri\x18\x02 \x01(\t\x12\x1b\n\x0fsource_database\x18\x03 \x01(\tB\x02\x18\x01\x12G\n\x04type\x18\x04 \x01(\x0e\x32\x34.google.cloud.metastore.v1beta.DatabaseDumpSpec.TypeB\x03\xe0\x41\x01\"8\n\x0c\x44\x61tabaseType\x12\x1d\n\x19\x44\x41TABASE_TYPE_UNSPECIFIED\x10\x00\x12\t\n\x05MYSQL\x10\x01\"T\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07RUNNING\x10\x01\x12\r\n\tSUCCEEDED\x10\x02\x12\x0c\n\x08UPDATING\x10\x03\x12\n\n\x06\x46\x41ILED\x10\x04:\x8b\x01\xea\x41\x87\x01\n\'metastore.googleapis.com/MetadataImport\x12\\projects/{project}/locations/{location}/services/{service}/metadataImports/{metadata_import}B\n\n\x08metadata\"\xa2\x03\n\x0eMetadataExport\x12\"\n\x13\x64\x65stination_gcs_uri\x18\x04 \x01(\tB\x03\xe0\x41\x03H\x00\x12\x33\n\nstart_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12G\n\x05state\x18\x03 \x01(\x0e\x32\x33.google.cloud.metastore.v1beta.MetadataExport.StateB\x03\xe0\x41\x03\x12U\n\x12\x64\x61tabase_dump_type\x18\x05 \x01(\x0e\x32\x34.google.cloud.metastore.v1beta.DatabaseDumpSpec.TypeB\x03\xe0\x41\x03\"U\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07RUNNING\x10\x01\x12\r\n\tSUCCEEDED\x10\x02\x12\n\n\x06\x46\x41ILED\x10\x03\x12\r\n\tCANCELLED\x10\x04\x42\r\n\x0b\x64\x65stination\"\x98\x04\n\x06\x42\x61\x63kup\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x05\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12?\n\x05state\x18\x04 \x01(\x0e\x32+.google.cloud.metastore.v1beta.Backup.StateB\x03\xe0\x41\x03\x12\x45\n\x10service_revision\x18\x05 \x01(\x0b\x32&.google.cloud.metastore.v1beta.ServiceB\x03\xe0\x41\x03\x12\x13\n\x0b\x64\x65scription\x18\x06 \x01(\t\x12\x1f\n\x12restoring_services\x18\x07 \x03(\tB\x03\xe0\x41\x03\"a\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\x0c\n\x08\x44\x45LETING\x10\x02\x12\n\n\x06\x41\x43TIVE\x10\x03\x12\n\n\x06\x46\x41ILED\x10\x04\x12\r\n\tRESTORING\x10\x05:q\xea\x41n\n\x1fmetastore.googleapis.com/Backup\x12Kprojects/{project}/locations/{location}/services/{service}/backups/{backup}\"\xea\x03\n\x07Restore\x12\x33\n\nstart_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12@\n\x05state\x18\x03 \x01(\x0e\x32,.google.cloud.metastore.v1beta.Restore.StateB\x03\xe0\x41\x03\x12\x37\n\x06\x62\x61\x63kup\x18\x04 \x01(\tB\'\xe0\x41\x03\xfa\x41!\n\x1fmetastore.googleapis.com/Backup\x12\x45\n\x04type\x18\x05 \x01(\x0e\x32\x32.google.cloud.metastore.v1beta.Restore.RestoreTypeB\x03\xe0\x41\x03\x12\x14\n\x07\x64\x65tails\x18\x06 \x01(\tB\x03\xe0\x41\x03\"U\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07RUNNING\x10\x01\x12\r\n\tSUCCEEDED\x10\x02\x12\n\n\x06\x46\x41ILED\x10\x03\x12\r\n\tCANCELLED\x10\x04\"H\n\x0bRestoreType\x12\x1c\n\x18RESTORE_TYPE_UNSPECIFIED\x10\x00\x12\x08\n\x04\x46ULL\x10\x01\x12\x11\n\rMETADATA_ONLY\x10\x02\"\x81\x02\n\rScalingConfig\x12R\n\rinstance_size\x18\x01 \x01(\x0e\x32\x39.google.cloud.metastore.v1beta.ScalingConfig.InstanceSizeH\x00\x12\x18\n\x0escaling_factor\x18\x02 \x01(\x02H\x00\"q\n\x0cInstanceSize\x12\x1d\n\x19INSTANCE_SIZE_UNSPECIFIED\x10\x00\x12\x0f\n\x0b\x45XTRA_SMALL\x10\x01\x12\t\n\x05SMALL\x10\x02\x12\n\n\x06MEDIUM\x10\x03\x12\t\n\x05LARGE\x10\x04\x12\x0f\n\x0b\x45XTRA_LARGE\x10\x05\x42\x0f\n\rscaling_model\"\xac\x01\n\x13ListServicesRequest\x12\x38\n\x06parent\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\x12 metastore.googleapis.com/Service\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"~\n\x14ListServicesResponse\x12\x38\n\x08services\x18\x01 \x03(\x0b\x32&.google.cloud.metastore.v1beta.Service\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"K\n\x11GetServiceRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n metastore.googleapis.com/Service\"\xc0\x01\n\x14\x43reateServiceRequest\x12\x38\n\x06parent\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\x12 metastore.googleapis.com/Service\x12\x17\n\nservice_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12<\n\x07service\x18\x03 \x01(\x0b\x32&.google.cloud.metastore.v1beta.ServiceB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\xa3\x01\n\x14UpdateServiceRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12<\n\x07service\x18\x02 \x01(\x0b\x32&.google.cloud.metastore.v1beta.ServiceB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\"g\n\x14\x44\x65leteServiceRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n metastore.googleapis.com/Service\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\"\xba\x01\n\x1aListMetadataImportsRequest\x12?\n\x06parent\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\x12\'metastore.googleapis.com/MetadataImport\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\x94\x01\n\x1bListMetadataImportsResponse\x12G\n\x10metadata_imports\x18\x01 \x03(\x0b\x32-.google.cloud.metastore.v1beta.MetadataImport\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"Y\n\x18GetMetadataImportRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'metastore.googleapis.com/MetadataImport\"\xe5\x01\n\x1b\x43reateMetadataImportRequest\x12?\n\x06parent\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\x12\'metastore.googleapis.com/MetadataImport\x12\x1f\n\x12metadata_import_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12K\n\x0fmetadata_import\x18\x03 \x01(\x0b\x32-.google.cloud.metastore.v1beta.MetadataImportB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\xb9\x01\n\x1bUpdateMetadataImportRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12K\n\x0fmetadata_import\x18\x02 \x01(\x0b\x32-.google.cloud.metastore.v1beta.MetadataImportB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\xaa\x01\n\x12ListBackupsRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\x12\x1fmetastore.googleapis.com/Backup\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"{\n\x13ListBackupsResponse\x12\x36\n\x07\x62\x61\x63kups\x18\x01 \x03(\x0b\x32%.google.cloud.metastore.v1beta.Backup\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"I\n\x10GetBackupRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1fmetastore.googleapis.com/Backup\"\xbb\x01\n\x13\x43reateBackupRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\x12\x1fmetastore.googleapis.com/Backup\x12\x16\n\tbackup_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12:\n\x06\x62\x61\x63kup\x18\x03 \x01(\x0b\x32%.google.cloud.metastore.v1beta.BackupB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\"e\n\x13\x44\x65leteBackupRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1fmetastore.googleapis.com/Backup\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\"\xf3\x01\n\x15\x45xportMetadataRequest\x12 \n\x16\x64\x65stination_gcs_folder\x18\x02 \x01(\tH\x00\x12\x39\n\x07service\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n metastore.googleapis.com/Service\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12U\n\x12\x64\x61tabase_dump_type\x18\x04 \x01(\x0e\x32\x34.google.cloud.metastore.v1beta.DatabaseDumpSpec.TypeB\x03\xe0\x41\x01\x42\r\n\x0b\x64\x65stination\"\xf3\x01\n\x15RestoreServiceRequest\x12\x39\n\x07service\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n metastore.googleapis.com/Service\x12\x37\n\x06\x62\x61\x63kup\x18\x02 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1fmetastore.googleapis.com/Backup\x12M\n\x0crestore_type\x18\x03 \x01(\x0e\x32\x32.google.cloud.metastore.v1beta.Restore.RestoreTypeB\x03\xe0\x41\x01\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\x80\x02\n\x11OperationMetadata\x12\x34\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x13\n\x06target\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04verb\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x1b\n\x0estatus_message\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12#\n\x16requested_cancellation\x18\x06 \x01(\x08\x42\x03\xe0\x41\x03\x12\x18\n\x0b\x61pi_version\x18\x07 \x01(\tB\x03\xe0\x41\x03\"\xc0\x01\n\x10LocationMetadata\x12o\n!supported_hive_metastore_versions\x18\x01 \x03(\x0b\x32\x44.google.cloud.metastore.v1beta.LocationMetadata.HiveMetastoreVersion\x1a;\n\x14HiveMetastoreVersion\x12\x0f\n\x07version\x18\x01 \x01(\t\x12\x12\n\nis_default\x18\x02 \x01(\x08\"E\n\x10\x44\x61tabaseDumpSpec\"1\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\t\n\x05MYSQL\x10\x01\x12\x08\n\x04\x41VRO\x10\x02\"P\n\x16RemoveIamPolicyRequest\x12\x1b\n\x08resource\x18\x01 \x01(\tB\t\xe0\x41\x02\xfa\x41\x03\n\x01*\x12\x19\n\x0c\x61synchronous\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\"*\n\x17RemoveIamPolicyResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08\"e\n\x14QueryMetadataRequest\x12\x39\n\x07service\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n metastore.googleapis.com/Service\x12\x12\n\x05query\x18\x02 \x01(\tB\x03\xe0\x41\x02\"4\n\x15QueryMetadataResponse\x12\x1b\n\x13result_manifest_uri\x18\x01 \x01(\t\"\x89\x01\n\x0c\x45rrorDetails\x12I\n\x07\x64\x65tails\x18\x01 \x03(\x0b\x32\x38.google.cloud.metastore.v1beta.ErrorDetails.DetailsEntry\x1a.\n\x0c\x44\x65tailsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xa8\x01\n\x1aMoveTableToDatabaseRequest\x12\x39\n\x07service\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n metastore.googleapis.com/Service\x12\x17\n\ntable_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x14\n\x07\x64\x62_name\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12 \n\x13\x64\x65stination_db_name\x18\x04 \x01(\tB\x03\xe0\x41\x02\"\x1d\n\x1bMoveTableToDatabaseResponse\"\x98\x01\n$AlterMetadataResourceLocationRequest\x12\x39\n\x07service\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n metastore.googleapis.com/Service\x12\x1a\n\rresource_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x19\n\x0clocation_uri\x18\x03 \x01(\tB\x03\xe0\x41\x02\"\'\n%AlterMetadataResourceLocationResponse2\x8f%\n\x11\x44\x61taprocMetastore\x12\xba\x01\n\x0cListServices\x12\x32.google.cloud.metastore.v1beta.ListServicesRequest\x1a\x33.google.cloud.metastore.v1beta.ListServicesResponse\"A\x82\xd3\xe4\x93\x02\x32\x12\x30/v1beta/{parent=projects/*/locations/*}/services\xda\x41\x06parent\x12\xa7\x01\n\nGetService\x12\x30.google.cloud.metastore.v1beta.GetServiceRequest\x1a&.google.cloud.metastore.v1beta.Service\"?\x82\xd3\xe4\x93\x02\x32\x12\x30/v1beta/{name=projects/*/locations/*/services/*}\xda\x41\x04name\x12\x80\x02\n\rCreateService\x12\x33.google.cloud.metastore.v1beta.CreateServiceRequest\x1a\x1d.google.longrunning.Operation\"\x9a\x01\x82\xd3\xe4\x93\x02;\"0/v1beta/{parent=projects/*/locations/*}/services:\x07service\xda\x41\x19parent,service,service_id\xca\x41:\n\x07Service\x12/google.cloud.metastore.v1beta.OperationMetadata\x12\x82\x02\n\rUpdateService\x12\x33.google.cloud.metastore.v1beta.UpdateServiceRequest\x1a\x1d.google.longrunning.Operation\"\x9c\x01\x82\xd3\xe4\x93\x02\x43\x32\x38/v1beta/{service.name=projects/*/locations/*/services/*}:\x07service\xda\x41\x13service,update_mask\xca\x41:\n\x07Service\x12/google.cloud.metastore.v1beta.OperationMetadata\x12\xf0\x01\n\rDeleteService\x12\x33.google.cloud.metastore.v1beta.DeleteServiceRequest\x1a\x1d.google.longrunning.Operation\"\x8a\x01\x82\xd3\xe4\x93\x02\x32*0/v1beta/{name=projects/*/locations/*/services/*}\xda\x41\x04name\xca\x41H\n\x15google.protobuf.Empty\x12/google.cloud.metastore.v1beta.OperationMetadata\x12\xe1\x01\n\x13ListMetadataImports\x12\x39.google.cloud.metastore.v1beta.ListMetadataImportsRequest\x1a:.google.cloud.metastore.v1beta.ListMetadataImportsResponse\"S\x82\xd3\xe4\x93\x02\x44\x12\x42/v1beta/{parent=projects/*/locations/*/services/*}/metadataImports\xda\x41\x06parent\x12\xce\x01\n\x11GetMetadataImport\x12\x37.google.cloud.metastore.v1beta.GetMetadataImportRequest\x1a-.google.cloud.metastore.v1beta.MetadataImport\"Q\x82\xd3\xe4\x93\x02\x44\x12\x42/v1beta/{name=projects/*/locations/*/services/*/metadataImports/*}\xda\x41\x04name\x12\xbf\x02\n\x14\x43reateMetadataImport\x12:.google.cloud.metastore.v1beta.CreateMetadataImportRequest\x1a\x1d.google.longrunning.Operation\"\xcb\x01\x82\xd3\xe4\x93\x02U\"B/v1beta/{parent=projects/*/locations/*/services/*}/metadataImports:\x0fmetadata_import\xda\x41)parent,metadata_import,metadata_import_id\xca\x41\x41\n\x0eMetadataImport\x12/google.cloud.metastore.v1beta.OperationMetadata\x12\xc1\x02\n\x14UpdateMetadataImport\x12:.google.cloud.metastore.v1beta.UpdateMetadataImportRequest\x1a\x1d.google.longrunning.Operation\"\xcd\x01\x82\xd3\xe4\x93\x02\x65\x32R/v1beta/{metadata_import.name=projects/*/locations/*/services/*/metadataImports/*}:\x0fmetadata_import\xda\x41\x1bmetadata_import,update_mask\xca\x41\x41\n\x0eMetadataImport\x12/google.cloud.metastore.v1beta.OperationMetadata\x12\xf9\x01\n\x0e\x45xportMetadata\x12\x34.google.cloud.metastore.v1beta.ExportMetadataRequest\x1a\x1d.google.longrunning.Operation\"\x91\x01\x82\xd3\xe4\x93\x02G\"B/v1beta/{service=projects/*/locations/*/services/*}:exportMetadata:\x01*\xca\x41\x41\n\x0eMetadataExport\x12/google.cloud.metastore.v1beta.OperationMetadata\x12\xfc\x01\n\x0eRestoreService\x12\x34.google.cloud.metastore.v1beta.RestoreServiceRequest\x1a\x1d.google.longrunning.Operation\"\x94\x01\x82\xd3\xe4\x93\x02@\";/v1beta/{service=projects/*/locations/*/services/*}:restore:\x01*\xda\x41\x0eservice,backup\xca\x41:\n\x07Restore\x12/google.cloud.metastore.v1beta.OperationMetadata\x12\xc1\x01\n\x0bListBackups\x12\x31.google.cloud.metastore.v1beta.ListBackupsRequest\x1a\x32.google.cloud.metastore.v1beta.ListBackupsResponse\"K\x82\xd3\xe4\x93\x02<\x12:/v1beta/{parent=projects/*/locations/*/services/*}/backups\xda\x41\x06parent\x12\xae\x01\n\tGetBackup\x12/.google.cloud.metastore.v1beta.GetBackupRequest\x1a%.google.cloud.metastore.v1beta.Backup\"I\x82\xd3\xe4\x93\x02<\x12:/v1beta/{name=projects/*/locations/*/services/*/backups/*}\xda\x41\x04name\x12\x84\x02\n\x0c\x43reateBackup\x12\x32.google.cloud.metastore.v1beta.CreateBackupRequest\x1a\x1d.google.longrunning.Operation\"\xa0\x01\x82\xd3\xe4\x93\x02\x44\":/v1beta/{parent=projects/*/locations/*/services/*}/backups:\x06\x62\x61\x63kup\xda\x41\x17parent,backup,backup_id\xca\x41\x39\n\x06\x42\x61\x63kup\x12/google.cloud.metastore.v1beta.OperationMetadata\x12\xf8\x01\n\x0c\x44\x65leteBackup\x12\x32.google.cloud.metastore.v1beta.DeleteBackupRequest\x1a\x1d.google.longrunning.Operation\"\x94\x01\x82\xd3\xe4\x93\x02<*:/v1beta/{name=projects/*/locations/*/services/*/backups/*}\xda\x41\x04name\xca\x41H\n\x15google.protobuf.Empty\x12/google.cloud.metastore.v1beta.OperationMetadata\x12\xd4\x01\n\x0fRemoveIamPolicy\x12\x35.google.cloud.metastore.v1beta.RemoveIamPolicyRequest\x1a\x36.google.cloud.metastore.v1beta.RemoveIamPolicyResponse\"R\x82\xd3\xe4\x93\x02L\"G/v1beta/{resource=projects/*/locations/*/services/*/**}:removeIamPolicy:\x01*\x12\xfd\x01\n\rQueryMetadata\x12\x33.google.cloud.metastore.v1beta.QueryMetadataRequest\x1a\x1d.google.longrunning.Operation\"\x97\x01\x82\xd3\xe4\x93\x02\x46\"A/v1beta/{service=projects/*/locations/*/services/*}:queryMetadata:\x01*\xca\x41H\n\x15QueryMetadataResponse\x12/google.cloud.metastore.v1beta.OperationMetadata\x12\x95\x02\n\x13MoveTableToDatabase\x12\x39.google.cloud.metastore.v1beta.MoveTableToDatabaseRequest\x1a\x1d.google.longrunning.Operation\"\xa3\x01\x82\xd3\xe4\x93\x02L\"G/v1beta/{service=projects/*/locations/*/services/*}:moveTableToDatabase:\x01*\xca\x41N\n\x1bMoveTableToDatabaseResponse\x12/google.cloud.metastore.v1beta.OperationMetadata\x12\xad\x02\n\x1d\x41lterMetadataResourceLocation\x12\x43.google.cloud.metastore.v1beta.AlterMetadataResourceLocationRequest\x1a\x1d.google.longrunning.Operation\"\xa7\x01\x82\xd3\xe4\x93\x02\x46\"A/v1beta/{service=projects/*/locations/*/services/*}:alterLocation:\x01*\xca\x41X\n%AlterMetadataResourceLocationResponse\x12/google.cloud.metastore.v1beta.OperationMetadata\x1aL\xca\x41\x18metastore.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xa2\x03\n!com.google.cloud.metastore.v1betaB\x0eMetastoreProtoP\x01Z?cloud.google.com/go/metastore/apiv1beta/metastorepb;metastorepb\xca\x02\x1dGoogle\\Cloud\\Metastore\\V1beta\xea\x41N\n\x1e\x63ompute.googleapis.com/Network\x12,projects/{project}/global/networks/{network}\xea\x41\x61\n!compute.googleapis.com/Subnetwork\x12<projects/{project}/regions/{region}/subnetworks/{subnetwork}\xea\x41T\n\x1c\x64\x61taplex.googleapis.com/Lake\x12\x34projects/{project}/locations/{location}/lakes/{lake}b\x06proto3"
|
19
|
+
descriptor_data = "\n-google/cloud/metastore/v1beta/metastore.proto\x12\x1dgoogle.cloud.metastore.v1beta\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1bgoogle/type/dayofweek.proto\"\x95\x0e\n\x07Service\x12S\n\x15hive_metastore_config\x18\x05 \x01(\x0b\x32\x32.google.cloud.metastore.v1beta.HiveMetastoreConfigH\x00\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x05\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x42\n\x06labels\x18\x04 \x03(\x0b\x32\x32.google.cloud.metastore.v1beta.Service.LabelsEntry\x12\x37\n\x07network\x18\x07 \x01(\tB&\xe0\x41\x05\xfa\x41 \n\x1e\x63ompute.googleapis.com/Network\x12\x19\n\x0c\x65ndpoint_uri\x18\x08 \x01(\tB\x03\xe0\x41\x03\x12\x0c\n\x04port\x18\t \x01(\x05\x12@\n\x05state\x18\n \x01(\x0e\x32,.google.cloud.metastore.v1beta.Service.StateB\x03\xe0\x41\x03\x12\x1a\n\rstate_message\x18\x0b \x01(\tB\x03\xe0\x41\x03\x12\x1d\n\x10\x61rtifact_gcs_uri\x18\x0c \x01(\tB\x03\xe0\x41\x03\x12\x39\n\x04tier\x18\r \x01(\x0e\x32+.google.cloud.metastore.v1beta.Service.Tier\x12P\n\x14metadata_integration\x18\x0e \x01(\x0b\x32\x32.google.cloud.metastore.v1beta.MetadataIntegration\x12L\n\x12maintenance_window\x18\x0f \x01(\x0b\x32\x30.google.cloud.metastore.v1beta.MaintenanceWindow\x12\x10\n\x03uid\x18\x10 \x01(\tB\x03\xe0\x41\x03\x12\x64\n\x1cmetadata_management_activity\x18\x11 \x01(\x0b\x32\x39.google.cloud.metastore.v1beta.MetadataManagementActivityB\x03\xe0\x41\x03\x12S\n\x0frelease_channel\x18\x13 \x01(\x0e\x32\x35.google.cloud.metastore.v1beta.Service.ReleaseChannelB\x03\xe0\x41\x05\x12O\n\x11\x65ncryption_config\x18\x14 \x01(\x0b\x32/.google.cloud.metastore.v1beta.EncryptionConfigB\x03\xe0\x41\x05\x12\x44\n\x0enetwork_config\x18\x15 \x01(\x0b\x32,.google.cloud.metastore.v1beta.NetworkConfig\x12O\n\rdatabase_type\x18\x16 \x01(\x0e\x32\x33.google.cloud.metastore.v1beta.Service.DatabaseTypeB\x03\xe0\x41\x05\x12H\n\x10telemetry_config\x18\x17 \x01(\x0b\x32..google.cloud.metastore.v1beta.TelemetryConfig\x12\x44\n\x0escaling_config\x18\x18 \x01(\x0b\x32,.google.cloud.metastore.v1beta.ScalingConfig\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"~\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02\x12\x0e\n\nSUSPENDING\x10\x03\x12\r\n\tSUSPENDED\x10\x04\x12\x0c\n\x08UPDATING\x10\x05\x12\x0c\n\x08\x44\x45LETING\x10\x06\x12\t\n\x05\x45RROR\x10\x07\";\n\x04Tier\x12\x14\n\x10TIER_UNSPECIFIED\x10\x00\x12\r\n\tDEVELOPER\x10\x01\x12\x0e\n\nENTERPRISE\x10\x03\"I\n\x0eReleaseChannel\x12\x1f\n\x1bRELEASE_CHANNEL_UNSPECIFIED\x10\x00\x12\n\n\x06\x43\x41NARY\x10\x01\x12\n\n\x06STABLE\x10\x02\"E\n\x0c\x44\x61tabaseType\x12\x1d\n\x19\x44\x41TABASE_TYPE_UNSPECIFIED\x10\x00\x12\t\n\x05MYSQL\x10\x01\x12\x0b\n\x07SPANNER\x10\x02:a\xea\x41^\n metastore.googleapis.com/Service\x12:projects/{project}/locations/{location}/services/{service}B\x12\n\x10metastore_config\"\xac\x01\n\x13MetadataIntegration\x12M\n\x13\x64\x61ta_catalog_config\x18\x01 \x01(\x0b\x32\x30.google.cloud.metastore.v1beta.DataCatalogConfig\x12\x46\n\x0f\x64\x61taplex_config\x18\x02 \x01(\x0b\x32-.google.cloud.metastore.v1beta.DataplexConfig\"$\n\x11\x44\x61taCatalogConfig\x12\x0f\n\x07\x65nabled\x18\x02 \x01(\x08\"\xc5\x01\n\x0e\x44\x61taplexConfig\x12X\n\x0elake_resources\x18\x01 \x03(\x0b\x32@.google.cloud.metastore.v1beta.DataplexConfig.LakeResourcesEntry\x1aY\n\x12LakeResourcesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x32\n\x05value\x18\x02 \x01(\x0b\x32#.google.cloud.metastore.v1beta.Lake:\x02\x38\x01\"7\n\x04Lake\x12/\n\x04name\x18\x01 \x01(\tB!\xfa\x41\x1e\n\x1c\x64\x61taplex.googleapis.com/Lake\"r\n\x11MaintenanceWindow\x12\x30\n\x0bhour_of_day\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int32Value\x12+\n\x0b\x64\x61y_of_week\x18\x02 \x01(\x0e\x32\x16.google.type.DayOfWeek\"\x93\x05\n\x13HiveMetastoreConfig\x12\x14\n\x07version\x18\x01 \x01(\tB\x03\xe0\x41\x05\x12\x61\n\x10\x63onfig_overrides\x18\x02 \x03(\x0b\x32G.google.cloud.metastore.v1beta.HiveMetastoreConfig.ConfigOverridesEntry\x12\x46\n\x0fkerberos_config\x18\x03 \x01(\x0b\x32-.google.cloud.metastore.v1beta.KerberosConfig\x12^\n\x11\x65ndpoint_protocol\x18\x04 \x01(\x0e\x32\x43.google.cloud.metastore.v1beta.HiveMetastoreConfig.EndpointProtocol\x12\x65\n\x12\x61uxiliary_versions\x18\x05 \x03(\x0b\x32I.google.cloud.metastore.v1beta.HiveMetastoreConfig.AuxiliaryVersionsEntry\x1a\x36\n\x14\x43onfigOverridesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1ao\n\x16\x41uxiliaryVersionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x44\n\x05value\x18\x02 \x01(\x0b\x32\x35.google.cloud.metastore.v1beta.AuxiliaryVersionConfig:\x02\x38\x01\"K\n\x10\x45ndpointProtocol\x12!\n\x1d\x45NDPOINT_PROTOCOL_UNSPECIFIED\x10\x00\x12\n\n\x06THRIFT\x10\x01\x12\x08\n\x04GRPC\x10\x02\"w\n\x0eKerberosConfig\x12\x35\n\x06keytab\x18\x01 \x01(\x0b\x32%.google.cloud.metastore.v1beta.Secret\x12\x11\n\tprincipal\x18\x02 \x01(\t\x12\x1b\n\x13krb5_config_gcs_uri\x18\x03 \x01(\t\")\n\x06Secret\x12\x16\n\x0c\x63loud_secret\x18\x02 \x01(\tH\x00\x42\x07\n\x05value\"#\n\x10\x45ncryptionConfig\x12\x0f\n\x07kms_key\x18\x01 \x01(\t\"\x92\x02\n\x16\x41uxiliaryVersionConfig\x12\x0f\n\x07version\x18\x01 \x01(\t\x12\x64\n\x10\x63onfig_overrides\x18\x02 \x03(\x0b\x32J.google.cloud.metastore.v1beta.AuxiliaryVersionConfig.ConfigOverridesEntry\x12I\n\x0enetwork_config\x18\x03 \x01(\x0b\x32,.google.cloud.metastore.v1beta.NetworkConfigB\x03\xe0\x41\x03\x1a\x36\n\x14\x43onfigOverridesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xbc\x02\n\rNetworkConfig\x12M\n\tconsumers\x18\x01 \x03(\x0b\x32\x35.google.cloud.metastore.v1beta.NetworkConfig.ConsumerB\x03\xe0\x41\x05\x12\x1d\n\x15\x63ustom_routes_enabled\x18\x02 \x01(\x08\x1a\xbc\x01\n\x08\x43onsumer\x12?\n\nsubnetwork\x18\x01 \x01(\tB)\xe0\x41\x05\xfa\x41#\n!compute.googleapis.com/SubnetworkH\x00\x12\x19\n\x0c\x65ndpoint_uri\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x44\n\x11\x65ndpoint_location\x18\x04 \x01(\tB)\xe0\x41\x03\xfa\x41#\n!locations.googleapis.com/LocationB\x0e\n\x0cvpc_resource\"\x9e\x01\n\x0fTelemetryConfig\x12L\n\nlog_format\x18\x01 \x01(\x0e\x32\x38.google.cloud.metastore.v1beta.TelemetryConfig.LogFormat\"=\n\tLogFormat\x12\x1a\n\x16LOG_FORMAT_UNSPECIFIED\x10\x00\x12\n\n\x06LEGACY\x10\x01\x12\x08\n\x04JSON\x10\x02\"\xa9\x01\n\x1aMetadataManagementActivity\x12L\n\x10metadata_exports\x18\x01 \x03(\x0b\x32-.google.cloud.metastore.v1beta.MetadataExportB\x03\xe0\x41\x03\x12=\n\x08restores\x18\x02 \x03(\x0b\x32&.google.cloud.metastore.v1beta.RestoreB\x03\xe0\x41\x03\"\x90\x07\n\x0eMetadataImport\x12X\n\rdatabase_dump\x18\x06 \x01(\x0b\x32:.google.cloud.metastore.v1beta.MetadataImport.DatabaseDumpB\x03\xe0\x41\x05H\x00\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x05\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x34\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12G\n\x05state\x18\x05 \x01(\x0e\x32\x33.google.cloud.metastore.v1beta.MetadataImport.StateB\x03\xe0\x41\x03\x1a\xa3\x02\n\x0c\x44\x61tabaseDump\x12\x62\n\rdatabase_type\x18\x01 \x01(\x0e\x32G.google.cloud.metastore.v1beta.MetadataImport.DatabaseDump.DatabaseTypeB\x02\x18\x01\x12\x0f\n\x07gcs_uri\x18\x02 \x01(\t\x12\x1b\n\x0fsource_database\x18\x03 \x01(\tB\x02\x18\x01\x12G\n\x04type\x18\x04 \x01(\x0e\x32\x34.google.cloud.metastore.v1beta.DatabaseDumpSpec.TypeB\x03\xe0\x41\x01\"8\n\x0c\x44\x61tabaseType\x12\x1d\n\x19\x44\x41TABASE_TYPE_UNSPECIFIED\x10\x00\x12\t\n\x05MYSQL\x10\x01\"T\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07RUNNING\x10\x01\x12\r\n\tSUCCEEDED\x10\x02\x12\x0c\n\x08UPDATING\x10\x03\x12\n\n\x06\x46\x41ILED\x10\x04:\x8b\x01\xea\x41\x87\x01\n\'metastore.googleapis.com/MetadataImport\x12\\projects/{project}/locations/{location}/services/{service}/metadataImports/{metadata_import}B\n\n\x08metadata\"\xa2\x03\n\x0eMetadataExport\x12\"\n\x13\x64\x65stination_gcs_uri\x18\x04 \x01(\tB\x03\xe0\x41\x03H\x00\x12\x33\n\nstart_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12G\n\x05state\x18\x03 \x01(\x0e\x32\x33.google.cloud.metastore.v1beta.MetadataExport.StateB\x03\xe0\x41\x03\x12U\n\x12\x64\x61tabase_dump_type\x18\x05 \x01(\x0e\x32\x34.google.cloud.metastore.v1beta.DatabaseDumpSpec.TypeB\x03\xe0\x41\x03\"U\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07RUNNING\x10\x01\x12\r\n\tSUCCEEDED\x10\x02\x12\n\n\x06\x46\x41ILED\x10\x03\x12\r\n\tCANCELLED\x10\x04\x42\r\n\x0b\x64\x65stination\"\x98\x04\n\x06\x42\x61\x63kup\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x05\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12?\n\x05state\x18\x04 \x01(\x0e\x32+.google.cloud.metastore.v1beta.Backup.StateB\x03\xe0\x41\x03\x12\x45\n\x10service_revision\x18\x05 \x01(\x0b\x32&.google.cloud.metastore.v1beta.ServiceB\x03\xe0\x41\x03\x12\x13\n\x0b\x64\x65scription\x18\x06 \x01(\t\x12\x1f\n\x12restoring_services\x18\x07 \x03(\tB\x03\xe0\x41\x03\"a\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\x0c\n\x08\x44\x45LETING\x10\x02\x12\n\n\x06\x41\x43TIVE\x10\x03\x12\n\n\x06\x46\x41ILED\x10\x04\x12\r\n\tRESTORING\x10\x05:q\xea\x41n\n\x1fmetastore.googleapis.com/Backup\x12Kprojects/{project}/locations/{location}/services/{service}/backups/{backup}\"\xea\x03\n\x07Restore\x12\x33\n\nstart_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12@\n\x05state\x18\x03 \x01(\x0e\x32,.google.cloud.metastore.v1beta.Restore.StateB\x03\xe0\x41\x03\x12\x37\n\x06\x62\x61\x63kup\x18\x04 \x01(\tB\'\xe0\x41\x03\xfa\x41!\n\x1fmetastore.googleapis.com/Backup\x12\x45\n\x04type\x18\x05 \x01(\x0e\x32\x32.google.cloud.metastore.v1beta.Restore.RestoreTypeB\x03\xe0\x41\x03\x12\x14\n\x07\x64\x65tails\x18\x06 \x01(\tB\x03\xe0\x41\x03\"U\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07RUNNING\x10\x01\x12\r\n\tSUCCEEDED\x10\x02\x12\n\n\x06\x46\x41ILED\x10\x03\x12\r\n\tCANCELLED\x10\x04\"H\n\x0bRestoreType\x12\x1c\n\x18RESTORE_TYPE_UNSPECIFIED\x10\x00\x12\x08\n\x04\x46ULL\x10\x01\x12\x11\n\rMETADATA_ONLY\x10\x02\"\x81\x02\n\rScalingConfig\x12R\n\rinstance_size\x18\x01 \x01(\x0e\x32\x39.google.cloud.metastore.v1beta.ScalingConfig.InstanceSizeH\x00\x12\x18\n\x0escaling_factor\x18\x02 \x01(\x02H\x00\"q\n\x0cInstanceSize\x12\x1d\n\x19INSTANCE_SIZE_UNSPECIFIED\x10\x00\x12\x0f\n\x0b\x45XTRA_SMALL\x10\x01\x12\t\n\x05SMALL\x10\x02\x12\n\n\x06MEDIUM\x10\x03\x12\t\n\x05LARGE\x10\x04\x12\x0f\n\x0b\x45XTRA_LARGE\x10\x05\x42\x0f\n\rscaling_model\"\xac\x01\n\x13ListServicesRequest\x12\x38\n\x06parent\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\x12 metastore.googleapis.com/Service\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"~\n\x14ListServicesResponse\x12\x38\n\x08services\x18\x01 \x03(\x0b\x32&.google.cloud.metastore.v1beta.Service\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"K\n\x11GetServiceRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n metastore.googleapis.com/Service\"\xc0\x01\n\x14\x43reateServiceRequest\x12\x38\n\x06parent\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\x12 metastore.googleapis.com/Service\x12\x17\n\nservice_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12<\n\x07service\x18\x03 \x01(\x0b\x32&.google.cloud.metastore.v1beta.ServiceB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\xa3\x01\n\x14UpdateServiceRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12<\n\x07service\x18\x02 \x01(\x0b\x32&.google.cloud.metastore.v1beta.ServiceB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\"g\n\x14\x44\x65leteServiceRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n metastore.googleapis.com/Service\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\"\xba\x01\n\x1aListMetadataImportsRequest\x12?\n\x06parent\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\x12\'metastore.googleapis.com/MetadataImport\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\x94\x01\n\x1bListMetadataImportsResponse\x12G\n\x10metadata_imports\x18\x01 \x03(\x0b\x32-.google.cloud.metastore.v1beta.MetadataImport\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"Y\n\x18GetMetadataImportRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'metastore.googleapis.com/MetadataImport\"\xe5\x01\n\x1b\x43reateMetadataImportRequest\x12?\n\x06parent\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\x12\'metastore.googleapis.com/MetadataImport\x12\x1f\n\x12metadata_import_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12K\n\x0fmetadata_import\x18\x03 \x01(\x0b\x32-.google.cloud.metastore.v1beta.MetadataImportB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\xb9\x01\n\x1bUpdateMetadataImportRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12K\n\x0fmetadata_import\x18\x02 \x01(\x0b\x32-.google.cloud.metastore.v1beta.MetadataImportB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\xaa\x01\n\x12ListBackupsRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\x12\x1fmetastore.googleapis.com/Backup\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"{\n\x13ListBackupsResponse\x12\x36\n\x07\x62\x61\x63kups\x18\x01 \x03(\x0b\x32%.google.cloud.metastore.v1beta.Backup\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"I\n\x10GetBackupRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1fmetastore.googleapis.com/Backup\"\xbb\x01\n\x13\x43reateBackupRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\x12\x1fmetastore.googleapis.com/Backup\x12\x16\n\tbackup_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12:\n\x06\x62\x61\x63kup\x18\x03 \x01(\x0b\x32%.google.cloud.metastore.v1beta.BackupB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\"e\n\x13\x44\x65leteBackupRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1fmetastore.googleapis.com/Backup\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\"\xf3\x01\n\x15\x45xportMetadataRequest\x12 \n\x16\x64\x65stination_gcs_folder\x18\x02 \x01(\tH\x00\x12\x39\n\x07service\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n metastore.googleapis.com/Service\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12U\n\x12\x64\x61tabase_dump_type\x18\x04 \x01(\x0e\x32\x34.google.cloud.metastore.v1beta.DatabaseDumpSpec.TypeB\x03\xe0\x41\x01\x42\r\n\x0b\x64\x65stination\"\xf3\x01\n\x15RestoreServiceRequest\x12\x39\n\x07service\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n metastore.googleapis.com/Service\x12\x37\n\x06\x62\x61\x63kup\x18\x02 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1fmetastore.googleapis.com/Backup\x12M\n\x0crestore_type\x18\x03 \x01(\x0e\x32\x32.google.cloud.metastore.v1beta.Restore.RestoreTypeB\x03\xe0\x41\x01\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\x80\x02\n\x11OperationMetadata\x12\x34\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x13\n\x06target\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04verb\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x1b\n\x0estatus_message\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12#\n\x16requested_cancellation\x18\x06 \x01(\x08\x42\x03\xe0\x41\x03\x12\x18\n\x0b\x61pi_version\x18\x07 \x01(\tB\x03\xe0\x41\x03\"\xc0\x01\n\x10LocationMetadata\x12o\n!supported_hive_metastore_versions\x18\x01 \x03(\x0b\x32\x44.google.cloud.metastore.v1beta.LocationMetadata.HiveMetastoreVersion\x1a;\n\x14HiveMetastoreVersion\x12\x0f\n\x07version\x18\x01 \x01(\t\x12\x12\n\nis_default\x18\x02 \x01(\x08\"E\n\x10\x44\x61tabaseDumpSpec\"1\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\t\n\x05MYSQL\x10\x01\x12\x08\n\x04\x41VRO\x10\x02\"P\n\x16RemoveIamPolicyRequest\x12\x1b\n\x08resource\x18\x01 \x01(\tB\t\xe0\x41\x02\xfa\x41\x03\n\x01*\x12\x19\n\x0c\x61synchronous\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\"*\n\x17RemoveIamPolicyResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08\"e\n\x14QueryMetadataRequest\x12\x39\n\x07service\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n metastore.googleapis.com/Service\x12\x12\n\x05query\x18\x02 \x01(\tB\x03\xe0\x41\x02\"4\n\x15QueryMetadataResponse\x12\x1b\n\x13result_manifest_uri\x18\x01 \x01(\t\"\x89\x01\n\x0c\x45rrorDetails\x12I\n\x07\x64\x65tails\x18\x01 \x03(\x0b\x32\x38.google.cloud.metastore.v1beta.ErrorDetails.DetailsEntry\x1a.\n\x0c\x44\x65tailsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xa8\x01\n\x1aMoveTableToDatabaseRequest\x12\x39\n\x07service\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n metastore.googleapis.com/Service\x12\x17\n\ntable_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x14\n\x07\x64\x62_name\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12 \n\x13\x64\x65stination_db_name\x18\x04 \x01(\tB\x03\xe0\x41\x02\"\x1d\n\x1bMoveTableToDatabaseResponse\"\x98\x01\n$AlterMetadataResourceLocationRequest\x12\x39\n\x07service\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n metastore.googleapis.com/Service\x12\x1a\n\rresource_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x19\n\x0clocation_uri\x18\x03 \x01(\tB\x03\xe0\x41\x02\"\'\n%AlterMetadataResourceLocationResponse2\x8f%\n\x11\x44\x61taprocMetastore\x12\xba\x01\n\x0cListServices\x12\x32.google.cloud.metastore.v1beta.ListServicesRequest\x1a\x33.google.cloud.metastore.v1beta.ListServicesResponse\"A\x82\xd3\xe4\x93\x02\x32\x12\x30/v1beta/{parent=projects/*/locations/*}/services\xda\x41\x06parent\x12\xa7\x01\n\nGetService\x12\x30.google.cloud.metastore.v1beta.GetServiceRequest\x1a&.google.cloud.metastore.v1beta.Service\"?\x82\xd3\xe4\x93\x02\x32\x12\x30/v1beta/{name=projects/*/locations/*/services/*}\xda\x41\x04name\x12\x80\x02\n\rCreateService\x12\x33.google.cloud.metastore.v1beta.CreateServiceRequest\x1a\x1d.google.longrunning.Operation\"\x9a\x01\x82\xd3\xe4\x93\x02;\"0/v1beta/{parent=projects/*/locations/*}/services:\x07service\xda\x41\x19parent,service,service_id\xca\x41:\n\x07Service\x12/google.cloud.metastore.v1beta.OperationMetadata\x12\x82\x02\n\rUpdateService\x12\x33.google.cloud.metastore.v1beta.UpdateServiceRequest\x1a\x1d.google.longrunning.Operation\"\x9c\x01\x82\xd3\xe4\x93\x02\x43\x32\x38/v1beta/{service.name=projects/*/locations/*/services/*}:\x07service\xda\x41\x13service,update_mask\xca\x41:\n\x07Service\x12/google.cloud.metastore.v1beta.OperationMetadata\x12\xf0\x01\n\rDeleteService\x12\x33.google.cloud.metastore.v1beta.DeleteServiceRequest\x1a\x1d.google.longrunning.Operation\"\x8a\x01\x82\xd3\xe4\x93\x02\x32*0/v1beta/{name=projects/*/locations/*/services/*}\xda\x41\x04name\xca\x41H\n\x15google.protobuf.Empty\x12/google.cloud.metastore.v1beta.OperationMetadata\x12\xe1\x01\n\x13ListMetadataImports\x12\x39.google.cloud.metastore.v1beta.ListMetadataImportsRequest\x1a:.google.cloud.metastore.v1beta.ListMetadataImportsResponse\"S\x82\xd3\xe4\x93\x02\x44\x12\x42/v1beta/{parent=projects/*/locations/*/services/*}/metadataImports\xda\x41\x06parent\x12\xce\x01\n\x11GetMetadataImport\x12\x37.google.cloud.metastore.v1beta.GetMetadataImportRequest\x1a-.google.cloud.metastore.v1beta.MetadataImport\"Q\x82\xd3\xe4\x93\x02\x44\x12\x42/v1beta/{name=projects/*/locations/*/services/*/metadataImports/*}\xda\x41\x04name\x12\xbf\x02\n\x14\x43reateMetadataImport\x12:.google.cloud.metastore.v1beta.CreateMetadataImportRequest\x1a\x1d.google.longrunning.Operation\"\xcb\x01\x82\xd3\xe4\x93\x02U\"B/v1beta/{parent=projects/*/locations/*/services/*}/metadataImports:\x0fmetadata_import\xda\x41)parent,metadata_import,metadata_import_id\xca\x41\x41\n\x0eMetadataImport\x12/google.cloud.metastore.v1beta.OperationMetadata\x12\xc1\x02\n\x14UpdateMetadataImport\x12:.google.cloud.metastore.v1beta.UpdateMetadataImportRequest\x1a\x1d.google.longrunning.Operation\"\xcd\x01\x82\xd3\xe4\x93\x02\x65\x32R/v1beta/{metadata_import.name=projects/*/locations/*/services/*/metadataImports/*}:\x0fmetadata_import\xda\x41\x1bmetadata_import,update_mask\xca\x41\x41\n\x0eMetadataImport\x12/google.cloud.metastore.v1beta.OperationMetadata\x12\xf9\x01\n\x0e\x45xportMetadata\x12\x34.google.cloud.metastore.v1beta.ExportMetadataRequest\x1a\x1d.google.longrunning.Operation\"\x91\x01\x82\xd3\xe4\x93\x02G\"B/v1beta/{service=projects/*/locations/*/services/*}:exportMetadata:\x01*\xca\x41\x41\n\x0eMetadataExport\x12/google.cloud.metastore.v1beta.OperationMetadata\x12\xfc\x01\n\x0eRestoreService\x12\x34.google.cloud.metastore.v1beta.RestoreServiceRequest\x1a\x1d.google.longrunning.Operation\"\x94\x01\x82\xd3\xe4\x93\x02@\";/v1beta/{service=projects/*/locations/*/services/*}:restore:\x01*\xda\x41\x0eservice,backup\xca\x41:\n\x07Restore\x12/google.cloud.metastore.v1beta.OperationMetadata\x12\xc1\x01\n\x0bListBackups\x12\x31.google.cloud.metastore.v1beta.ListBackupsRequest\x1a\x32.google.cloud.metastore.v1beta.ListBackupsResponse\"K\x82\xd3\xe4\x93\x02<\x12:/v1beta/{parent=projects/*/locations/*/services/*}/backups\xda\x41\x06parent\x12\xae\x01\n\tGetBackup\x12/.google.cloud.metastore.v1beta.GetBackupRequest\x1a%.google.cloud.metastore.v1beta.Backup\"I\x82\xd3\xe4\x93\x02<\x12:/v1beta/{name=projects/*/locations/*/services/*/backups/*}\xda\x41\x04name\x12\x84\x02\n\x0c\x43reateBackup\x12\x32.google.cloud.metastore.v1beta.CreateBackupRequest\x1a\x1d.google.longrunning.Operation\"\xa0\x01\x82\xd3\xe4\x93\x02\x44\":/v1beta/{parent=projects/*/locations/*/services/*}/backups:\x06\x62\x61\x63kup\xda\x41\x17parent,backup,backup_id\xca\x41\x39\n\x06\x42\x61\x63kup\x12/google.cloud.metastore.v1beta.OperationMetadata\x12\xf8\x01\n\x0c\x44\x65leteBackup\x12\x32.google.cloud.metastore.v1beta.DeleteBackupRequest\x1a\x1d.google.longrunning.Operation\"\x94\x01\x82\xd3\xe4\x93\x02<*:/v1beta/{name=projects/*/locations/*/services/*/backups/*}\xda\x41\x04name\xca\x41H\n\x15google.protobuf.Empty\x12/google.cloud.metastore.v1beta.OperationMetadata\x12\xd4\x01\n\x0fRemoveIamPolicy\x12\x35.google.cloud.metastore.v1beta.RemoveIamPolicyRequest\x1a\x36.google.cloud.metastore.v1beta.RemoveIamPolicyResponse\"R\x82\xd3\xe4\x93\x02L\"G/v1beta/{resource=projects/*/locations/*/services/*/**}:removeIamPolicy:\x01*\x12\xfd\x01\n\rQueryMetadata\x12\x33.google.cloud.metastore.v1beta.QueryMetadataRequest\x1a\x1d.google.longrunning.Operation\"\x97\x01\x82\xd3\xe4\x93\x02\x46\"A/v1beta/{service=projects/*/locations/*/services/*}:queryMetadata:\x01*\xca\x41H\n\x15QueryMetadataResponse\x12/google.cloud.metastore.v1beta.OperationMetadata\x12\x95\x02\n\x13MoveTableToDatabase\x12\x39.google.cloud.metastore.v1beta.MoveTableToDatabaseRequest\x1a\x1d.google.longrunning.Operation\"\xa3\x01\x82\xd3\xe4\x93\x02L\"G/v1beta/{service=projects/*/locations/*/services/*}:moveTableToDatabase:\x01*\xca\x41N\n\x1bMoveTableToDatabaseResponse\x12/google.cloud.metastore.v1beta.OperationMetadata\x12\xad\x02\n\x1d\x41lterMetadataResourceLocation\x12\x43.google.cloud.metastore.v1beta.AlterMetadataResourceLocationRequest\x1a\x1d.google.longrunning.Operation\"\xa7\x01\x82\xd3\xe4\x93\x02\x46\"A/v1beta/{service=projects/*/locations/*/services/*}:alterLocation:\x01*\xca\x41X\n%AlterMetadataResourceLocationResponse\x12/google.cloud.metastore.v1beta.OperationMetadata\x1aL\xca\x41\x18metastore.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xa2\x03\n!com.google.cloud.metastore.v1betaB\x0eMetastoreProtoP\x01Z?cloud.google.com/go/metastore/apiv1beta/metastorepb;metastorepb\xca\x02\x1dGoogle\\Cloud\\Metastore\\V1beta\xea\x41N\n\x1e\x63ompute.googleapis.com/Network\x12,projects/{project}/global/networks/{network}\xea\x41\x61\n!compute.googleapis.com/Subnetwork\x12<projects/{project}/regions/{region}/subnetworks/{subnetwork}\xea\x41T\n\x1c\x64\x61taplex.googleapis.com/Lake\x12\x34projects/{project}/locations/{location}/lakes/{lake}b\x06proto3"
|
20
20
|
|
21
21
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
22
22
|
|
@@ -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
|
@@ -404,6 +404,8 @@ module Google
|
|
404
404
|
end
|
405
405
|
|
406
406
|
# Network configuration for the Dataproc Metastore service.
|
407
|
+
#
|
408
|
+
# Next available ID: 4
|
407
409
|
# @!attribute [rw] consumers
|
408
410
|
# @return [::Array<::Google::Cloud::Metastore::V1beta::NetworkConfig::Consumer>]
|
409
411
|
# Immutable. The consumer-side network configuration for the Dataproc
|
@@ -417,6 +419,8 @@ module Google
|
|
417
419
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
418
420
|
|
419
421
|
# Contains information of the customer's network configurations.
|
422
|
+
#
|
423
|
+
# Next available ID: 5
|
420
424
|
# @!attribute [rw] subnetwork
|
421
425
|
# @return [::String]
|
422
426
|
# Immutable. The subnetwork of the customer project from which an IP
|
@@ -431,6 +435,10 @@ module Google
|
|
431
435
|
# @return [::String]
|
432
436
|
# Output only. The URI of the endpoint used to access the metastore
|
433
437
|
# service.
|
438
|
+
# @!attribute [r] endpoint_location
|
439
|
+
# @return [::String]
|
440
|
+
# Output only. The location of the endpoint URI. Format:
|
441
|
+
# `projects/{project}/locations/{location}`.
|
434
442
|
class Consumer
|
435
443
|
include ::Google::Protobuf::MessageExts
|
436
444
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
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.
|
4
|
+
version: 0.11.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-
|
11
|
+
date: 2023-09-29 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.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.
|
29
|
+
version: 0.20.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -275,7 +275,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
275
275
|
- !ruby/object:Gem::Version
|
276
276
|
version: '0'
|
277
277
|
requirements: []
|
278
|
-
rubygems_version: 3.4.
|
278
|
+
rubygems_version: 3.4.19
|
279
279
|
signing_key:
|
280
280
|
specification_version: 4
|
281
281
|
summary: The Dataproc Metastore API is used to manage the lifecycle and configuration
|