google-cloud-spanner-admin-database-v1 0.7.3 → 0.7.4
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/spanner/admin/database/v1/database_admin/client.rb +392 -51
- data/lib/google/cloud/spanner/admin/database/v1/database_admin/operations.rb +115 -12
- data/lib/google/cloud/spanner/admin/database/v1/version.rb +1 -1
- data/lib/google/spanner/admin/database/v1/backup_pb.rb +2 -2
- data/lib/google/spanner/admin/database/v1/common_pb.rb +2 -2
- data/lib/google/spanner/admin/database/v1/spanner_database_admin_pb.rb +2 -2
- data/lib/google/spanner/admin/database/v1/spanner_database_admin_services_pb.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7850a1030f9dc1f0b3a33740017a9e604c1703a83d3d44535f0511aa788aab52
|
4
|
+
data.tar.gz: 1d23ea38d3052035f60789383cb3e27bbfd86abe07ef7d467071cc6127a64c1b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 506f8c559aa0a749bbe2e1f6697d56271403c407055a9f9b7c07880133028c4023087559f2d0acedb1080b859448f0ee375ecbf931af95a45bf3769148132c8f
|
7
|
+
data.tar.gz: 6da0f55b46a7550ff59d9626a354cf49e3e8e2ea0777012bea3d9d3e7f1494f8486f04335f76c3068130135e367f207fb8698a967f631e63a5a7260ec2d87340
|
@@ -270,6 +270,27 @@ module Google
|
|
270
270
|
#
|
271
271
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
272
272
|
#
|
273
|
+
# @example Basic example
|
274
|
+
# require "google/cloud/spanner/admin/database/v1"
|
275
|
+
#
|
276
|
+
# # Create a client object. The client can be reused for multiple calls.
|
277
|
+
# client = Google::Cloud::Spanner::Admin::Database::V1::DatabaseAdmin::Client.new
|
278
|
+
#
|
279
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
280
|
+
# request = Google::Cloud::Spanner::Admin::Database::V1::ListDatabasesRequest.new
|
281
|
+
#
|
282
|
+
# # Call the list_databases method.
|
283
|
+
# result = client.list_databases request
|
284
|
+
#
|
285
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can
|
286
|
+
# # iterate over all elements by calling #each, and the enumerable
|
287
|
+
# # will lazily make API calls to fetch subsequent pages. Other
|
288
|
+
# # methods are also available for managing paging directly.
|
289
|
+
# result.each do |response|
|
290
|
+
# # Each element is of type ::Google::Cloud::Spanner::Admin::Database::V1::Database.
|
291
|
+
# p response
|
292
|
+
# end
|
293
|
+
#
|
273
294
|
def list_databases request, options = nil
|
274
295
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
275
296
|
|
@@ -287,9 +308,11 @@ module Google
|
|
287
308
|
gapic_version: ::Google::Cloud::Spanner::Admin::Database::V1::VERSION
|
288
309
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
289
310
|
|
290
|
-
header_params = {
|
291
|
-
|
292
|
-
|
311
|
+
header_params = {}
|
312
|
+
if request.parent
|
313
|
+
header_params["parent"] = request.parent
|
314
|
+
end
|
315
|
+
|
293
316
|
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
294
317
|
metadata[:"x-goog-request-params"] ||= request_params_header
|
295
318
|
|
@@ -362,6 +385,28 @@ module Google
|
|
362
385
|
#
|
363
386
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
364
387
|
#
|
388
|
+
# @example Basic example
|
389
|
+
# require "google/cloud/spanner/admin/database/v1"
|
390
|
+
#
|
391
|
+
# # Create a client object. The client can be reused for multiple calls.
|
392
|
+
# client = Google::Cloud::Spanner::Admin::Database::V1::DatabaseAdmin::Client.new
|
393
|
+
#
|
394
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
395
|
+
# request = Google::Cloud::Spanner::Admin::Database::V1::CreateDatabaseRequest.new
|
396
|
+
#
|
397
|
+
# # Call the create_database method.
|
398
|
+
# result = client.create_database request
|
399
|
+
#
|
400
|
+
# # The returned object is of type Gapic::Operation. You can use this
|
401
|
+
# # object to check the status of an operation, cancel it, or wait
|
402
|
+
# # for results. Here is how to block until completion:
|
403
|
+
# result.wait_until_done! timeout: 60
|
404
|
+
# if result.response?
|
405
|
+
# p result.response
|
406
|
+
# else
|
407
|
+
# puts "Error!"
|
408
|
+
# end
|
409
|
+
#
|
365
410
|
def create_database request, options = nil
|
366
411
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
367
412
|
|
@@ -379,9 +424,11 @@ module Google
|
|
379
424
|
gapic_version: ::Google::Cloud::Spanner::Admin::Database::V1::VERSION
|
380
425
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
381
426
|
|
382
|
-
header_params = {
|
383
|
-
|
384
|
-
|
427
|
+
header_params = {}
|
428
|
+
if request.parent
|
429
|
+
header_params["parent"] = request.parent
|
430
|
+
end
|
431
|
+
|
385
432
|
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
386
433
|
metadata[:"x-goog-request-params"] ||= request_params_header
|
387
434
|
|
@@ -432,6 +479,21 @@ module Google
|
|
432
479
|
#
|
433
480
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
434
481
|
#
|
482
|
+
# @example Basic example
|
483
|
+
# require "google/cloud/spanner/admin/database/v1"
|
484
|
+
#
|
485
|
+
# # Create a client object. The client can be reused for multiple calls.
|
486
|
+
# client = Google::Cloud::Spanner::Admin::Database::V1::DatabaseAdmin::Client.new
|
487
|
+
#
|
488
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
489
|
+
# request = Google::Cloud::Spanner::Admin::Database::V1::GetDatabaseRequest.new
|
490
|
+
#
|
491
|
+
# # Call the get_database method.
|
492
|
+
# result = client.get_database request
|
493
|
+
#
|
494
|
+
# # The returned object is of type Google::Cloud::Spanner::Admin::Database::V1::Database.
|
495
|
+
# p result
|
496
|
+
#
|
435
497
|
def get_database request, options = nil
|
436
498
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
437
499
|
|
@@ -449,9 +511,11 @@ module Google
|
|
449
511
|
gapic_version: ::Google::Cloud::Spanner::Admin::Database::V1::VERSION
|
450
512
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
451
513
|
|
452
|
-
header_params = {
|
453
|
-
|
454
|
-
|
514
|
+
header_params = {}
|
515
|
+
if request.name
|
516
|
+
header_params["name"] = request.name
|
517
|
+
end
|
518
|
+
|
455
519
|
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
456
520
|
metadata[:"x-goog-request-params"] ||= request_params_header
|
457
521
|
|
@@ -528,6 +592,28 @@ module Google
|
|
528
592
|
#
|
529
593
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
530
594
|
#
|
595
|
+
# @example Basic example
|
596
|
+
# require "google/cloud/spanner/admin/database/v1"
|
597
|
+
#
|
598
|
+
# # Create a client object. The client can be reused for multiple calls.
|
599
|
+
# client = Google::Cloud::Spanner::Admin::Database::V1::DatabaseAdmin::Client.new
|
600
|
+
#
|
601
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
602
|
+
# request = Google::Cloud::Spanner::Admin::Database::V1::UpdateDatabaseDdlRequest.new
|
603
|
+
#
|
604
|
+
# # Call the update_database_ddl method.
|
605
|
+
# result = client.update_database_ddl request
|
606
|
+
#
|
607
|
+
# # The returned object is of type Gapic::Operation. You can use this
|
608
|
+
# # object to check the status of an operation, cancel it, or wait
|
609
|
+
# # for results. Here is how to block until completion:
|
610
|
+
# result.wait_until_done! timeout: 60
|
611
|
+
# if result.response?
|
612
|
+
# p result.response
|
613
|
+
# else
|
614
|
+
# puts "Error!"
|
615
|
+
# end
|
616
|
+
#
|
531
617
|
def update_database_ddl request, options = nil
|
532
618
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
533
619
|
|
@@ -545,9 +631,11 @@ module Google
|
|
545
631
|
gapic_version: ::Google::Cloud::Spanner::Admin::Database::V1::VERSION
|
546
632
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
547
633
|
|
548
|
-
header_params = {
|
549
|
-
|
550
|
-
|
634
|
+
header_params = {}
|
635
|
+
if request.database
|
636
|
+
header_params["database"] = request.database
|
637
|
+
end
|
638
|
+
|
551
639
|
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
552
640
|
metadata[:"x-goog-request-params"] ||= request_params_header
|
553
641
|
|
@@ -599,6 +687,21 @@ module Google
|
|
599
687
|
#
|
600
688
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
601
689
|
#
|
690
|
+
# @example Basic example
|
691
|
+
# require "google/cloud/spanner/admin/database/v1"
|
692
|
+
#
|
693
|
+
# # Create a client object. The client can be reused for multiple calls.
|
694
|
+
# client = Google::Cloud::Spanner::Admin::Database::V1::DatabaseAdmin::Client.new
|
695
|
+
#
|
696
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
697
|
+
# request = Google::Cloud::Spanner::Admin::Database::V1::DropDatabaseRequest.new
|
698
|
+
#
|
699
|
+
# # Call the drop_database method.
|
700
|
+
# result = client.drop_database request
|
701
|
+
#
|
702
|
+
# # The returned object is of type Google::Protobuf::Empty.
|
703
|
+
# p result
|
704
|
+
#
|
602
705
|
def drop_database request, options = nil
|
603
706
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
604
707
|
|
@@ -616,9 +719,11 @@ module Google
|
|
616
719
|
gapic_version: ::Google::Cloud::Spanner::Admin::Database::V1::VERSION
|
617
720
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
618
721
|
|
619
|
-
header_params = {
|
620
|
-
|
621
|
-
|
722
|
+
header_params = {}
|
723
|
+
if request.database
|
724
|
+
header_params["database"] = request.database
|
725
|
+
end
|
726
|
+
|
622
727
|
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
623
728
|
metadata[:"x-goog-request-params"] ||= request_params_header
|
624
729
|
|
@@ -671,6 +776,21 @@ module Google
|
|
671
776
|
#
|
672
777
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
673
778
|
#
|
779
|
+
# @example Basic example
|
780
|
+
# require "google/cloud/spanner/admin/database/v1"
|
781
|
+
#
|
782
|
+
# # Create a client object. The client can be reused for multiple calls.
|
783
|
+
# client = Google::Cloud::Spanner::Admin::Database::V1::DatabaseAdmin::Client.new
|
784
|
+
#
|
785
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
786
|
+
# request = Google::Cloud::Spanner::Admin::Database::V1::GetDatabaseDdlRequest.new
|
787
|
+
#
|
788
|
+
# # Call the get_database_ddl method.
|
789
|
+
# result = client.get_database_ddl request
|
790
|
+
#
|
791
|
+
# # The returned object is of type Google::Cloud::Spanner::Admin::Database::V1::GetDatabaseDdlResponse.
|
792
|
+
# p result
|
793
|
+
#
|
674
794
|
def get_database_ddl request, options = nil
|
675
795
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
676
796
|
|
@@ -688,9 +808,11 @@ module Google
|
|
688
808
|
gapic_version: ::Google::Cloud::Spanner::Admin::Database::V1::VERSION
|
689
809
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
690
810
|
|
691
|
-
header_params = {
|
692
|
-
|
693
|
-
|
811
|
+
header_params = {}
|
812
|
+
if request.database
|
813
|
+
header_params["database"] = request.database
|
814
|
+
end
|
815
|
+
|
694
816
|
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
695
817
|
metadata[:"x-goog-request-params"] ||= request_params_header
|
696
818
|
|
@@ -751,6 +873,21 @@ module Google
|
|
751
873
|
#
|
752
874
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
753
875
|
#
|
876
|
+
# @example Basic example
|
877
|
+
# require "google/cloud/spanner/admin/database/v1"
|
878
|
+
#
|
879
|
+
# # Create a client object. The client can be reused for multiple calls.
|
880
|
+
# client = Google::Cloud::Spanner::Admin::Database::V1::DatabaseAdmin::Client.new
|
881
|
+
#
|
882
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
883
|
+
# request = Google::Iam::V1::SetIamPolicyRequest.new
|
884
|
+
#
|
885
|
+
# # Call the set_iam_policy method.
|
886
|
+
# result = client.set_iam_policy request
|
887
|
+
#
|
888
|
+
# # The returned object is of type Google::Iam::V1::Policy.
|
889
|
+
# p result
|
890
|
+
#
|
754
891
|
def set_iam_policy request, options = nil
|
755
892
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
756
893
|
|
@@ -768,9 +905,11 @@ module Google
|
|
768
905
|
gapic_version: ::Google::Cloud::Spanner::Admin::Database::V1::VERSION
|
769
906
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
770
907
|
|
771
|
-
header_params = {
|
772
|
-
|
773
|
-
|
908
|
+
header_params = {}
|
909
|
+
if request.resource
|
910
|
+
header_params["resource"] = request.resource
|
911
|
+
end
|
912
|
+
|
774
913
|
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
775
914
|
metadata[:"x-goog-request-params"] ||= request_params_header
|
776
915
|
|
@@ -830,6 +969,21 @@ module Google
|
|
830
969
|
#
|
831
970
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
832
971
|
#
|
972
|
+
# @example Basic example
|
973
|
+
# require "google/cloud/spanner/admin/database/v1"
|
974
|
+
#
|
975
|
+
# # Create a client object. The client can be reused for multiple calls.
|
976
|
+
# client = Google::Cloud::Spanner::Admin::Database::V1::DatabaseAdmin::Client.new
|
977
|
+
#
|
978
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
979
|
+
# request = Google::Iam::V1::GetIamPolicyRequest.new
|
980
|
+
#
|
981
|
+
# # Call the get_iam_policy method.
|
982
|
+
# result = client.get_iam_policy request
|
983
|
+
#
|
984
|
+
# # The returned object is of type Google::Iam::V1::Policy.
|
985
|
+
# p result
|
986
|
+
#
|
833
987
|
def get_iam_policy request, options = nil
|
834
988
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
835
989
|
|
@@ -847,9 +1001,11 @@ module Google
|
|
847
1001
|
gapic_version: ::Google::Cloud::Spanner::Admin::Database::V1::VERSION
|
848
1002
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
849
1003
|
|
850
|
-
header_params = {
|
851
|
-
|
852
|
-
|
1004
|
+
header_params = {}
|
1005
|
+
if request.resource
|
1006
|
+
header_params["resource"] = request.resource
|
1007
|
+
end
|
1008
|
+
|
853
1009
|
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
854
1010
|
metadata[:"x-goog-request-params"] ||= request_params_header
|
855
1011
|
|
@@ -913,6 +1069,21 @@ module Google
|
|
913
1069
|
#
|
914
1070
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
915
1071
|
#
|
1072
|
+
# @example Basic example
|
1073
|
+
# require "google/cloud/spanner/admin/database/v1"
|
1074
|
+
#
|
1075
|
+
# # Create a client object. The client can be reused for multiple calls.
|
1076
|
+
# client = Google::Cloud::Spanner::Admin::Database::V1::DatabaseAdmin::Client.new
|
1077
|
+
#
|
1078
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
1079
|
+
# request = Google::Iam::V1::TestIamPermissionsRequest.new
|
1080
|
+
#
|
1081
|
+
# # Call the test_iam_permissions method.
|
1082
|
+
# result = client.test_iam_permissions request
|
1083
|
+
#
|
1084
|
+
# # The returned object is of type Google::Iam::V1::TestIamPermissionsResponse.
|
1085
|
+
# p result
|
1086
|
+
#
|
916
1087
|
def test_iam_permissions request, options = nil
|
917
1088
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
918
1089
|
|
@@ -930,9 +1101,11 @@ module Google
|
|
930
1101
|
gapic_version: ::Google::Cloud::Spanner::Admin::Database::V1::VERSION
|
931
1102
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
932
1103
|
|
933
|
-
header_params = {
|
934
|
-
|
935
|
-
|
1104
|
+
header_params = {}
|
1105
|
+
if request.resource
|
1106
|
+
header_params["resource"] = request.resource
|
1107
|
+
end
|
1108
|
+
|
936
1109
|
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
937
1110
|
metadata[:"x-goog-request-params"] ||= request_params_header
|
938
1111
|
|
@@ -1009,6 +1182,28 @@ module Google
|
|
1009
1182
|
#
|
1010
1183
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
1011
1184
|
#
|
1185
|
+
# @example Basic example
|
1186
|
+
# require "google/cloud/spanner/admin/database/v1"
|
1187
|
+
#
|
1188
|
+
# # Create a client object. The client can be reused for multiple calls.
|
1189
|
+
# client = Google::Cloud::Spanner::Admin::Database::V1::DatabaseAdmin::Client.new
|
1190
|
+
#
|
1191
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
1192
|
+
# request = Google::Cloud::Spanner::Admin::Database::V1::CreateBackupRequest.new
|
1193
|
+
#
|
1194
|
+
# # Call the create_backup method.
|
1195
|
+
# result = client.create_backup request
|
1196
|
+
#
|
1197
|
+
# # The returned object is of type Gapic::Operation. You can use this
|
1198
|
+
# # object to check the status of an operation, cancel it, or wait
|
1199
|
+
# # for results. Here is how to block until completion:
|
1200
|
+
# result.wait_until_done! timeout: 60
|
1201
|
+
# if result.response?
|
1202
|
+
# p result.response
|
1203
|
+
# else
|
1204
|
+
# puts "Error!"
|
1205
|
+
# end
|
1206
|
+
#
|
1012
1207
|
def create_backup request, options = nil
|
1013
1208
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
1014
1209
|
|
@@ -1026,9 +1221,11 @@ module Google
|
|
1026
1221
|
gapic_version: ::Google::Cloud::Spanner::Admin::Database::V1::VERSION
|
1027
1222
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1028
1223
|
|
1029
|
-
header_params = {
|
1030
|
-
|
1031
|
-
|
1224
|
+
header_params = {}
|
1225
|
+
if request.parent
|
1226
|
+
header_params["parent"] = request.parent
|
1227
|
+
end
|
1228
|
+
|
1032
1229
|
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
1033
1230
|
metadata[:"x-goog-request-params"] ||= request_params_header
|
1034
1231
|
|
@@ -1080,6 +1277,21 @@ module Google
|
|
1080
1277
|
#
|
1081
1278
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
1082
1279
|
#
|
1280
|
+
# @example Basic example
|
1281
|
+
# require "google/cloud/spanner/admin/database/v1"
|
1282
|
+
#
|
1283
|
+
# # Create a client object. The client can be reused for multiple calls.
|
1284
|
+
# client = Google::Cloud::Spanner::Admin::Database::V1::DatabaseAdmin::Client.new
|
1285
|
+
#
|
1286
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
1287
|
+
# request = Google::Cloud::Spanner::Admin::Database::V1::GetBackupRequest.new
|
1288
|
+
#
|
1289
|
+
# # Call the get_backup method.
|
1290
|
+
# result = client.get_backup request
|
1291
|
+
#
|
1292
|
+
# # The returned object is of type Google::Cloud::Spanner::Admin::Database::V1::Backup.
|
1293
|
+
# p result
|
1294
|
+
#
|
1083
1295
|
def get_backup request, options = nil
|
1084
1296
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
1085
1297
|
|
@@ -1097,9 +1309,11 @@ module Google
|
|
1097
1309
|
gapic_version: ::Google::Cloud::Spanner::Admin::Database::V1::VERSION
|
1098
1310
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1099
1311
|
|
1100
|
-
header_params = {
|
1101
|
-
|
1102
|
-
|
1312
|
+
header_params = {}
|
1313
|
+
if request.name
|
1314
|
+
header_params["name"] = request.name
|
1315
|
+
end
|
1316
|
+
|
1103
1317
|
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
1104
1318
|
metadata[:"x-goog-request-params"] ||= request_params_header
|
1105
1319
|
|
@@ -1157,6 +1371,21 @@ module Google
|
|
1157
1371
|
#
|
1158
1372
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
1159
1373
|
#
|
1374
|
+
# @example Basic example
|
1375
|
+
# require "google/cloud/spanner/admin/database/v1"
|
1376
|
+
#
|
1377
|
+
# # Create a client object. The client can be reused for multiple calls.
|
1378
|
+
# client = Google::Cloud::Spanner::Admin::Database::V1::DatabaseAdmin::Client.new
|
1379
|
+
#
|
1380
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
1381
|
+
# request = Google::Cloud::Spanner::Admin::Database::V1::UpdateBackupRequest.new
|
1382
|
+
#
|
1383
|
+
# # Call the update_backup method.
|
1384
|
+
# result = client.update_backup request
|
1385
|
+
#
|
1386
|
+
# # The returned object is of type Google::Cloud::Spanner::Admin::Database::V1::Backup.
|
1387
|
+
# p result
|
1388
|
+
#
|
1160
1389
|
def update_backup request, options = nil
|
1161
1390
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
1162
1391
|
|
@@ -1174,9 +1403,11 @@ module Google
|
|
1174
1403
|
gapic_version: ::Google::Cloud::Spanner::Admin::Database::V1::VERSION
|
1175
1404
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1176
1405
|
|
1177
|
-
header_params = {
|
1178
|
-
|
1179
|
-
|
1406
|
+
header_params = {}
|
1407
|
+
if request.backup&.name
|
1408
|
+
header_params["backup.name"] = request.backup.name
|
1409
|
+
end
|
1410
|
+
|
1180
1411
|
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
1181
1412
|
metadata[:"x-goog-request-params"] ||= request_params_header
|
1182
1413
|
|
@@ -1227,6 +1458,21 @@ module Google
|
|
1227
1458
|
#
|
1228
1459
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
1229
1460
|
#
|
1461
|
+
# @example Basic example
|
1462
|
+
# require "google/cloud/spanner/admin/database/v1"
|
1463
|
+
#
|
1464
|
+
# # Create a client object. The client can be reused for multiple calls.
|
1465
|
+
# client = Google::Cloud::Spanner::Admin::Database::V1::DatabaseAdmin::Client.new
|
1466
|
+
#
|
1467
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
1468
|
+
# request = Google::Cloud::Spanner::Admin::Database::V1::DeleteBackupRequest.new
|
1469
|
+
#
|
1470
|
+
# # Call the delete_backup method.
|
1471
|
+
# result = client.delete_backup request
|
1472
|
+
#
|
1473
|
+
# # The returned object is of type Google::Protobuf::Empty.
|
1474
|
+
# p result
|
1475
|
+
#
|
1230
1476
|
def delete_backup request, options = nil
|
1231
1477
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
1232
1478
|
|
@@ -1244,9 +1490,11 @@ module Google
|
|
1244
1490
|
gapic_version: ::Google::Cloud::Spanner::Admin::Database::V1::VERSION
|
1245
1491
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1246
1492
|
|
1247
|
-
header_params = {
|
1248
|
-
|
1249
|
-
|
1493
|
+
header_params = {}
|
1494
|
+
if request.name
|
1495
|
+
header_params["name"] = request.name
|
1496
|
+
end
|
1497
|
+
|
1250
1498
|
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
1251
1499
|
metadata[:"x-goog-request-params"] ||= request_params_header
|
1252
1500
|
|
@@ -1342,6 +1590,27 @@ module Google
|
|
1342
1590
|
#
|
1343
1591
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
1344
1592
|
#
|
1593
|
+
# @example Basic example
|
1594
|
+
# require "google/cloud/spanner/admin/database/v1"
|
1595
|
+
#
|
1596
|
+
# # Create a client object. The client can be reused for multiple calls.
|
1597
|
+
# client = Google::Cloud::Spanner::Admin::Database::V1::DatabaseAdmin::Client.new
|
1598
|
+
#
|
1599
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
1600
|
+
# request = Google::Cloud::Spanner::Admin::Database::V1::ListBackupsRequest.new
|
1601
|
+
#
|
1602
|
+
# # Call the list_backups method.
|
1603
|
+
# result = client.list_backups request
|
1604
|
+
#
|
1605
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can
|
1606
|
+
# # iterate over all elements by calling #each, and the enumerable
|
1607
|
+
# # will lazily make API calls to fetch subsequent pages. Other
|
1608
|
+
# # methods are also available for managing paging directly.
|
1609
|
+
# result.each do |response|
|
1610
|
+
# # Each element is of type ::Google::Cloud::Spanner::Admin::Database::V1::Backup.
|
1611
|
+
# p response
|
1612
|
+
# end
|
1613
|
+
#
|
1345
1614
|
def list_backups request, options = nil
|
1346
1615
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
1347
1616
|
|
@@ -1359,9 +1628,11 @@ module Google
|
|
1359
1628
|
gapic_version: ::Google::Cloud::Spanner::Admin::Database::V1::VERSION
|
1360
1629
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1361
1630
|
|
1362
|
-
header_params = {
|
1363
|
-
|
1364
|
-
|
1631
|
+
header_params = {}
|
1632
|
+
if request.parent
|
1633
|
+
header_params["parent"] = request.parent
|
1634
|
+
end
|
1635
|
+
|
1365
1636
|
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
1366
1637
|
metadata[:"x-goog-request-params"] ||= request_params_header
|
1367
1638
|
|
@@ -1446,6 +1717,28 @@ module Google
|
|
1446
1717
|
#
|
1447
1718
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
1448
1719
|
#
|
1720
|
+
# @example Basic example
|
1721
|
+
# require "google/cloud/spanner/admin/database/v1"
|
1722
|
+
#
|
1723
|
+
# # Create a client object. The client can be reused for multiple calls.
|
1724
|
+
# client = Google::Cloud::Spanner::Admin::Database::V1::DatabaseAdmin::Client.new
|
1725
|
+
#
|
1726
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
1727
|
+
# request = Google::Cloud::Spanner::Admin::Database::V1::RestoreDatabaseRequest.new
|
1728
|
+
#
|
1729
|
+
# # Call the restore_database method.
|
1730
|
+
# result = client.restore_database request
|
1731
|
+
#
|
1732
|
+
# # The returned object is of type Gapic::Operation. You can use this
|
1733
|
+
# # object to check the status of an operation, cancel it, or wait
|
1734
|
+
# # for results. Here is how to block until completion:
|
1735
|
+
# result.wait_until_done! timeout: 60
|
1736
|
+
# if result.response?
|
1737
|
+
# p result.response
|
1738
|
+
# else
|
1739
|
+
# puts "Error!"
|
1740
|
+
# end
|
1741
|
+
#
|
1449
1742
|
def restore_database request, options = nil
|
1450
1743
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
1451
1744
|
|
@@ -1463,9 +1756,11 @@ module Google
|
|
1463
1756
|
gapic_version: ::Google::Cloud::Spanner::Admin::Database::V1::VERSION
|
1464
1757
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1465
1758
|
|
1466
|
-
header_params = {
|
1467
|
-
|
1468
|
-
|
1759
|
+
header_params = {}
|
1760
|
+
if request.parent
|
1761
|
+
header_params["parent"] = request.parent
|
1762
|
+
end
|
1763
|
+
|
1469
1764
|
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
1470
1765
|
metadata[:"x-goog-request-params"] ||= request_params_header
|
1471
1766
|
|
@@ -1572,6 +1867,27 @@ module Google
|
|
1572
1867
|
#
|
1573
1868
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
1574
1869
|
#
|
1870
|
+
# @example Basic example
|
1871
|
+
# require "google/cloud/spanner/admin/database/v1"
|
1872
|
+
#
|
1873
|
+
# # Create a client object. The client can be reused for multiple calls.
|
1874
|
+
# client = Google::Cloud::Spanner::Admin::Database::V1::DatabaseAdmin::Client.new
|
1875
|
+
#
|
1876
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
1877
|
+
# request = Google::Cloud::Spanner::Admin::Database::V1::ListDatabaseOperationsRequest.new
|
1878
|
+
#
|
1879
|
+
# # Call the list_database_operations method.
|
1880
|
+
# result = client.list_database_operations request
|
1881
|
+
#
|
1882
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can
|
1883
|
+
# # iterate over all elements by calling #each, and the enumerable
|
1884
|
+
# # will lazily make API calls to fetch subsequent pages. Other
|
1885
|
+
# # methods are also available for managing paging directly.
|
1886
|
+
# result.each do |response|
|
1887
|
+
# # Each element is of type ::Google::Longrunning::Operation.
|
1888
|
+
# p response
|
1889
|
+
# end
|
1890
|
+
#
|
1575
1891
|
def list_database_operations request, options = nil
|
1576
1892
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
1577
1893
|
|
@@ -1589,9 +1905,11 @@ module Google
|
|
1589
1905
|
gapic_version: ::Google::Cloud::Spanner::Admin::Database::V1::VERSION
|
1590
1906
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1591
1907
|
|
1592
|
-
header_params = {
|
1593
|
-
|
1594
|
-
|
1908
|
+
header_params = {}
|
1909
|
+
if request.parent
|
1910
|
+
header_params["parent"] = request.parent
|
1911
|
+
end
|
1912
|
+
|
1595
1913
|
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
1596
1914
|
metadata[:"x-goog-request-params"] ||= request_params_header
|
1597
1915
|
|
@@ -1699,6 +2017,27 @@ module Google
|
|
1699
2017
|
#
|
1700
2018
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
1701
2019
|
#
|
2020
|
+
# @example Basic example
|
2021
|
+
# require "google/cloud/spanner/admin/database/v1"
|
2022
|
+
#
|
2023
|
+
# # Create a client object. The client can be reused for multiple calls.
|
2024
|
+
# client = Google::Cloud::Spanner::Admin::Database::V1::DatabaseAdmin::Client.new
|
2025
|
+
#
|
2026
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
2027
|
+
# request = Google::Cloud::Spanner::Admin::Database::V1::ListBackupOperationsRequest.new
|
2028
|
+
#
|
2029
|
+
# # Call the list_backup_operations method.
|
2030
|
+
# result = client.list_backup_operations request
|
2031
|
+
#
|
2032
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can
|
2033
|
+
# # iterate over all elements by calling #each, and the enumerable
|
2034
|
+
# # will lazily make API calls to fetch subsequent pages. Other
|
2035
|
+
# # methods are also available for managing paging directly.
|
2036
|
+
# result.each do |response|
|
2037
|
+
# # Each element is of type ::Google::Longrunning::Operation.
|
2038
|
+
# p response
|
2039
|
+
# end
|
2040
|
+
#
|
1702
2041
|
def list_backup_operations request, options = nil
|
1703
2042
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
1704
2043
|
|
@@ -1716,9 +2055,11 @@ module Google
|
|
1716
2055
|
gapic_version: ::Google::Cloud::Spanner::Admin::Database::V1::VERSION
|
1717
2056
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1718
2057
|
|
1719
|
-
header_params = {
|
1720
|
-
|
1721
|
-
|
2058
|
+
header_params = {}
|
2059
|
+
if request.parent
|
2060
|
+
header_params["parent"] = request.parent
|
2061
|
+
end
|
2062
|
+
|
1722
2063
|
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
1723
2064
|
metadata[:"x-goog-request-params"] ||= request_params_header
|
1724
2065
|
|
@@ -145,6 +145,27 @@ module Google
|
|
145
145
|
#
|
146
146
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
147
147
|
#
|
148
|
+
# @example Basic example
|
149
|
+
# require "google/longrunning"
|
150
|
+
#
|
151
|
+
# # Create a client object. The client can be reused for multiple calls.
|
152
|
+
# client = Google::Longrunning::Operations::Client.new
|
153
|
+
#
|
154
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
155
|
+
# request = Google::Longrunning::ListOperationsRequest.new
|
156
|
+
#
|
157
|
+
# # Call the list_operations method.
|
158
|
+
# result = client.list_operations request
|
159
|
+
#
|
160
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can
|
161
|
+
# # iterate over all elements by calling #each, and the enumerable
|
162
|
+
# # will lazily make API calls to fetch subsequent pages. Other
|
163
|
+
# # methods are also available for managing paging directly.
|
164
|
+
# result.each do |response|
|
165
|
+
# # Each element is of type ::Google::Longrunning::Operation.
|
166
|
+
# p response
|
167
|
+
# end
|
168
|
+
#
|
148
169
|
def list_operations request, options = nil
|
149
170
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
150
171
|
|
@@ -162,9 +183,11 @@ module Google
|
|
162
183
|
gapic_version: ::Google::Cloud::Spanner::Admin::Database::V1::VERSION
|
163
184
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
164
185
|
|
165
|
-
header_params = {
|
166
|
-
|
167
|
-
|
186
|
+
header_params = {}
|
187
|
+
if request.name
|
188
|
+
header_params["name"] = request.name
|
189
|
+
end
|
190
|
+
|
168
191
|
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
169
192
|
metadata[:"x-goog-request-params"] ||= request_params_header
|
170
193
|
|
@@ -217,6 +240,28 @@ module Google
|
|
217
240
|
#
|
218
241
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
219
242
|
#
|
243
|
+
# @example Basic example
|
244
|
+
# require "google/longrunning"
|
245
|
+
#
|
246
|
+
# # Create a client object. The client can be reused for multiple calls.
|
247
|
+
# client = Google::Longrunning::Operations::Client.new
|
248
|
+
#
|
249
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
250
|
+
# request = Google::Longrunning::GetOperationRequest.new
|
251
|
+
#
|
252
|
+
# # Call the get_operation method.
|
253
|
+
# result = client.get_operation request
|
254
|
+
#
|
255
|
+
# # The returned object is of type Gapic::Operation. You can use this
|
256
|
+
# # object to check the status of an operation, cancel it, or wait
|
257
|
+
# # for results. Here is how to block until completion:
|
258
|
+
# result.wait_until_done! timeout: 60
|
259
|
+
# if result.response?
|
260
|
+
# p result.response
|
261
|
+
# else
|
262
|
+
# puts "Error!"
|
263
|
+
# end
|
264
|
+
#
|
220
265
|
def get_operation request, options = nil
|
221
266
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
222
267
|
|
@@ -234,9 +279,11 @@ module Google
|
|
234
279
|
gapic_version: ::Google::Cloud::Spanner::Admin::Database::V1::VERSION
|
235
280
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
236
281
|
|
237
|
-
header_params = {
|
238
|
-
|
239
|
-
|
282
|
+
header_params = {}
|
283
|
+
if request.name
|
284
|
+
header_params["name"] = request.name
|
285
|
+
end
|
286
|
+
|
240
287
|
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
241
288
|
metadata[:"x-goog-request-params"] ||= request_params_header
|
242
289
|
|
@@ -289,6 +336,21 @@ module Google
|
|
289
336
|
#
|
290
337
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
291
338
|
#
|
339
|
+
# @example Basic example
|
340
|
+
# require "google/longrunning"
|
341
|
+
#
|
342
|
+
# # Create a client object. The client can be reused for multiple calls.
|
343
|
+
# client = Google::Longrunning::Operations::Client.new
|
344
|
+
#
|
345
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
346
|
+
# request = Google::Longrunning::DeleteOperationRequest.new
|
347
|
+
#
|
348
|
+
# # Call the delete_operation method.
|
349
|
+
# result = client.delete_operation request
|
350
|
+
#
|
351
|
+
# # The returned object is of type Google::Protobuf::Empty.
|
352
|
+
# p result
|
353
|
+
#
|
292
354
|
def delete_operation request, options = nil
|
293
355
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
294
356
|
|
@@ -306,9 +368,11 @@ module Google
|
|
306
368
|
gapic_version: ::Google::Cloud::Spanner::Admin::Database::V1::VERSION
|
307
369
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
308
370
|
|
309
|
-
header_params = {
|
310
|
-
|
311
|
-
|
371
|
+
header_params = {}
|
372
|
+
if request.name
|
373
|
+
header_params["name"] = request.name
|
374
|
+
end
|
375
|
+
|
312
376
|
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
313
377
|
metadata[:"x-goog-request-params"] ||= request_params_header
|
314
378
|
|
@@ -366,6 +430,21 @@ module Google
|
|
366
430
|
#
|
367
431
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
368
432
|
#
|
433
|
+
# @example Basic example
|
434
|
+
# require "google/longrunning"
|
435
|
+
#
|
436
|
+
# # Create a client object. The client can be reused for multiple calls.
|
437
|
+
# client = Google::Longrunning::Operations::Client.new
|
438
|
+
#
|
439
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
440
|
+
# request = Google::Longrunning::CancelOperationRequest.new
|
441
|
+
#
|
442
|
+
# # Call the cancel_operation method.
|
443
|
+
# result = client.cancel_operation request
|
444
|
+
#
|
445
|
+
# # The returned object is of type Google::Protobuf::Empty.
|
446
|
+
# p result
|
447
|
+
#
|
369
448
|
def cancel_operation request, options = nil
|
370
449
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
371
450
|
|
@@ -383,9 +462,11 @@ module Google
|
|
383
462
|
gapic_version: ::Google::Cloud::Spanner::Admin::Database::V1::VERSION
|
384
463
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
385
464
|
|
386
|
-
header_params = {
|
387
|
-
|
388
|
-
|
465
|
+
header_params = {}
|
466
|
+
if request.name
|
467
|
+
header_params["name"] = request.name
|
468
|
+
end
|
469
|
+
|
389
470
|
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
390
471
|
metadata[:"x-goog-request-params"] ||= request_params_header
|
391
472
|
|
@@ -446,6 +527,28 @@ module Google
|
|
446
527
|
#
|
447
528
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
448
529
|
#
|
530
|
+
# @example Basic example
|
531
|
+
# require "google/longrunning"
|
532
|
+
#
|
533
|
+
# # Create a client object. The client can be reused for multiple calls.
|
534
|
+
# client = Google::Longrunning::Operations::Client.new
|
535
|
+
#
|
536
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
537
|
+
# request = Google::Longrunning::WaitOperationRequest.new
|
538
|
+
#
|
539
|
+
# # Call the wait_operation method.
|
540
|
+
# result = client.wait_operation request
|
541
|
+
#
|
542
|
+
# # The returned object is of type Gapic::Operation. You can use this
|
543
|
+
# # object to check the status of an operation, cancel it, or wait
|
544
|
+
# # for results. Here is how to block until completion:
|
545
|
+
# result.wait_until_done! timeout: 60
|
546
|
+
# if result.response?
|
547
|
+
# p result.response
|
548
|
+
# else
|
549
|
+
# puts "Error!"
|
550
|
+
# end
|
551
|
+
#
|
449
552
|
def wait_operation request, options = nil
|
450
553
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
451
554
|
|
@@ -1,8 +1,6 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/spanner/admin/database/v1/backup.proto
|
3
3
|
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
4
|
require 'google/api/field_behavior_pb'
|
7
5
|
require 'google/api/resource_pb'
|
8
6
|
require 'google/longrunning/operations_pb'
|
@@ -10,6 +8,8 @@ require 'google/protobuf/field_mask_pb'
|
|
10
8
|
require 'google/protobuf/timestamp_pb'
|
11
9
|
require 'google/spanner/admin/database/v1/common_pb'
|
12
10
|
require 'google/api/annotations_pb'
|
11
|
+
require 'google/protobuf'
|
12
|
+
|
13
13
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
14
14
|
add_file("google/spanner/admin/database/v1/backup.proto", :syntax => :proto3) do
|
15
15
|
add_message "google.spanner.admin.database.v1.Backup" do
|
@@ -1,13 +1,13 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/spanner/admin/database/v1/common.proto
|
3
3
|
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
4
|
require 'google/api/field_behavior_pb'
|
7
5
|
require 'google/api/resource_pb'
|
8
6
|
require 'google/protobuf/timestamp_pb'
|
9
7
|
require 'google/rpc/status_pb'
|
10
8
|
require 'google/api/annotations_pb'
|
9
|
+
require 'google/protobuf'
|
10
|
+
|
11
11
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
12
12
|
add_file("google/spanner/admin/database/v1/common.proto", :syntax => :proto3) do
|
13
13
|
add_message "google.spanner.admin.database.v1.OperationProgress" do
|
@@ -1,8 +1,6 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/spanner/admin/database/v1/spanner_database_admin.proto
|
3
3
|
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
4
|
require 'google/api/annotations_pb'
|
7
5
|
require 'google/api/client_pb'
|
8
6
|
require 'google/api/field_behavior_pb'
|
@@ -14,6 +12,8 @@ require 'google/protobuf/empty_pb'
|
|
14
12
|
require 'google/protobuf/timestamp_pb'
|
15
13
|
require 'google/spanner/admin/database/v1/backup_pb'
|
16
14
|
require 'google/spanner/admin/database/v1/common_pb'
|
15
|
+
require 'google/protobuf'
|
16
|
+
|
17
17
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
18
18
|
add_file("google/spanner/admin/database/v1/spanner_database_admin.proto", :syntax => :proto3) do
|
19
19
|
add_message "google.spanner.admin.database.v1.RestoreInfo" do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-spanner-admin-database-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-08
|
11
|
+
date: 2021-11-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|