google-cloud-alloy_db-v1 0.3.0 → 0.5.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/alloy_db/v1/alloy_db_admin/client.rb +10 -1
- data/lib/google/cloud/alloy_db/v1/alloy_db_admin/operations.rb +10 -1
- data/lib/google/cloud/alloy_db/v1/alloy_db_admin/rest/client.rb +603 -0
- data/lib/google/cloud/alloy_db/v1/alloy_db_admin/rest/operations.rb +75 -0
- data/lib/google/cloud/alloy_db/v1/version.rb +1 -1
- data/lib/google/cloud/alloydb/v1/resources_pb.rb +4 -1
- data/proto_docs/google/api/field_behavior.rb +14 -0
- data/proto_docs/google/cloud/alloydb/v1/resources.rb +87 -9
- 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: 666c7f5b014838c0e1ca771340df119d8fe9c06c9c249fd92ca6c77ecd01109f
|
4
|
+
data.tar.gz: 03155a639386e64bc74c387195ae3bea6a47221749a714563b17f42228cb5729
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d90b57f676824f2ca13b9dae74e5f5090745808bb392512fb2f2fc374dd78041e12153d2876be3d91b3be0274106f6e3542076dc9398555ae38bf74bc68e7d7e
|
7
|
+
data.tar.gz: 72e1c62a04f88eb85fc2ab4a7a1179984ba02160669551bb5c5ef38565ca4667113ed023f0bfb5473a913c3a506777789a25862a256c427e813ae6fb47a8f2cb
|
@@ -195,7 +195,8 @@ module Google
|
|
195
195
|
credentials: credentials,
|
196
196
|
endpoint: @config.endpoint,
|
197
197
|
channel_args: @config.channel_args,
|
198
|
-
interceptors: @config.interceptors
|
198
|
+
interceptors: @config.interceptors,
|
199
|
+
channel_pool_config: @config.channel_pool
|
199
200
|
)
|
200
201
|
end
|
201
202
|
|
@@ -3497,6 +3498,14 @@ module Google
|
|
3497
3498
|
end
|
3498
3499
|
end
|
3499
3500
|
|
3501
|
+
##
|
3502
|
+
# Configuration for the channel pool
|
3503
|
+
# @return [::Gapic::ServiceStub::ChannelPool::Configuration]
|
3504
|
+
#
|
3505
|
+
def channel_pool
|
3506
|
+
@channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
|
3507
|
+
end
|
3508
|
+
|
3500
3509
|
##
|
3501
3510
|
# Configuration RPC class for the AlloyDBAdmin API.
|
3502
3511
|
#
|
@@ -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
|
#
|
@@ -253,6 +253,26 @@ module Google
|
|
253
253
|
# @return [::Google::Cloud::AlloyDB::V1::ListClustersResponse]
|
254
254
|
#
|
255
255
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
256
|
+
#
|
257
|
+
# @example Basic example
|
258
|
+
# require "google/cloud/alloy_db/v1"
|
259
|
+
#
|
260
|
+
# # Create a client object. The client can be reused for multiple calls.
|
261
|
+
# client = Google::Cloud::AlloyDB::V1::AlloyDBAdmin::Rest::Client.new
|
262
|
+
#
|
263
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
264
|
+
# request = Google::Cloud::AlloyDB::V1::ListClustersRequest.new
|
265
|
+
#
|
266
|
+
# # Call the list_clusters method.
|
267
|
+
# result = client.list_clusters request
|
268
|
+
#
|
269
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
270
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
271
|
+
# result.each do |item|
|
272
|
+
# # Each element is of type ::Google::Cloud::AlloyDB::V1::Cluster.
|
273
|
+
# p item
|
274
|
+
# end
|
275
|
+
#
|
256
276
|
def list_clusters request, options = nil
|
257
277
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
258
278
|
|
@@ -319,6 +339,22 @@ module Google
|
|
319
339
|
# @return [::Google::Cloud::AlloyDB::V1::Cluster]
|
320
340
|
#
|
321
341
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
342
|
+
#
|
343
|
+
# @example Basic example
|
344
|
+
# require "google/cloud/alloy_db/v1"
|
345
|
+
#
|
346
|
+
# # Create a client object. The client can be reused for multiple calls.
|
347
|
+
# client = Google::Cloud::AlloyDB::V1::AlloyDBAdmin::Rest::Client.new
|
348
|
+
#
|
349
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
350
|
+
# request = Google::Cloud::AlloyDB::V1::GetClusterRequest.new
|
351
|
+
#
|
352
|
+
# # Call the get_cluster method.
|
353
|
+
# result = client.get_cluster request
|
354
|
+
#
|
355
|
+
# # The returned object is of type Google::Cloud::AlloyDB::V1::Cluster.
|
356
|
+
# p result
|
357
|
+
#
|
322
358
|
def get_cluster request, options = nil
|
323
359
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
324
360
|
|
@@ -404,6 +440,29 @@ module Google
|
|
404
440
|
# @return [::Gapic::Operation]
|
405
441
|
#
|
406
442
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
443
|
+
#
|
444
|
+
# @example Basic example
|
445
|
+
# require "google/cloud/alloy_db/v1"
|
446
|
+
#
|
447
|
+
# # Create a client object. The client can be reused for multiple calls.
|
448
|
+
# client = Google::Cloud::AlloyDB::V1::AlloyDBAdmin::Rest::Client.new
|
449
|
+
#
|
450
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
451
|
+
# request = Google::Cloud::AlloyDB::V1::CreateClusterRequest.new
|
452
|
+
#
|
453
|
+
# # Call the create_cluster method.
|
454
|
+
# result = client.create_cluster request
|
455
|
+
#
|
456
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
457
|
+
# # check the status of an operation, cancel it, or wait for results.
|
458
|
+
# # Here is how to wait for a response.
|
459
|
+
# result.wait_until_done! timeout: 60
|
460
|
+
# if result.response?
|
461
|
+
# p result.response
|
462
|
+
# else
|
463
|
+
# puts "No response received."
|
464
|
+
# end
|
465
|
+
#
|
407
466
|
def create_cluster request, options = nil
|
408
467
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
409
468
|
|
@@ -494,6 +553,29 @@ module Google
|
|
494
553
|
# @return [::Gapic::Operation]
|
495
554
|
#
|
496
555
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
556
|
+
#
|
557
|
+
# @example Basic example
|
558
|
+
# require "google/cloud/alloy_db/v1"
|
559
|
+
#
|
560
|
+
# # Create a client object. The client can be reused for multiple calls.
|
561
|
+
# client = Google::Cloud::AlloyDB::V1::AlloyDBAdmin::Rest::Client.new
|
562
|
+
#
|
563
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
564
|
+
# request = Google::Cloud::AlloyDB::V1::UpdateClusterRequest.new
|
565
|
+
#
|
566
|
+
# # Call the update_cluster method.
|
567
|
+
# result = client.update_cluster request
|
568
|
+
#
|
569
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
570
|
+
# # check the status of an operation, cancel it, or wait for results.
|
571
|
+
# # Here is how to wait for a response.
|
572
|
+
# result.wait_until_done! timeout: 60
|
573
|
+
# if result.response?
|
574
|
+
# p result.response
|
575
|
+
# else
|
576
|
+
# puts "No response received."
|
577
|
+
# end
|
578
|
+
#
|
497
579
|
def update_cluster request, options = nil
|
498
580
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
499
581
|
|
@@ -581,6 +663,29 @@ module Google
|
|
581
663
|
# @return [::Gapic::Operation]
|
582
664
|
#
|
583
665
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
666
|
+
#
|
667
|
+
# @example Basic example
|
668
|
+
# require "google/cloud/alloy_db/v1"
|
669
|
+
#
|
670
|
+
# # Create a client object. The client can be reused for multiple calls.
|
671
|
+
# client = Google::Cloud::AlloyDB::V1::AlloyDBAdmin::Rest::Client.new
|
672
|
+
#
|
673
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
674
|
+
# request = Google::Cloud::AlloyDB::V1::DeleteClusterRequest.new
|
675
|
+
#
|
676
|
+
# # Call the delete_cluster method.
|
677
|
+
# result = client.delete_cluster request
|
678
|
+
#
|
679
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
680
|
+
# # check the status of an operation, cancel it, or wait for results.
|
681
|
+
# # Here is how to wait for a response.
|
682
|
+
# result.wait_until_done! timeout: 60
|
683
|
+
# if result.response?
|
684
|
+
# p result.response
|
685
|
+
# else
|
686
|
+
# puts "No response received."
|
687
|
+
# end
|
688
|
+
#
|
584
689
|
def delete_cluster request, options = nil
|
585
690
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
586
691
|
|
@@ -669,6 +774,29 @@ module Google
|
|
669
774
|
# @return [::Gapic::Operation]
|
670
775
|
#
|
671
776
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
777
|
+
#
|
778
|
+
# @example Basic example
|
779
|
+
# require "google/cloud/alloy_db/v1"
|
780
|
+
#
|
781
|
+
# # Create a client object. The client can be reused for multiple calls.
|
782
|
+
# client = Google::Cloud::AlloyDB::V1::AlloyDBAdmin::Rest::Client.new
|
783
|
+
#
|
784
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
785
|
+
# request = Google::Cloud::AlloyDB::V1::PromoteClusterRequest.new
|
786
|
+
#
|
787
|
+
# # Call the promote_cluster method.
|
788
|
+
# result = client.promote_cluster request
|
789
|
+
#
|
790
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
791
|
+
# # check the status of an operation, cancel it, or wait for results.
|
792
|
+
# # Here is how to wait for a response.
|
793
|
+
# result.wait_until_done! timeout: 60
|
794
|
+
# if result.response?
|
795
|
+
# p result.response
|
796
|
+
# else
|
797
|
+
# puts "No response received."
|
798
|
+
# end
|
799
|
+
#
|
672
800
|
def promote_cluster request, options = nil
|
673
801
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
674
802
|
|
@@ -762,6 +890,29 @@ module Google
|
|
762
890
|
# @return [::Gapic::Operation]
|
763
891
|
#
|
764
892
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
893
|
+
#
|
894
|
+
# @example Basic example
|
895
|
+
# require "google/cloud/alloy_db/v1"
|
896
|
+
#
|
897
|
+
# # Create a client object. The client can be reused for multiple calls.
|
898
|
+
# client = Google::Cloud::AlloyDB::V1::AlloyDBAdmin::Rest::Client.new
|
899
|
+
#
|
900
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
901
|
+
# request = Google::Cloud::AlloyDB::V1::RestoreClusterRequest.new
|
902
|
+
#
|
903
|
+
# # Call the restore_cluster method.
|
904
|
+
# result = client.restore_cluster request
|
905
|
+
#
|
906
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
907
|
+
# # check the status of an operation, cancel it, or wait for results.
|
908
|
+
# # Here is how to wait for a response.
|
909
|
+
# result.wait_until_done! timeout: 60
|
910
|
+
# if result.response?
|
911
|
+
# p result.response
|
912
|
+
# else
|
913
|
+
# puts "No response received."
|
914
|
+
# end
|
915
|
+
#
|
765
916
|
def restore_cluster request, options = nil
|
766
917
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
767
918
|
|
@@ -849,6 +1000,29 @@ module Google
|
|
849
1000
|
# @return [::Gapic::Operation]
|
850
1001
|
#
|
851
1002
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
1003
|
+
#
|
1004
|
+
# @example Basic example
|
1005
|
+
# require "google/cloud/alloy_db/v1"
|
1006
|
+
#
|
1007
|
+
# # Create a client object. The client can be reused for multiple calls.
|
1008
|
+
# client = Google::Cloud::AlloyDB::V1::AlloyDBAdmin::Rest::Client.new
|
1009
|
+
#
|
1010
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
1011
|
+
# request = Google::Cloud::AlloyDB::V1::CreateSecondaryClusterRequest.new
|
1012
|
+
#
|
1013
|
+
# # Call the create_secondary_cluster method.
|
1014
|
+
# result = client.create_secondary_cluster request
|
1015
|
+
#
|
1016
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
1017
|
+
# # check the status of an operation, cancel it, or wait for results.
|
1018
|
+
# # Here is how to wait for a response.
|
1019
|
+
# result.wait_until_done! timeout: 60
|
1020
|
+
# if result.response?
|
1021
|
+
# p result.response
|
1022
|
+
# else
|
1023
|
+
# puts "No response received."
|
1024
|
+
# end
|
1025
|
+
#
|
852
1026
|
def create_secondary_cluster request, options = nil
|
853
1027
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
854
1028
|
|
@@ -926,6 +1100,26 @@ module Google
|
|
926
1100
|
# @return [::Google::Cloud::AlloyDB::V1::ListInstancesResponse]
|
927
1101
|
#
|
928
1102
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
1103
|
+
#
|
1104
|
+
# @example Basic example
|
1105
|
+
# require "google/cloud/alloy_db/v1"
|
1106
|
+
#
|
1107
|
+
# # Create a client object. The client can be reused for multiple calls.
|
1108
|
+
# client = Google::Cloud::AlloyDB::V1::AlloyDBAdmin::Rest::Client.new
|
1109
|
+
#
|
1110
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
1111
|
+
# request = Google::Cloud::AlloyDB::V1::ListInstancesRequest.new
|
1112
|
+
#
|
1113
|
+
# # Call the list_instances method.
|
1114
|
+
# result = client.list_instances request
|
1115
|
+
#
|
1116
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
1117
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
1118
|
+
# result.each do |item|
|
1119
|
+
# # Each element is of type ::Google::Cloud::AlloyDB::V1::Instance.
|
1120
|
+
# p item
|
1121
|
+
# end
|
1122
|
+
#
|
929
1123
|
def list_instances request, options = nil
|
930
1124
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
931
1125
|
|
@@ -991,6 +1185,22 @@ module Google
|
|
991
1185
|
# @return [::Google::Cloud::AlloyDB::V1::Instance]
|
992
1186
|
#
|
993
1187
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
1188
|
+
#
|
1189
|
+
# @example Basic example
|
1190
|
+
# require "google/cloud/alloy_db/v1"
|
1191
|
+
#
|
1192
|
+
# # Create a client object. The client can be reused for multiple calls.
|
1193
|
+
# client = Google::Cloud::AlloyDB::V1::AlloyDBAdmin::Rest::Client.new
|
1194
|
+
#
|
1195
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
1196
|
+
# request = Google::Cloud::AlloyDB::V1::GetInstanceRequest.new
|
1197
|
+
#
|
1198
|
+
# # Call the get_instance method.
|
1199
|
+
# result = client.get_instance request
|
1200
|
+
#
|
1201
|
+
# # The returned object is of type Google::Cloud::AlloyDB::V1::Instance.
|
1202
|
+
# p result
|
1203
|
+
#
|
994
1204
|
def get_instance request, options = nil
|
995
1205
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
996
1206
|
|
@@ -1076,6 +1286,29 @@ module Google
|
|
1076
1286
|
# @return [::Gapic::Operation]
|
1077
1287
|
#
|
1078
1288
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
1289
|
+
#
|
1290
|
+
# @example Basic example
|
1291
|
+
# require "google/cloud/alloy_db/v1"
|
1292
|
+
#
|
1293
|
+
# # Create a client object. The client can be reused for multiple calls.
|
1294
|
+
# client = Google::Cloud::AlloyDB::V1::AlloyDBAdmin::Rest::Client.new
|
1295
|
+
#
|
1296
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
1297
|
+
# request = Google::Cloud::AlloyDB::V1::CreateInstanceRequest.new
|
1298
|
+
#
|
1299
|
+
# # Call the create_instance method.
|
1300
|
+
# result = client.create_instance request
|
1301
|
+
#
|
1302
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
1303
|
+
# # check the status of an operation, cancel it, or wait for results.
|
1304
|
+
# # Here is how to wait for a response.
|
1305
|
+
# result.wait_until_done! timeout: 60
|
1306
|
+
# if result.response?
|
1307
|
+
# p result.response
|
1308
|
+
# else
|
1309
|
+
# puts "No response received."
|
1310
|
+
# end
|
1311
|
+
#
|
1079
1312
|
def create_instance request, options = nil
|
1080
1313
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
1081
1314
|
|
@@ -1162,6 +1395,29 @@ module Google
|
|
1162
1395
|
# @return [::Gapic::Operation]
|
1163
1396
|
#
|
1164
1397
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
1398
|
+
#
|
1399
|
+
# @example Basic example
|
1400
|
+
# require "google/cloud/alloy_db/v1"
|
1401
|
+
#
|
1402
|
+
# # Create a client object. The client can be reused for multiple calls.
|
1403
|
+
# client = Google::Cloud::AlloyDB::V1::AlloyDBAdmin::Rest::Client.new
|
1404
|
+
#
|
1405
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
1406
|
+
# request = Google::Cloud::AlloyDB::V1::CreateSecondaryInstanceRequest.new
|
1407
|
+
#
|
1408
|
+
# # Call the create_secondary_instance method.
|
1409
|
+
# result = client.create_secondary_instance request
|
1410
|
+
#
|
1411
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
1412
|
+
# # check the status of an operation, cancel it, or wait for results.
|
1413
|
+
# # Here is how to wait for a response.
|
1414
|
+
# result.wait_until_done! timeout: 60
|
1415
|
+
# if result.response?
|
1416
|
+
# p result.response
|
1417
|
+
# else
|
1418
|
+
# puts "No response received."
|
1419
|
+
# end
|
1420
|
+
#
|
1165
1421
|
def create_secondary_instance request, options = nil
|
1166
1422
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
1167
1423
|
|
@@ -1250,6 +1506,29 @@ module Google
|
|
1250
1506
|
# @return [::Gapic::Operation]
|
1251
1507
|
#
|
1252
1508
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
1509
|
+
#
|
1510
|
+
# @example Basic example
|
1511
|
+
# require "google/cloud/alloy_db/v1"
|
1512
|
+
#
|
1513
|
+
# # Create a client object. The client can be reused for multiple calls.
|
1514
|
+
# client = Google::Cloud::AlloyDB::V1::AlloyDBAdmin::Rest::Client.new
|
1515
|
+
#
|
1516
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
1517
|
+
# request = Google::Cloud::AlloyDB::V1::BatchCreateInstancesRequest.new
|
1518
|
+
#
|
1519
|
+
# # Call the batch_create_instances method.
|
1520
|
+
# result = client.batch_create_instances request
|
1521
|
+
#
|
1522
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
1523
|
+
# # check the status of an operation, cancel it, or wait for results.
|
1524
|
+
# # Here is how to wait for a response.
|
1525
|
+
# result.wait_until_done! timeout: 60
|
1526
|
+
# if result.response?
|
1527
|
+
# p result.response
|
1528
|
+
# else
|
1529
|
+
# puts "No response received."
|
1530
|
+
# end
|
1531
|
+
#
|
1253
1532
|
def batch_create_instances request, options = nil
|
1254
1533
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
1255
1534
|
|
@@ -1340,6 +1619,29 @@ module Google
|
|
1340
1619
|
# @return [::Gapic::Operation]
|
1341
1620
|
#
|
1342
1621
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
1622
|
+
#
|
1623
|
+
# @example Basic example
|
1624
|
+
# require "google/cloud/alloy_db/v1"
|
1625
|
+
#
|
1626
|
+
# # Create a client object. The client can be reused for multiple calls.
|
1627
|
+
# client = Google::Cloud::AlloyDB::V1::AlloyDBAdmin::Rest::Client.new
|
1628
|
+
#
|
1629
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
1630
|
+
# request = Google::Cloud::AlloyDB::V1::UpdateInstanceRequest.new
|
1631
|
+
#
|
1632
|
+
# # Call the update_instance method.
|
1633
|
+
# result = client.update_instance request
|
1634
|
+
#
|
1635
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
1636
|
+
# # check the status of an operation, cancel it, or wait for results.
|
1637
|
+
# # Here is how to wait for a response.
|
1638
|
+
# result.wait_until_done! timeout: 60
|
1639
|
+
# if result.response?
|
1640
|
+
# p result.response
|
1641
|
+
# else
|
1642
|
+
# puts "No response received."
|
1643
|
+
# end
|
1644
|
+
#
|
1343
1645
|
def update_instance request, options = nil
|
1344
1646
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
1345
1647
|
|
@@ -1425,6 +1727,29 @@ module Google
|
|
1425
1727
|
# @return [::Gapic::Operation]
|
1426
1728
|
#
|
1427
1729
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
1730
|
+
#
|
1731
|
+
# @example Basic example
|
1732
|
+
# require "google/cloud/alloy_db/v1"
|
1733
|
+
#
|
1734
|
+
# # Create a client object. The client can be reused for multiple calls.
|
1735
|
+
# client = Google::Cloud::AlloyDB::V1::AlloyDBAdmin::Rest::Client.new
|
1736
|
+
#
|
1737
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
1738
|
+
# request = Google::Cloud::AlloyDB::V1::DeleteInstanceRequest.new
|
1739
|
+
#
|
1740
|
+
# # Call the delete_instance method.
|
1741
|
+
# result = client.delete_instance request
|
1742
|
+
#
|
1743
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
1744
|
+
# # check the status of an operation, cancel it, or wait for results.
|
1745
|
+
# # Here is how to wait for a response.
|
1746
|
+
# result.wait_until_done! timeout: 60
|
1747
|
+
# if result.response?
|
1748
|
+
# p result.response
|
1749
|
+
# else
|
1750
|
+
# puts "No response received."
|
1751
|
+
# end
|
1752
|
+
#
|
1428
1753
|
def delete_instance request, options = nil
|
1429
1754
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
1430
1755
|
|
@@ -1508,6 +1833,29 @@ module Google
|
|
1508
1833
|
# @return [::Gapic::Operation]
|
1509
1834
|
#
|
1510
1835
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
1836
|
+
#
|
1837
|
+
# @example Basic example
|
1838
|
+
# require "google/cloud/alloy_db/v1"
|
1839
|
+
#
|
1840
|
+
# # Create a client object. The client can be reused for multiple calls.
|
1841
|
+
# client = Google::Cloud::AlloyDB::V1::AlloyDBAdmin::Rest::Client.new
|
1842
|
+
#
|
1843
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
1844
|
+
# request = Google::Cloud::AlloyDB::V1::FailoverInstanceRequest.new
|
1845
|
+
#
|
1846
|
+
# # Call the failover_instance method.
|
1847
|
+
# result = client.failover_instance request
|
1848
|
+
#
|
1849
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
1850
|
+
# # check the status of an operation, cancel it, or wait for results.
|
1851
|
+
# # Here is how to wait for a response.
|
1852
|
+
# result.wait_until_done! timeout: 60
|
1853
|
+
# if result.response?
|
1854
|
+
# p result.response
|
1855
|
+
# else
|
1856
|
+
# puts "No response received."
|
1857
|
+
# end
|
1858
|
+
#
|
1511
1859
|
def failover_instance request, options = nil
|
1512
1860
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
1513
1861
|
|
@@ -1593,6 +1941,29 @@ module Google
|
|
1593
1941
|
# @return [::Gapic::Operation]
|
1594
1942
|
#
|
1595
1943
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
1944
|
+
#
|
1945
|
+
# @example Basic example
|
1946
|
+
# require "google/cloud/alloy_db/v1"
|
1947
|
+
#
|
1948
|
+
# # Create a client object. The client can be reused for multiple calls.
|
1949
|
+
# client = Google::Cloud::AlloyDB::V1::AlloyDBAdmin::Rest::Client.new
|
1950
|
+
#
|
1951
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
1952
|
+
# request = Google::Cloud::AlloyDB::V1::InjectFaultRequest.new
|
1953
|
+
#
|
1954
|
+
# # Call the inject_fault method.
|
1955
|
+
# result = client.inject_fault request
|
1956
|
+
#
|
1957
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
1958
|
+
# # check the status of an operation, cancel it, or wait for results.
|
1959
|
+
# # Here is how to wait for a response.
|
1960
|
+
# result.wait_until_done! timeout: 60
|
1961
|
+
# if result.response?
|
1962
|
+
# p result.response
|
1963
|
+
# else
|
1964
|
+
# puts "No response received."
|
1965
|
+
# end
|
1966
|
+
#
|
1596
1967
|
def inject_fault request, options = nil
|
1597
1968
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
1598
1969
|
|
@@ -1675,6 +2046,29 @@ module Google
|
|
1675
2046
|
# @return [::Gapic::Operation]
|
1676
2047
|
#
|
1677
2048
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
2049
|
+
#
|
2050
|
+
# @example Basic example
|
2051
|
+
# require "google/cloud/alloy_db/v1"
|
2052
|
+
#
|
2053
|
+
# # Create a client object. The client can be reused for multiple calls.
|
2054
|
+
# client = Google::Cloud::AlloyDB::V1::AlloyDBAdmin::Rest::Client.new
|
2055
|
+
#
|
2056
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
2057
|
+
# request = Google::Cloud::AlloyDB::V1::RestartInstanceRequest.new
|
2058
|
+
#
|
2059
|
+
# # Call the restart_instance method.
|
2060
|
+
# result = client.restart_instance request
|
2061
|
+
#
|
2062
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
2063
|
+
# # check the status of an operation, cancel it, or wait for results.
|
2064
|
+
# # Here is how to wait for a response.
|
2065
|
+
# result.wait_until_done! timeout: 60
|
2066
|
+
# if result.response?
|
2067
|
+
# p result.response
|
2068
|
+
# else
|
2069
|
+
# puts "No response received."
|
2070
|
+
# end
|
2071
|
+
#
|
1678
2072
|
def restart_instance request, options = nil
|
1679
2073
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
1680
2074
|
|
@@ -1747,6 +2141,26 @@ module Google
|
|
1747
2141
|
# @return [::Google::Cloud::AlloyDB::V1::ListBackupsResponse]
|
1748
2142
|
#
|
1749
2143
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
2144
|
+
#
|
2145
|
+
# @example Basic example
|
2146
|
+
# require "google/cloud/alloy_db/v1"
|
2147
|
+
#
|
2148
|
+
# # Create a client object. The client can be reused for multiple calls.
|
2149
|
+
# client = Google::Cloud::AlloyDB::V1::AlloyDBAdmin::Rest::Client.new
|
2150
|
+
#
|
2151
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
2152
|
+
# request = Google::Cloud::AlloyDB::V1::ListBackupsRequest.new
|
2153
|
+
#
|
2154
|
+
# # Call the list_backups method.
|
2155
|
+
# result = client.list_backups request
|
2156
|
+
#
|
2157
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
2158
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
2159
|
+
# result.each do |item|
|
2160
|
+
# # Each element is of type ::Google::Cloud::AlloyDB::V1::Backup.
|
2161
|
+
# p item
|
2162
|
+
# end
|
2163
|
+
#
|
1750
2164
|
def list_backups request, options = nil
|
1751
2165
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
1752
2166
|
|
@@ -1809,6 +2223,22 @@ module Google
|
|
1809
2223
|
# @return [::Google::Cloud::AlloyDB::V1::Backup]
|
1810
2224
|
#
|
1811
2225
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
2226
|
+
#
|
2227
|
+
# @example Basic example
|
2228
|
+
# require "google/cloud/alloy_db/v1"
|
2229
|
+
#
|
2230
|
+
# # Create a client object. The client can be reused for multiple calls.
|
2231
|
+
# client = Google::Cloud::AlloyDB::V1::AlloyDBAdmin::Rest::Client.new
|
2232
|
+
#
|
2233
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
2234
|
+
# request = Google::Cloud::AlloyDB::V1::GetBackupRequest.new
|
2235
|
+
#
|
2236
|
+
# # Call the get_backup method.
|
2237
|
+
# result = client.get_backup request
|
2238
|
+
#
|
2239
|
+
# # The returned object is of type Google::Cloud::AlloyDB::V1::Backup.
|
2240
|
+
# p result
|
2241
|
+
#
|
1812
2242
|
def get_backup request, options = nil
|
1813
2243
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
1814
2244
|
|
@@ -1892,6 +2322,29 @@ module Google
|
|
1892
2322
|
# @return [::Gapic::Operation]
|
1893
2323
|
#
|
1894
2324
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
2325
|
+
#
|
2326
|
+
# @example Basic example
|
2327
|
+
# require "google/cloud/alloy_db/v1"
|
2328
|
+
#
|
2329
|
+
# # Create a client object. The client can be reused for multiple calls.
|
2330
|
+
# client = Google::Cloud::AlloyDB::V1::AlloyDBAdmin::Rest::Client.new
|
2331
|
+
#
|
2332
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
2333
|
+
# request = Google::Cloud::AlloyDB::V1::CreateBackupRequest.new
|
2334
|
+
#
|
2335
|
+
# # Call the create_backup method.
|
2336
|
+
# result = client.create_backup request
|
2337
|
+
#
|
2338
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
2339
|
+
# # check the status of an operation, cancel it, or wait for results.
|
2340
|
+
# # Here is how to wait for a response.
|
2341
|
+
# result.wait_until_done! timeout: 60
|
2342
|
+
# if result.response?
|
2343
|
+
# p result.response
|
2344
|
+
# else
|
2345
|
+
# puts "No response received."
|
2346
|
+
# end
|
2347
|
+
#
|
1895
2348
|
def create_backup request, options = nil
|
1896
2349
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
1897
2350
|
|
@@ -1981,6 +2434,29 @@ module Google
|
|
1981
2434
|
# @return [::Gapic::Operation]
|
1982
2435
|
#
|
1983
2436
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
2437
|
+
#
|
2438
|
+
# @example Basic example
|
2439
|
+
# require "google/cloud/alloy_db/v1"
|
2440
|
+
#
|
2441
|
+
# # Create a client object. The client can be reused for multiple calls.
|
2442
|
+
# client = Google::Cloud::AlloyDB::V1::AlloyDBAdmin::Rest::Client.new
|
2443
|
+
#
|
2444
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
2445
|
+
# request = Google::Cloud::AlloyDB::V1::UpdateBackupRequest.new
|
2446
|
+
#
|
2447
|
+
# # Call the update_backup method.
|
2448
|
+
# result = client.update_backup request
|
2449
|
+
#
|
2450
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
2451
|
+
# # check the status of an operation, cancel it, or wait for results.
|
2452
|
+
# # Here is how to wait for a response.
|
2453
|
+
# result.wait_until_done! timeout: 60
|
2454
|
+
# if result.response?
|
2455
|
+
# p result.response
|
2456
|
+
# else
|
2457
|
+
# puts "No response received."
|
2458
|
+
# end
|
2459
|
+
#
|
1984
2460
|
def update_backup request, options = nil
|
1985
2461
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
1986
2462
|
|
@@ -2066,6 +2542,29 @@ module Google
|
|
2066
2542
|
# @return [::Gapic::Operation]
|
2067
2543
|
#
|
2068
2544
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
2545
|
+
#
|
2546
|
+
# @example Basic example
|
2547
|
+
# require "google/cloud/alloy_db/v1"
|
2548
|
+
#
|
2549
|
+
# # Create a client object. The client can be reused for multiple calls.
|
2550
|
+
# client = Google::Cloud::AlloyDB::V1::AlloyDBAdmin::Rest::Client.new
|
2551
|
+
#
|
2552
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
2553
|
+
# request = Google::Cloud::AlloyDB::V1::DeleteBackupRequest.new
|
2554
|
+
#
|
2555
|
+
# # Call the delete_backup method.
|
2556
|
+
# result = client.delete_backup request
|
2557
|
+
#
|
2558
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
2559
|
+
# # check the status of an operation, cancel it, or wait for results.
|
2560
|
+
# # Here is how to wait for a response.
|
2561
|
+
# result.wait_until_done! timeout: 60
|
2562
|
+
# if result.response?
|
2563
|
+
# p result.response
|
2564
|
+
# else
|
2565
|
+
# puts "No response received."
|
2566
|
+
# end
|
2567
|
+
#
|
2069
2568
|
def delete_backup request, options = nil
|
2070
2569
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
2071
2570
|
|
@@ -2140,6 +2639,26 @@ module Google
|
|
2140
2639
|
# @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::AlloyDB::V1::SupportedDatabaseFlag>]
|
2141
2640
|
#
|
2142
2641
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
2642
|
+
#
|
2643
|
+
# @example Basic example
|
2644
|
+
# require "google/cloud/alloy_db/v1"
|
2645
|
+
#
|
2646
|
+
# # Create a client object. The client can be reused for multiple calls.
|
2647
|
+
# client = Google::Cloud::AlloyDB::V1::AlloyDBAdmin::Rest::Client.new
|
2648
|
+
#
|
2649
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
2650
|
+
# request = Google::Cloud::AlloyDB::V1::ListSupportedDatabaseFlagsRequest.new
|
2651
|
+
#
|
2652
|
+
# # Call the list_supported_database_flags method.
|
2653
|
+
# result = client.list_supported_database_flags request
|
2654
|
+
#
|
2655
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
2656
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
2657
|
+
# result.each do |item|
|
2658
|
+
# # Each element is of type ::Google::Cloud::AlloyDB::V1::SupportedDatabaseFlag.
|
2659
|
+
# p item
|
2660
|
+
# end
|
2661
|
+
#
|
2143
2662
|
def list_supported_database_flags request, options = nil
|
2144
2663
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
2145
2664
|
|
@@ -2212,6 +2731,26 @@ module Google
|
|
2212
2731
|
# @return [::Google::Cloud::AlloyDB::V1::ListUsersResponse]
|
2213
2732
|
#
|
2214
2733
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
2734
|
+
#
|
2735
|
+
# @example Basic example
|
2736
|
+
# require "google/cloud/alloy_db/v1"
|
2737
|
+
#
|
2738
|
+
# # Create a client object. The client can be reused for multiple calls.
|
2739
|
+
# client = Google::Cloud::AlloyDB::V1::AlloyDBAdmin::Rest::Client.new
|
2740
|
+
#
|
2741
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
2742
|
+
# request = Google::Cloud::AlloyDB::V1::ListUsersRequest.new
|
2743
|
+
#
|
2744
|
+
# # Call the list_users method.
|
2745
|
+
# result = client.list_users request
|
2746
|
+
#
|
2747
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
2748
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
2749
|
+
# result.each do |item|
|
2750
|
+
# # Each element is of type ::Google::Cloud::AlloyDB::V1::User.
|
2751
|
+
# p item
|
2752
|
+
# end
|
2753
|
+
#
|
2215
2754
|
def list_users request, options = nil
|
2216
2755
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
2217
2756
|
|
@@ -2275,6 +2814,22 @@ module Google
|
|
2275
2814
|
# @return [::Google::Cloud::AlloyDB::V1::User]
|
2276
2815
|
#
|
2277
2816
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
2817
|
+
#
|
2818
|
+
# @example Basic example
|
2819
|
+
# require "google/cloud/alloy_db/v1"
|
2820
|
+
#
|
2821
|
+
# # Create a client object. The client can be reused for multiple calls.
|
2822
|
+
# client = Google::Cloud::AlloyDB::V1::AlloyDBAdmin::Rest::Client.new
|
2823
|
+
#
|
2824
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
2825
|
+
# request = Google::Cloud::AlloyDB::V1::GetUserRequest.new
|
2826
|
+
#
|
2827
|
+
# # Call the get_user method.
|
2828
|
+
# result = client.get_user request
|
2829
|
+
#
|
2830
|
+
# # The returned object is of type Google::Cloud::AlloyDB::V1::User.
|
2831
|
+
# p result
|
2832
|
+
#
|
2278
2833
|
def get_user request, options = nil
|
2279
2834
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
2280
2835
|
|
@@ -2358,6 +2913,22 @@ module Google
|
|
2358
2913
|
# @return [::Google::Cloud::AlloyDB::V1::User]
|
2359
2914
|
#
|
2360
2915
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
2916
|
+
#
|
2917
|
+
# @example Basic example
|
2918
|
+
# require "google/cloud/alloy_db/v1"
|
2919
|
+
#
|
2920
|
+
# # Create a client object. The client can be reused for multiple calls.
|
2921
|
+
# client = Google::Cloud::AlloyDB::V1::AlloyDBAdmin::Rest::Client.new
|
2922
|
+
#
|
2923
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
2924
|
+
# request = Google::Cloud::AlloyDB::V1::CreateUserRequest.new
|
2925
|
+
#
|
2926
|
+
# # Call the create_user method.
|
2927
|
+
# result = client.create_user request
|
2928
|
+
#
|
2929
|
+
# # The returned object is of type Google::Cloud::AlloyDB::V1::User.
|
2930
|
+
# p result
|
2931
|
+
#
|
2361
2932
|
def create_user request, options = nil
|
2362
2933
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
2363
2934
|
|
@@ -2445,6 +3016,22 @@ module Google
|
|
2445
3016
|
# @return [::Google::Cloud::AlloyDB::V1::User]
|
2446
3017
|
#
|
2447
3018
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
3019
|
+
#
|
3020
|
+
# @example Basic example
|
3021
|
+
# require "google/cloud/alloy_db/v1"
|
3022
|
+
#
|
3023
|
+
# # Create a client object. The client can be reused for multiple calls.
|
3024
|
+
# client = Google::Cloud::AlloyDB::V1::AlloyDBAdmin::Rest::Client.new
|
3025
|
+
#
|
3026
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
3027
|
+
# request = Google::Cloud::AlloyDB::V1::UpdateUserRequest.new
|
3028
|
+
#
|
3029
|
+
# # Call the update_user method.
|
3030
|
+
# result = client.update_user request
|
3031
|
+
#
|
3032
|
+
# # The returned object is of type Google::Cloud::AlloyDB::V1::User.
|
3033
|
+
# p result
|
3034
|
+
#
|
2448
3035
|
def update_user request, options = nil
|
2449
3036
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
2450
3037
|
|
@@ -2525,6 +3112,22 @@ module Google
|
|
2525
3112
|
# @return [::Google::Protobuf::Empty]
|
2526
3113
|
#
|
2527
3114
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
3115
|
+
#
|
3116
|
+
# @example Basic example
|
3117
|
+
# require "google/cloud/alloy_db/v1"
|
3118
|
+
#
|
3119
|
+
# # Create a client object. The client can be reused for multiple calls.
|
3120
|
+
# client = Google::Cloud::AlloyDB::V1::AlloyDBAdmin::Rest::Client.new
|
3121
|
+
#
|
3122
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
3123
|
+
# request = Google::Cloud::AlloyDB::V1::DeleteUserRequest.new
|
3124
|
+
#
|
3125
|
+
# # Call the delete_user method.
|
3126
|
+
# result = client.delete_user request
|
3127
|
+
#
|
3128
|
+
# # The returned object is of type Google::Protobuf::Empty.
|
3129
|
+
# p result
|
3130
|
+
#
|
2528
3131
|
def delete_user request, options = nil
|
2529
3132
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
2530
3133
|
|
@@ -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
|
|
@@ -13,7 +13,7 @@ require 'google/type/dayofweek_pb'
|
|
13
13
|
require 'google/type/timeofday_pb'
|
14
14
|
|
15
15
|
|
16
|
-
descriptor_data = "\n\'google/cloud/alloydb/v1/resources.proto\x12\x17google.cloud.alloydb.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1bgoogle/type/dayofweek.proto\x1a\x1bgoogle/type/timeofday.proto\".\n\x0cUserPassword\x12\x0c\n\x04user\x18\x01 \x01(\t\x12\x10\n\x08password\x18\x02 \x01(\t\"\xe3\x01\n\x0fMigrationSource\x12\x16\n\thost_port\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x19\n\x0creference_id\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12V\n\x0bsource_type\x18\x03 \x01(\x0e\x32<.google.cloud.alloydb.v1.MigrationSource.MigrationSourceTypeB\x03\xe0\x41\x03\"E\n\x13MigrationSourceType\x12%\n!MIGRATION_SOURCE_TYPE_UNSPECIFIED\x10\x00\x12\x07\n\x03\x44MS\x10\x01\"(\n\x10\x45ncryptionConfig\x12\x14\n\x0ckms_key_name\x18\x01 \x01(\t\"\x86\x02\n\x0e\x45ncryptionInfo\x12J\n\x0f\x65ncryption_type\x18\x01 \x01(\x0e\x32,.google.cloud.alloydb.v1.EncryptionInfo.TypeB\x03\xe0\x41\x03\x12J\n\x10kms_key_versions\x18\x02 \x03(\tB0\xe0\x41\x03\xfa\x41*\n(cloudkms.googleapis.com/CryptoKeyVersion\"\\\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x1d\n\x19GOOGLE_DEFAULT_ENCRYPTION\x10\x01\x12\x1f\n\x1b\x43USTOMER_MANAGED_ENCRYPTION\x10\x02\"\xfe\x02\n\tSslConfig\x12\x41\n\x08ssl_mode\x18\x01 \x01(\x0e\x32*.google.cloud.alloydb.v1.SslConfig.SslModeB\x03\xe0\x41\x01\x12\x43\n\tca_source\x18\x02 \x01(\x0e\x32+.google.cloud.alloydb.v1.SslConfig.CaSourceB\x03\xe0\x41\x01\"\xaa\x01\n\x07SslMode\x12\x18\n\x14SSL_MODE_UNSPECIFIED\x10\x00\x12\x16\n\x0eSSL_MODE_ALLOW\x10\x01\x1a\x02\x08\x01\x12\x18\n\x10SSL_MODE_REQUIRE\x10\x02\x1a\x02\x08\x01\x12\x1a\n\x12SSL_MODE_VERIFY_CA\x10\x03\x1a\x02\x08\x01\x12#\n\x1f\x41LLOW_UNENCRYPTED_AND_ENCRYPTED\x10\x04\x12\x12\n\x0e\x45NCRYPTED_ONLY\x10\x05\"<\n\x08\x43\x61Source\x12\x19\n\x15\x43\x41_SOURCE_UNSPECIFIED\x10\x00\x12\x15\n\x11\x43\x41_SOURCE_MANAGED\x10\x01\"\xe5\x06\n\x15\x41utomatedBackupPolicy\x12X\n\x0fweekly_schedule\x18\x02 \x01(\x0b\x32=.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklyScheduleH\x00\x12\x61\n\x14time_based_retention\x18\x04 \x01(\x0b\x32\x41.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetentionH\x01\x12i\n\x18quantity_based_retention\x18\x05 \x01(\x0b\x32\x45.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetentionH\x01\x12\x14\n\x07\x65nabled\x18\x01 \x01(\x08H\x02\x88\x01\x01\x12\x30\n\rbackup_window\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12I\n\x11\x65ncryption_config\x18\x08 \x01(\x0b\x32).google.cloud.alloydb.v1.EncryptionConfigB\x03\xe0\x41\x01\x12\x10\n\x08location\x18\x06 \x01(\t\x12J\n\x06labels\x18\x07 \x03(\x0b\x32:.google.cloud.alloydb.v1.AutomatedBackupPolicy.LabelsEntry\x1ak\n\x0eWeeklySchedule\x12+\n\x0bstart_times\x18\x01 \x03(\x0b\x32\x16.google.type.TimeOfDay\x12,\n\x0c\x64\x61ys_of_week\x18\x02 \x03(\x0e\x32\x16.google.type.DayOfWeek\x1aI\n\x12TimeBasedRetention\x12\x33\n\x10retention_period\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x1a\'\n\x16QuantityBasedRetention\x12\r\n\x05\x63ount\x18\x01 \x01(\x05\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\n\n\x08scheduleB\x0b\n\tretentionB\n\n\x08_enabled\"\x9e\x01\n\x16\x43ontinuousBackupConfig\x12\x14\n\x07\x65nabled\x18\x01 \x01(\x08H\x00\x88\x01\x01\x12\x1c\n\x14recovery_window_days\x18\x04 \x01(\x05\x12\x44\n\x11\x65ncryption_config\x18\x03 \x01(\x0b\x32).google.cloud.alloydb.v1.EncryptionConfigB\n\n\x08_enabled\"\x86\x02\n\x14\x43ontinuousBackupInfo\x12\x45\n\x0f\x65ncryption_info\x18\x01 \x01(\x0b\x32\'.google.cloud.alloydb.v1.EncryptionInfoB\x03\xe0\x41\x03\x12\x35\n\x0c\x65nabled_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12-\n\x08schedule\x18\x03 \x03(\x0e\x32\x16.google.type.DayOfWeekB\x03\xe0\x41\x03\x12\x41\n\x18\x65\x61rliest_restorable_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\"c\n\x0c\x42\x61\x63kupSource\x12\x17\n\nbackup_uid\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12:\n\x0b\x62\x61\x63kup_name\x18\x01 \x01(\tB%\xe0\x41\x02\xfa\x41\x1f\n\x1d\x61lloydb.googleapis.com/Backup\"f\n\x16\x43ontinuousBackupSource\x12\x14\n\x07\x63luster\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x36\n\rpoint_in_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02\"\xf2\x0f\n\x07\x43luster\x12\x43\n\rbackup_source\x18\x0f \x01(\x0b\x32%.google.cloud.alloydb.v1.BackupSourceB\x03\xe0\x41\x03H\x00\x12I\n\x10migration_source\x18\x10 \x01(\x0b\x32(.google.cloud.alloydb.v1.MigrationSourceB\x03\xe0\x41\x03H\x00\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x10\n\x03uid\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0b\x64\x65lete_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12<\n\x06labels\x18\x07 \x03(\x0b\x32,.google.cloud.alloydb.v1.Cluster.LabelsEntry\x12:\n\x05state\x18\x08 \x01(\x0e\x32&.google.cloud.alloydb.v1.Cluster.StateB\x03\xe0\x41\x03\x12G\n\x0c\x63luster_type\x18\x18 \x01(\x0e\x32,.google.cloud.alloydb.v1.Cluster.ClusterTypeB\x03\xe0\x41\x03\x12G\n\x10\x64\x61tabase_version\x18\t \x01(\x0e\x32(.google.cloud.alloydb.v1.DatabaseVersionB\x03\xe0\x41\x03\x12\x37\n\x07network\x18\n \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x63ompute.googleapis.com/Network\x12\x0c\n\x04\x65tag\x18\x0b \x01(\t\x12\x46\n\x0b\x61nnotations\x18\x0c \x03(\x0b\x32\x31.google.cloud.alloydb.v1.Cluster.AnnotationsEntry\x12\x18\n\x0breconciling\x18\r \x01(\x08\x42\x03\xe0\x41\x03\x12@\n\x0cinitial_user\x18\x0e \x01(\x0b\x32%.google.cloud.alloydb.v1.UserPasswordB\x03\xe0\x41\x04\x12O\n\x17\x61utomated_backup_policy\x18\x11 \x01(\x0b\x32..google.cloud.alloydb.v1.AutomatedBackupPolicy\x12:\n\nssl_config\x18\x12 \x01(\x0b\x32\".google.cloud.alloydb.v1.SslConfigB\x02\x18\x01\x12I\n\x11\x65ncryption_config\x18\x13 \x01(\x0b\x32).google.cloud.alloydb.v1.EncryptionConfigB\x03\xe0\x41\x01\x12\x45\n\x0f\x65ncryption_info\x18\x14 \x01(\x0b\x32\'.google.cloud.alloydb.v1.EncryptionInfoB\x03\xe0\x41\x03\x12V\n\x18\x63ontinuous_backup_config\x18\x1b \x01(\x0b\x32/.google.cloud.alloydb.v1.ContinuousBackupConfigB\x03\xe0\x41\x01\x12R\n\x16\x63ontinuous_backup_info\x18\x1c \x01(\x0b\x32-.google.cloud.alloydb.v1.ContinuousBackupInfoB\x03\xe0\x41\x03\x12J\n\x10secondary_config\x18\x16 \x01(\x0b\x32\x30.google.cloud.alloydb.v1.Cluster.SecondaryConfig\x12K\n\x0eprimary_config\x18\x17 \x01(\x0b\x32..google.cloud.alloydb.v1.Cluster.PrimaryConfigB\x03\xe0\x41\x03\x1a/\n\x0fSecondaryConfig\x12\x1c\n\x14primary_cluster_name\x18\x01 \x01(\t\x1a\x35\n\rPrimaryConfig\x12$\n\x17secondary_cluster_names\x18\x01 \x03(\tB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x9c\x01\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\t\n\x05READY\x10\x01\x12\x0b\n\x07STOPPED\x10\x02\x12\t\n\x05\x45MPTY\x10\x03\x12\x0c\n\x08\x43REATING\x10\x04\x12\x0c\n\x08\x44\x45LETING\x10\x05\x12\n\n\x06\x46\x41ILED\x10\x06\x12\x11\n\rBOOTSTRAPPING\x10\x07\x12\x0f\n\x0bMAINTENANCE\x10\x08\x12\r\n\tPROMOTING\x10\t\"G\n\x0b\x43lusterType\x12\x1c\n\x18\x43LUSTER_TYPE_UNSPECIFIED\x10\x00\x12\x0b\n\x07PRIMARY\x10\x01\x12\r\n\tSECONDARY\x10\x02:b\xea\x41_\n\x1e\x61lloydb.googleapis.com/Cluster\x12:projects/{project}/locations/{location}/clusters/{cluster}R\x01\x01\x42\x08\n\x06source\"\xb3\x10\n\x08Instance\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x10\n\x03uid\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0b\x64\x65lete_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12=\n\x06labels\x18\x07 \x03(\x0b\x32-.google.cloud.alloydb.v1.Instance.LabelsEntry\x12;\n\x05state\x18\x08 \x01(\x0e\x32\'.google.cloud.alloydb.v1.Instance.StateB\x03\xe0\x41\x03\x12J\n\rinstance_type\x18\t \x01(\x0e\x32..google.cloud.alloydb.v1.Instance.InstanceTypeB\x03\xe0\x41\x02\x12G\n\x0emachine_config\x18\n \x01(\x0b\x32/.google.cloud.alloydb.v1.Instance.MachineConfig\x12M\n\x11\x61vailability_type\x18\x0b \x01(\x0e\x32\x32.google.cloud.alloydb.v1.Instance.AvailabilityType\x12\x10\n\x08gce_zone\x18\x0c \x01(\t\x12L\n\x0e\x64\x61tabase_flags\x18\r \x03(\x0b\x32\x34.google.cloud.alloydb.v1.Instance.DatabaseFlagsEntry\x12\x42\n\rwritable_node\x18\x13 \x01(\x0b\x32&.google.cloud.alloydb.v1.Instance.NodeB\x03\xe0\x41\x03\x12:\n\x05nodes\x18\x14 \x03(\x0b\x32&.google.cloud.alloydb.v1.Instance.NodeB\x03\xe0\x41\x03\x12\\\n\x15query_insights_config\x18\x15 \x01(\x0b\x32=.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig\x12J\n\x10read_pool_config\x18\x0e \x01(\x0b\x32\x30.google.cloud.alloydb.v1.Instance.ReadPoolConfig\x12\x17\n\nip_address\x18\x0f \x01(\tB\x03\xe0\x41\x03\x12\x18\n\x0breconciling\x18\x10 \x01(\x08\x42\x03\xe0\x41\x03\x12\x0c\n\x04\x65tag\x18\x11 \x01(\t\x12G\n\x0b\x61nnotations\x18\x12 \x03(\x0b\x32\x32.google.cloud.alloydb.v1.Instance.AnnotationsEntry\x1a\"\n\rMachineConfig\x12\x11\n\tcpu_count\x18\x01 \x01(\x05\x1a>\n\x04Node\x12\x0f\n\x07zone_id\x18\x01 \x01(\t\x12\n\n\x02id\x18\x02 \x01(\t\x12\n\n\x02ip\x18\x03 \x01(\t\x12\r\n\x05state\x18\x04 \x01(\t\x1a\xfa\x01\n\x1bQueryInsightsInstanceConfig\x12$\n\x17record_application_tags\x18\x02 \x01(\x08H\x00\x88\x01\x01\x12\"\n\x15record_client_address\x18\x03 \x01(\x08H\x01\x88\x01\x01\x12\x1b\n\x13query_string_length\x18\x04 \x01(\r\x12#\n\x16query_plans_per_minute\x18\x05 \x01(\rH\x02\x88\x01\x01\x42\x1a\n\x18_record_application_tagsB\x18\n\x16_record_client_addressB\x19\n\x17_query_plans_per_minute\x1a$\n\x0eReadPoolConfig\x12\x12\n\nnode_count\x18\x01 \x01(\x05\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x34\n\x12\x44\x61tabaseFlagsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x91\x01\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\t\n\x05READY\x10\x01\x12\x0b\n\x07STOPPED\x10\x02\x12\x0c\n\x08\x43REATING\x10\x03\x12\x0c\n\x08\x44\x45LETING\x10\x04\x12\x0f\n\x0bMAINTENANCE\x10\x05\x12\n\n\x06\x46\x41ILED\x10\x06\x12\x11\n\rBOOTSTRAPPING\x10\x08\x12\r\n\tPROMOTING\x10\t\"X\n\x0cInstanceType\x12\x1d\n\x19INSTANCE_TYPE_UNSPECIFIED\x10\x00\x12\x0b\n\x07PRIMARY\x10\x01\x12\r\n\tREAD_POOL\x10\x02\x12\r\n\tSECONDARY\x10\x03\"N\n\x10\x41vailabilityType\x12!\n\x1d\x41VAILABILITY_TYPE_UNSPECIFIED\x10\x00\x12\t\n\x05ZONAL\x10\x01\x12\x0c\n\x08REGIONAL\x10\x02:x\xea\x41u\n\x1f\x61lloydb.googleapis.com/Instance\x12Oprojects/{project}/locations/{location}/clusters/{cluster}/instances/{instance}R\x01\x01\"\xb1\t\n\x06\x42\x61\x63kup\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x10\n\x03uid\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0b\x64\x65lete_time\x18\x0f \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12;\n\x06labels\x18\x06 \x03(\x0b\x32+.google.cloud.alloydb.v1.Backup.LabelsEntry\x12\x39\n\x05state\x18\x07 \x01(\x0e\x32%.google.cloud.alloydb.v1.Backup.StateB\x03\xe0\x41\x03\x12\x32\n\x04type\x18\x08 \x01(\x0e\x32$.google.cloud.alloydb.v1.Backup.Type\x12\x13\n\x0b\x64\x65scription\x18\t \x01(\t\x12\x18\n\x0b\x63luster_uid\x18\x12 \x01(\tB\x03\xe0\x41\x03\x12<\n\x0c\x63luster_name\x18\n \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x61lloydb.googleapis.com/Cluster\x12\x18\n\x0breconciling\x18\x0b \x01(\x08\x42\x03\xe0\x41\x03\x12I\n\x11\x65ncryption_config\x18\x0c \x01(\x0b\x32).google.cloud.alloydb.v1.EncryptionConfigB\x03\xe0\x41\x01\x12\x45\n\x0f\x65ncryption_info\x18\r \x01(\x0b\x32\'.google.cloud.alloydb.v1.EncryptionInfoB\x03\xe0\x41\x03\x12\x0c\n\x04\x65tag\x18\x0e \x01(\t\x12\x45\n\x0b\x61nnotations\x18\x10 \x03(\x0b\x32\x30.google.cloud.alloydb.v1.Backup.AnnotationsEntry\x12\x17\n\nsize_bytes\x18\x11 \x01(\x03\x42\x03\xe0\x41\x03\x12\x34\n\x0b\x65xpiry_time\x18\x13 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"Q\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\t\n\x05READY\x10\x01\x12\x0c\n\x08\x43REATING\x10\x02\x12\n\n\x06\x46\x41ILED\x10\x03\x12\x0c\n\x08\x44\x45LETING\x10\x04\"J\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\r\n\tON_DEMAND\x10\x01\x12\r\n\tAUTOMATED\x10\x02\x12\x0e\n\nCONTINUOUS\x10\x03:_\xea\x41\\\n\x1d\x61lloydb.googleapis.com/Backup\x12\x38projects/{project}/locations/{location}/backups/{backup}R\x01\x01\"\xc8\x06\n\x15SupportedDatabaseFlag\x12`\n\x13string_restrictions\x18\x07 \x01(\x0b\x32\x41.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictionsH\x00\x12\x62\n\x14integer_restrictions\x18\x08 \x01(\x0b\x32\x42.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictionsH\x00\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x11\n\tflag_name\x18\x02 \x01(\t\x12L\n\nvalue_type\x18\x03 \x01(\x0e\x32\x38.google.cloud.alloydb.v1.SupportedDatabaseFlag.ValueType\x12\x1f\n\x17\x61\x63\x63\x65pts_multiple_values\x18\x04 \x01(\x08\x12G\n\x15supported_db_versions\x18\x05 \x03(\x0e\x32(.google.cloud.alloydb.v1.DatabaseVersion\x12\x1b\n\x13requires_db_restart\x18\x06 \x01(\x08\x1a,\n\x12StringRestrictions\x12\x16\n\x0e\x61llowed_values\x18\x01 \x03(\t\x1au\n\x13IntegerRestrictions\x12.\n\tmin_value\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12.\n\tmax_value\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\"U\n\tValueType\x12\x1a\n\x16VALUE_TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06STRING\x10\x01\x12\x0b\n\x07INTEGER\x10\x02\x12\t\n\x05\x46LOAT\x10\x03\x12\x08\n\x04NONE\x10\x04:g\xea\x41\x64\n,alloydb.googleapis.com/SupportedDatabaseFlag\x12\x34projects/{project}/locations/{location}/flags/{flag}B\x0e\n\x0crestrictions\"\xce\x02\n\x04User\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x15\n\x08password\x18\x02 \x01(\tB\x03\xe0\x41\x04\x12\x1b\n\x0e\x64\x61tabase_roles\x18\x04 \x03(\tB\x03\xe0\x41\x01\x12>\n\tuser_type\x18\x05 \x01(\x0e\x32&.google.cloud.alloydb.v1.User.UserTypeB\x03\xe0\x41\x01\"Q\n\x08UserType\x12\x19\n\x15USER_TYPE_UNSPECIFIED\x10\x00\x12\x14\n\x10\x41LLOYDB_BUILT_IN\x10\x01\x12\x14\n\x10\x41LLOYDB_IAM_USER\x10\x02:l\xea\x41i\n\x1b\x61lloydb.googleapis.com/User\x12Gprojects/{project}/locations/{location}/clusters/{cluster}/users/{user}R\x01\x01*^\n\x0cInstanceView\x12\x1d\n\x19INSTANCE_VIEW_UNSPECIFIED\x10\x00\x12\x17\n\x13INSTANCE_VIEW_BASIC\x10\x01\x12\x16\n\x12INSTANCE_VIEW_FULL\x10\x02*g\n\x0b\x43lusterView\x12\x1c\n\x18\x43LUSTER_VIEW_UNSPECIFIED\x10\x00\x12\x16\n\x12\x43LUSTER_VIEW_BASIC\x10\x01\x12\"\n\x1e\x43LUSTER_VIEW_CONTINUOUS_BACKUP\x10\x02*Y\n\x0f\x44\x61tabaseVersion\x12 \n\x1c\x44\x41TABASE_VERSION_UNSPECIFIED\x10\x00\x12\x13\n\x0bPOSTGRES_13\x10\x01\x1a\x02\x08\x01\x12\x0f\n\x0bPOSTGRES_14\x10\x02\x42\xb2\x03\n\x1b\x63om.google.cloud.alloydb.v1B\x0eResourcesProtoP\x01Z5cloud.google.com/go/alloydb/apiv1/alloydbpb;alloydbpb\xaa\x02\x17Google.Cloud.AlloyDb.V1\xca\x02\x17Google\\Cloud\\AlloyDb\\V1\xea\x02\x1aGoogle::Cloud::AlloyDB::V1\xea\x41\xa6\x01\n(cloudkms.googleapis.com/CryptoKeyVersion\x12zprojects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_key_version}\xea\x41N\n\x1e\x63ompute.googleapis.com/Network\x12,projects/{project}/global/networks/{network}b\x06proto3"
|
16
|
+
descriptor_data = "\n\'google/cloud/alloydb/v1/resources.proto\x12\x17google.cloud.alloydb.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1bgoogle/type/dayofweek.proto\x1a\x1bgoogle/type/timeofday.proto\".\n\x0cUserPassword\x12\x0c\n\x04user\x18\x01 \x01(\t\x12\x10\n\x08password\x18\x02 \x01(\t\"\xe3\x01\n\x0fMigrationSource\x12\x16\n\thost_port\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x19\n\x0creference_id\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12V\n\x0bsource_type\x18\x03 \x01(\x0e\x32<.google.cloud.alloydb.v1.MigrationSource.MigrationSourceTypeB\x03\xe0\x41\x03\"E\n\x13MigrationSourceType\x12%\n!MIGRATION_SOURCE_TYPE_UNSPECIFIED\x10\x00\x12\x07\n\x03\x44MS\x10\x01\"(\n\x10\x45ncryptionConfig\x12\x14\n\x0ckms_key_name\x18\x01 \x01(\t\"\x86\x02\n\x0e\x45ncryptionInfo\x12J\n\x0f\x65ncryption_type\x18\x01 \x01(\x0e\x32,.google.cloud.alloydb.v1.EncryptionInfo.TypeB\x03\xe0\x41\x03\x12J\n\x10kms_key_versions\x18\x02 \x03(\tB0\xe0\x41\x03\xfa\x41*\n(cloudkms.googleapis.com/CryptoKeyVersion\"\\\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x1d\n\x19GOOGLE_DEFAULT_ENCRYPTION\x10\x01\x12\x1f\n\x1b\x43USTOMER_MANAGED_ENCRYPTION\x10\x02\"\xfe\x02\n\tSslConfig\x12\x41\n\x08ssl_mode\x18\x01 \x01(\x0e\x32*.google.cloud.alloydb.v1.SslConfig.SslModeB\x03\xe0\x41\x01\x12\x43\n\tca_source\x18\x02 \x01(\x0e\x32+.google.cloud.alloydb.v1.SslConfig.CaSourceB\x03\xe0\x41\x01\"\xaa\x01\n\x07SslMode\x12\x18\n\x14SSL_MODE_UNSPECIFIED\x10\x00\x12\x16\n\x0eSSL_MODE_ALLOW\x10\x01\x1a\x02\x08\x01\x12\x18\n\x10SSL_MODE_REQUIRE\x10\x02\x1a\x02\x08\x01\x12\x1a\n\x12SSL_MODE_VERIFY_CA\x10\x03\x1a\x02\x08\x01\x12#\n\x1f\x41LLOW_UNENCRYPTED_AND_ENCRYPTED\x10\x04\x12\x12\n\x0e\x45NCRYPTED_ONLY\x10\x05\"<\n\x08\x43\x61Source\x12\x19\n\x15\x43\x41_SOURCE_UNSPECIFIED\x10\x00\x12\x15\n\x11\x43\x41_SOURCE_MANAGED\x10\x01\"\xe5\x06\n\x15\x41utomatedBackupPolicy\x12X\n\x0fweekly_schedule\x18\x02 \x01(\x0b\x32=.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklyScheduleH\x00\x12\x61\n\x14time_based_retention\x18\x04 \x01(\x0b\x32\x41.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetentionH\x01\x12i\n\x18quantity_based_retention\x18\x05 \x01(\x0b\x32\x45.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetentionH\x01\x12\x14\n\x07\x65nabled\x18\x01 \x01(\x08H\x02\x88\x01\x01\x12\x30\n\rbackup_window\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12I\n\x11\x65ncryption_config\x18\x08 \x01(\x0b\x32).google.cloud.alloydb.v1.EncryptionConfigB\x03\xe0\x41\x01\x12\x10\n\x08location\x18\x06 \x01(\t\x12J\n\x06labels\x18\x07 \x03(\x0b\x32:.google.cloud.alloydb.v1.AutomatedBackupPolicy.LabelsEntry\x1ak\n\x0eWeeklySchedule\x12+\n\x0bstart_times\x18\x01 \x03(\x0b\x32\x16.google.type.TimeOfDay\x12,\n\x0c\x64\x61ys_of_week\x18\x02 \x03(\x0e\x32\x16.google.type.DayOfWeek\x1aI\n\x12TimeBasedRetention\x12\x33\n\x10retention_period\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x1a\'\n\x16QuantityBasedRetention\x12\r\n\x05\x63ount\x18\x01 \x01(\x05\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\n\n\x08scheduleB\x0b\n\tretentionB\n\n\x08_enabled\"\x9e\x01\n\x16\x43ontinuousBackupConfig\x12\x14\n\x07\x65nabled\x18\x01 \x01(\x08H\x00\x88\x01\x01\x12\x1c\n\x14recovery_window_days\x18\x04 \x01(\x05\x12\x44\n\x11\x65ncryption_config\x18\x03 \x01(\x0b\x32).google.cloud.alloydb.v1.EncryptionConfigB\n\n\x08_enabled\"\x86\x02\n\x14\x43ontinuousBackupInfo\x12\x45\n\x0f\x65ncryption_info\x18\x01 \x01(\x0b\x32\'.google.cloud.alloydb.v1.EncryptionInfoB\x03\xe0\x41\x03\x12\x35\n\x0c\x65nabled_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12-\n\x08schedule\x18\x03 \x03(\x0e\x32\x16.google.type.DayOfWeekB\x03\xe0\x41\x03\x12\x41\n\x18\x65\x61rliest_restorable_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\"c\n\x0c\x42\x61\x63kupSource\x12\x17\n\nbackup_uid\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12:\n\x0b\x62\x61\x63kup_name\x18\x01 \x01(\tB%\xe0\x41\x02\xfa\x41\x1f\n\x1d\x61lloydb.googleapis.com/Backup\"f\n\x16\x43ontinuousBackupSource\x12\x14\n\x07\x63luster\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x36\n\rpoint_in_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02\"\xac\x11\n\x07\x43luster\x12\x43\n\rbackup_source\x18\x0f \x01(\x0b\x32%.google.cloud.alloydb.v1.BackupSourceB\x03\xe0\x41\x03H\x00\x12I\n\x10migration_source\x18\x10 \x01(\x0b\x32(.google.cloud.alloydb.v1.MigrationSourceB\x03\xe0\x41\x03H\x00\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x10\n\x03uid\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0b\x64\x65lete_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12<\n\x06labels\x18\x07 \x03(\x0b\x32,.google.cloud.alloydb.v1.Cluster.LabelsEntry\x12:\n\x05state\x18\x08 \x01(\x0e\x32&.google.cloud.alloydb.v1.Cluster.StateB\x03\xe0\x41\x03\x12G\n\x0c\x63luster_type\x18\x18 \x01(\x0e\x32,.google.cloud.alloydb.v1.Cluster.ClusterTypeB\x03\xe0\x41\x03\x12G\n\x10\x64\x61tabase_version\x18\t \x01(\x0e\x32(.google.cloud.alloydb.v1.DatabaseVersionB\x03\xe0\x41\x01\x12K\n\x0enetwork_config\x18\x1d \x01(\x0b\x32..google.cloud.alloydb.v1.Cluster.NetworkConfigB\x03\xe0\x41\x01\x12\x39\n\x07network\x18\n \x01(\tB(\x18\x01\xe0\x41\x02\xfa\x41 \n\x1e\x63ompute.googleapis.com/Network\x12\x0c\n\x04\x65tag\x18\x0b \x01(\t\x12\x46\n\x0b\x61nnotations\x18\x0c \x03(\x0b\x32\x31.google.cloud.alloydb.v1.Cluster.AnnotationsEntry\x12\x18\n\x0breconciling\x18\r \x01(\x08\x42\x03\xe0\x41\x03\x12@\n\x0cinitial_user\x18\x0e \x01(\x0b\x32%.google.cloud.alloydb.v1.UserPasswordB\x03\xe0\x41\x04\x12O\n\x17\x61utomated_backup_policy\x18\x11 \x01(\x0b\x32..google.cloud.alloydb.v1.AutomatedBackupPolicy\x12:\n\nssl_config\x18\x12 \x01(\x0b\x32\".google.cloud.alloydb.v1.SslConfigB\x02\x18\x01\x12I\n\x11\x65ncryption_config\x18\x13 \x01(\x0b\x32).google.cloud.alloydb.v1.EncryptionConfigB\x03\xe0\x41\x01\x12\x45\n\x0f\x65ncryption_info\x18\x14 \x01(\x0b\x32\'.google.cloud.alloydb.v1.EncryptionInfoB\x03\xe0\x41\x03\x12V\n\x18\x63ontinuous_backup_config\x18\x1b \x01(\x0b\x32/.google.cloud.alloydb.v1.ContinuousBackupConfigB\x03\xe0\x41\x01\x12R\n\x16\x63ontinuous_backup_info\x18\x1c \x01(\x0b\x32-.google.cloud.alloydb.v1.ContinuousBackupInfoB\x03\xe0\x41\x03\x12J\n\x10secondary_config\x18\x16 \x01(\x0b\x32\x30.google.cloud.alloydb.v1.Cluster.SecondaryConfig\x12K\n\x0eprimary_config\x18\x17 \x01(\x0b\x32..google.cloud.alloydb.v1.Cluster.PrimaryConfigB\x03\xe0\x41\x03\x1ai\n\rNetworkConfig\x12\x37\n\x07network\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x63ompute.googleapis.com/Network\x12\x1f\n\x12\x61llocated_ip_range\x18\x02 \x01(\tB\x03\xe0\x41\x01\x1a/\n\x0fSecondaryConfig\x12\x1c\n\x14primary_cluster_name\x18\x01 \x01(\t\x1a\x35\n\rPrimaryConfig\x12$\n\x17secondary_cluster_names\x18\x01 \x03(\tB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x9c\x01\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\t\n\x05READY\x10\x01\x12\x0b\n\x07STOPPED\x10\x02\x12\t\n\x05\x45MPTY\x10\x03\x12\x0c\n\x08\x43REATING\x10\x04\x12\x0c\n\x08\x44\x45LETING\x10\x05\x12\n\n\x06\x46\x41ILED\x10\x06\x12\x11\n\rBOOTSTRAPPING\x10\x07\x12\x0f\n\x0bMAINTENANCE\x10\x08\x12\r\n\tPROMOTING\x10\t\"G\n\x0b\x43lusterType\x12\x1c\n\x18\x43LUSTER_TYPE_UNSPECIFIED\x10\x00\x12\x0b\n\x07PRIMARY\x10\x01\x12\r\n\tSECONDARY\x10\x02:b\xea\x41_\n\x1e\x61lloydb.googleapis.com/Cluster\x12:projects/{project}/locations/{location}/clusters/{cluster}R\x01\x01\x42\x08\n\x06source\"\x8c\x12\n\x08Instance\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x10\n\x03uid\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0b\x64\x65lete_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12=\n\x06labels\x18\x07 \x03(\x0b\x32-.google.cloud.alloydb.v1.Instance.LabelsEntry\x12;\n\x05state\x18\x08 \x01(\x0e\x32\'.google.cloud.alloydb.v1.Instance.StateB\x03\xe0\x41\x03\x12J\n\rinstance_type\x18\t \x01(\x0e\x32..google.cloud.alloydb.v1.Instance.InstanceTypeB\x03\xe0\x41\x02\x12G\n\x0emachine_config\x18\n \x01(\x0b\x32/.google.cloud.alloydb.v1.Instance.MachineConfig\x12M\n\x11\x61vailability_type\x18\x0b \x01(\x0e\x32\x32.google.cloud.alloydb.v1.Instance.AvailabilityType\x12\x10\n\x08gce_zone\x18\x0c \x01(\t\x12L\n\x0e\x64\x61tabase_flags\x18\r \x03(\x0b\x32\x34.google.cloud.alloydb.v1.Instance.DatabaseFlagsEntry\x12\x42\n\rwritable_node\x18\x13 \x01(\x0b\x32&.google.cloud.alloydb.v1.Instance.NodeB\x03\xe0\x41\x03\x12:\n\x05nodes\x18\x14 \x03(\x0b\x32&.google.cloud.alloydb.v1.Instance.NodeB\x03\xe0\x41\x03\x12\\\n\x15query_insights_config\x18\x15 \x01(\x0b\x32=.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig\x12J\n\x10read_pool_config\x18\x0e \x01(\x0b\x32\x30.google.cloud.alloydb.v1.Instance.ReadPoolConfig\x12\x17\n\nip_address\x18\x0f \x01(\tB\x03\xe0\x41\x03\x12\x18\n\x0breconciling\x18\x10 \x01(\x08\x42\x03\xe0\x41\x03\x12\x0c\n\x04\x65tag\x18\x11 \x01(\t\x12G\n\x0b\x61nnotations\x18\x12 \x03(\x0b\x32\x32.google.cloud.alloydb.v1.Instance.AnnotationsEntry\x12_\n\x18\x63lient_connection_config\x18\x17 \x01(\x0b\x32\x38.google.cloud.alloydb.v1.Instance.ClientConnectionConfigB\x03\xe0\x41\x01\x1a\"\n\rMachineConfig\x12\x11\n\tcpu_count\x18\x01 \x01(\x05\x1a>\n\x04Node\x12\x0f\n\x07zone_id\x18\x01 \x01(\t\x12\n\n\x02id\x18\x02 \x01(\t\x12\n\n\x02ip\x18\x03 \x01(\t\x12\r\n\x05state\x18\x04 \x01(\t\x1a\xfa\x01\n\x1bQueryInsightsInstanceConfig\x12$\n\x17record_application_tags\x18\x02 \x01(\x08H\x00\x88\x01\x01\x12\"\n\x15record_client_address\x18\x03 \x01(\x08H\x01\x88\x01\x01\x12\x1b\n\x13query_string_length\x18\x04 \x01(\r\x12#\n\x16query_plans_per_minute\x18\x05 \x01(\rH\x02\x88\x01\x01\x42\x1a\n\x18_record_application_tagsB\x18\n\x16_record_client_addressB\x19\n\x17_query_plans_per_minute\x1a$\n\x0eReadPoolConfig\x12\x12\n\nnode_count\x18\x01 \x01(\x05\x1av\n\x16\x43lientConnectionConfig\x12\x1f\n\x12require_connectors\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01\x12;\n\nssl_config\x18\x02 \x01(\x0b\x32\".google.cloud.alloydb.v1.SslConfigB\x03\xe0\x41\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x34\n\x12\x44\x61tabaseFlagsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x91\x01\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\t\n\x05READY\x10\x01\x12\x0b\n\x07STOPPED\x10\x02\x12\x0c\n\x08\x43REATING\x10\x03\x12\x0c\n\x08\x44\x45LETING\x10\x04\x12\x0f\n\x0bMAINTENANCE\x10\x05\x12\n\n\x06\x46\x41ILED\x10\x06\x12\x11\n\rBOOTSTRAPPING\x10\x08\x12\r\n\tPROMOTING\x10\t\"X\n\x0cInstanceType\x12\x1d\n\x19INSTANCE_TYPE_UNSPECIFIED\x10\x00\x12\x0b\n\x07PRIMARY\x10\x01\x12\r\n\tREAD_POOL\x10\x02\x12\r\n\tSECONDARY\x10\x03\"N\n\x10\x41vailabilityType\x12!\n\x1d\x41VAILABILITY_TYPE_UNSPECIFIED\x10\x00\x12\t\n\x05ZONAL\x10\x01\x12\x0c\n\x08REGIONAL\x10\x02:x\xea\x41u\n\x1f\x61lloydb.googleapis.com/Instance\x12Oprojects/{project}/locations/{location}/clusters/{cluster}/instances/{instance}R\x01\x01\"\xa6\x0b\n\x06\x42\x61\x63kup\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x10\n\x03uid\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0b\x64\x65lete_time\x18\x0f \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12;\n\x06labels\x18\x06 \x03(\x0b\x32+.google.cloud.alloydb.v1.Backup.LabelsEntry\x12\x39\n\x05state\x18\x07 \x01(\x0e\x32%.google.cloud.alloydb.v1.Backup.StateB\x03\xe0\x41\x03\x12\x32\n\x04type\x18\x08 \x01(\x0e\x32$.google.cloud.alloydb.v1.Backup.Type\x12\x13\n\x0b\x64\x65scription\x18\t \x01(\t\x12\x18\n\x0b\x63luster_uid\x18\x12 \x01(\tB\x03\xe0\x41\x03\x12<\n\x0c\x63luster_name\x18\n \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x61lloydb.googleapis.com/Cluster\x12\x18\n\x0breconciling\x18\x0b \x01(\x08\x42\x03\xe0\x41\x03\x12I\n\x11\x65ncryption_config\x18\x0c \x01(\x0b\x32).google.cloud.alloydb.v1.EncryptionConfigB\x03\xe0\x41\x01\x12\x45\n\x0f\x65ncryption_info\x18\r \x01(\x0b\x32\'.google.cloud.alloydb.v1.EncryptionInfoB\x03\xe0\x41\x03\x12\x0c\n\x04\x65tag\x18\x0e \x01(\t\x12\x45\n\x0b\x61nnotations\x18\x10 \x03(\x0b\x32\x30.google.cloud.alloydb.v1.Backup.AnnotationsEntry\x12\x17\n\nsize_bytes\x18\x11 \x01(\x03\x42\x03\xe0\x41\x03\x12\x34\n\x0b\x65xpiry_time\x18\x13 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12Q\n\x0f\x65xpiry_quantity\x18\x14 \x01(\x0b\x32\x33.google.cloud.alloydb.v1.Backup.QuantityBasedExpiryB\x03\xe0\x41\x03\x12G\n\x10\x64\x61tabase_version\x18\x16 \x01(\x0e\x32(.google.cloud.alloydb.v1.DatabaseVersionB\x03\xe0\x41\x03\x1aW\n\x13QuantityBasedExpiry\x12\x1c\n\x0fretention_count\x18\x01 \x01(\x05\x42\x03\xe0\x41\x03\x12\"\n\x15total_retention_count\x18\x02 \x01(\x05\x42\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"Q\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\t\n\x05READY\x10\x01\x12\x0c\n\x08\x43REATING\x10\x02\x12\n\n\x06\x46\x41ILED\x10\x03\x12\x0c\n\x08\x44\x45LETING\x10\x04\"J\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\r\n\tON_DEMAND\x10\x01\x12\r\n\tAUTOMATED\x10\x02\x12\x0e\n\nCONTINUOUS\x10\x03:_\xea\x41\\\n\x1d\x61lloydb.googleapis.com/Backup\x12\x38projects/{project}/locations/{location}/backups/{backup}R\x01\x01\"\xc8\x06\n\x15SupportedDatabaseFlag\x12`\n\x13string_restrictions\x18\x07 \x01(\x0b\x32\x41.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictionsH\x00\x12\x62\n\x14integer_restrictions\x18\x08 \x01(\x0b\x32\x42.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictionsH\x00\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x11\n\tflag_name\x18\x02 \x01(\t\x12L\n\nvalue_type\x18\x03 \x01(\x0e\x32\x38.google.cloud.alloydb.v1.SupportedDatabaseFlag.ValueType\x12\x1f\n\x17\x61\x63\x63\x65pts_multiple_values\x18\x04 \x01(\x08\x12G\n\x15supported_db_versions\x18\x05 \x03(\x0e\x32(.google.cloud.alloydb.v1.DatabaseVersion\x12\x1b\n\x13requires_db_restart\x18\x06 \x01(\x08\x1a,\n\x12StringRestrictions\x12\x16\n\x0e\x61llowed_values\x18\x01 \x03(\t\x1au\n\x13IntegerRestrictions\x12.\n\tmin_value\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12.\n\tmax_value\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\"U\n\tValueType\x12\x1a\n\x16VALUE_TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06STRING\x10\x01\x12\x0b\n\x07INTEGER\x10\x02\x12\t\n\x05\x46LOAT\x10\x03\x12\x08\n\x04NONE\x10\x04:g\xea\x41\x64\n,alloydb.googleapis.com/SupportedDatabaseFlag\x12\x34projects/{project}/locations/{location}/flags/{flag}B\x0e\n\x0crestrictions\"\xce\x02\n\x04User\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x15\n\x08password\x18\x02 \x01(\tB\x03\xe0\x41\x04\x12\x1b\n\x0e\x64\x61tabase_roles\x18\x04 \x03(\tB\x03\xe0\x41\x01\x12>\n\tuser_type\x18\x05 \x01(\x0e\x32&.google.cloud.alloydb.v1.User.UserTypeB\x03\xe0\x41\x01\"Q\n\x08UserType\x12\x19\n\x15USER_TYPE_UNSPECIFIED\x10\x00\x12\x14\n\x10\x41LLOYDB_BUILT_IN\x10\x01\x12\x14\n\x10\x41LLOYDB_IAM_USER\x10\x02:l\xea\x41i\n\x1b\x61lloydb.googleapis.com/User\x12Gprojects/{project}/locations/{location}/clusters/{cluster}/users/{user}R\x01\x01*^\n\x0cInstanceView\x12\x1d\n\x19INSTANCE_VIEW_UNSPECIFIED\x10\x00\x12\x17\n\x13INSTANCE_VIEW_BASIC\x10\x01\x12\x16\n\x12INSTANCE_VIEW_FULL\x10\x02*g\n\x0b\x43lusterView\x12\x1c\n\x18\x43LUSTER_VIEW_UNSPECIFIED\x10\x00\x12\x16\n\x12\x43LUSTER_VIEW_BASIC\x10\x01\x12\"\n\x1e\x43LUSTER_VIEW_CONTINUOUS_BACKUP\x10\x02*Y\n\x0f\x44\x61tabaseVersion\x12 \n\x1c\x44\x41TABASE_VERSION_UNSPECIFIED\x10\x00\x12\x13\n\x0bPOSTGRES_13\x10\x01\x1a\x02\x08\x01\x12\x0f\n\x0bPOSTGRES_14\x10\x02\x42\xb2\x03\n\x1b\x63om.google.cloud.alloydb.v1B\x0eResourcesProtoP\x01Z5cloud.google.com/go/alloydb/apiv1/alloydbpb;alloydbpb\xaa\x02\x17Google.Cloud.AlloyDb.V1\xca\x02\x17Google\\Cloud\\AlloyDb\\V1\xea\x02\x1aGoogle::Cloud::AlloyDB::V1\xea\x41\xa6\x01\n(cloudkms.googleapis.com/CryptoKeyVersion\x12zprojects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_key_version}\xea\x41N\n\x1e\x63ompute.googleapis.com/Network\x12,projects/{project}/global/networks/{network}b\x06proto3"
|
17
17
|
|
18
18
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
19
19
|
|
@@ -65,6 +65,7 @@ module Google
|
|
65
65
|
BackupSource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1.BackupSource").msgclass
|
66
66
|
ContinuousBackupSource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1.ContinuousBackupSource").msgclass
|
67
67
|
Cluster = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1.Cluster").msgclass
|
68
|
+
Cluster::NetworkConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1.Cluster.NetworkConfig").msgclass
|
68
69
|
Cluster::SecondaryConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1.Cluster.SecondaryConfig").msgclass
|
69
70
|
Cluster::PrimaryConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1.Cluster.PrimaryConfig").msgclass
|
70
71
|
Cluster::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1.Cluster.State").enummodule
|
@@ -74,10 +75,12 @@ module Google
|
|
74
75
|
Instance::Node = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1.Instance.Node").msgclass
|
75
76
|
Instance::QueryInsightsInstanceConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig").msgclass
|
76
77
|
Instance::ReadPoolConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1.Instance.ReadPoolConfig").msgclass
|
78
|
+
Instance::ClientConnectionConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1.Instance.ClientConnectionConfig").msgclass
|
77
79
|
Instance::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1.Instance.State").enummodule
|
78
80
|
Instance::InstanceType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1.Instance.InstanceType").enummodule
|
79
81
|
Instance::AvailabilityType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1.Instance.AvailabilityType").enummodule
|
80
82
|
Backup = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1.Backup").msgclass
|
83
|
+
Backup::QuantityBasedExpiry = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1.Backup.QuantityBasedExpiry").msgclass
|
81
84
|
Backup::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1.Backup.State").enummodule
|
82
85
|
Backup::Type = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1.Backup.Type").enummodule
|
83
86
|
SupportedDatabaseFlag = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1.SupportedDatabaseFlag").msgclass
|
@@ -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
|
@@ -254,9 +254,9 @@ module Google
|
|
254
254
|
# Whether ContinuousBackup is enabled.
|
255
255
|
# @!attribute [rw] recovery_window_days
|
256
256
|
# @return [::Integer]
|
257
|
-
# The number of days
|
258
|
-
#
|
259
|
-
# days.
|
257
|
+
# The number of days that are eligible to restore from using PITR. To support
|
258
|
+
# the entire recovery window, backups and logs are retained for one day more
|
259
|
+
# than the recovery window. If not set, defaults to 14 days.
|
260
260
|
# @!attribute [rw] encryption_config
|
261
261
|
# @return [::Google::Cloud::AlloyDB::V1::EncryptionConfig]
|
262
262
|
# The encryption config can be specified to encrypt the
|
@@ -365,18 +365,21 @@ module Google
|
|
365
365
|
# populated at the Cluster creation time or the Cluster promotion
|
366
366
|
# time. The cluster type is determined by which RPC was used to create
|
367
367
|
# the cluster (i.e. `CreateCluster` vs. `CreateSecondaryCluster`
|
368
|
-
# @!attribute [
|
368
|
+
# @!attribute [rw] database_version
|
369
369
|
# @return [::Google::Cloud::AlloyDB::V1::DatabaseVersion]
|
370
|
-
#
|
371
|
-
#
|
372
|
-
#
|
370
|
+
# Optional. The database engine major version. This is an optional field and
|
371
|
+
# it is populated at the Cluster creation time. If a database version is not
|
372
|
+
# supplied at cluster creation time, then a default database version will
|
373
|
+
# be used.
|
374
|
+
# @!attribute [rw] network_config
|
375
|
+
# @return [::Google::Cloud::AlloyDB::V1::Cluster::NetworkConfig]
|
373
376
|
# @!attribute [rw] network
|
374
377
|
# @return [::String]
|
375
378
|
# Required. The resource link for the VPC network in which cluster resources
|
376
379
|
# are created and from which they are accessible via Private IP. The network
|
377
380
|
# must belong to the same project as the cluster. It is specified in the
|
378
|
-
# form: "projects/\\{
|
379
|
-
#
|
381
|
+
# form: "projects/\\{project}/global/networks/\\{network_id}". This is required
|
382
|
+
# to create a cluster. Deprecated, use network_config.network instead.
|
380
383
|
# @!attribute [rw] etag
|
381
384
|
# @return [::String]
|
382
385
|
# For Resource freshness validation (https://google.aip.dev/154)
|
@@ -434,6 +437,29 @@ module Google
|
|
434
437
|
include ::Google::Protobuf::MessageExts
|
435
438
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
436
439
|
|
440
|
+
# Metadata related to network configuration.
|
441
|
+
# @!attribute [rw] network
|
442
|
+
# @return [::String]
|
443
|
+
# Required. The resource link for the VPC network in which cluster
|
444
|
+
# resources are created and from which they are accessible via Private IP.
|
445
|
+
# The network must belong to the same project as the cluster. It is
|
446
|
+
# specified in the form:
|
447
|
+
# "projects/\\{project_number}/global/networks/\\{network_id}". This is
|
448
|
+
# required to create a cluster.
|
449
|
+
# @!attribute [rw] allocated_ip_range
|
450
|
+
# @return [::String]
|
451
|
+
# Optional. Name of the allocated IP range for the private IP AlloyDB
|
452
|
+
# cluster, for example: "google-managed-services-default". If set, the
|
453
|
+
# instance IPs for this cluster will be created in the allocated range. The
|
454
|
+
# range name must comply with RFC 1035. Specifically, the name must be 1-63
|
455
|
+
# characters long and match the regular expression
|
456
|
+
# [a-z]([-a-z0-9]*[a-z0-9])?.
|
457
|
+
# Field name is intended to be consistent with CloudSQL.
|
458
|
+
class NetworkConfig
|
459
|
+
include ::Google::Protobuf::MessageExts
|
460
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
461
|
+
end
|
462
|
+
|
437
463
|
# Configuration information for the secondary cluster. This should be set
|
438
464
|
# if and only if the cluster is of type SECONDARY.
|
439
465
|
# @!attribute [rw] primary_cluster_name
|
@@ -637,6 +663,9 @@ module Google
|
|
637
663
|
# Annotations to allow client tools to store small amount of arbitrary data.
|
638
664
|
# This is distinct from labels.
|
639
665
|
# https://google.aip.dev/128
|
666
|
+
# @!attribute [rw] client_connection_config
|
667
|
+
# @return [::Google::Cloud::AlloyDB::V1::Instance::ClientConnectionConfig]
|
668
|
+
# Optional. Client connection specific configurations
|
640
669
|
class Instance
|
641
670
|
include ::Google::Protobuf::MessageExts
|
642
671
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -705,6 +734,19 @@ module Google
|
|
705
734
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
706
735
|
end
|
707
736
|
|
737
|
+
# Client connection configuration
|
738
|
+
# @!attribute [rw] require_connectors
|
739
|
+
# @return [::Boolean]
|
740
|
+
# Optional. Configuration to enforce connectors only (ex: AuthProxy)
|
741
|
+
# connections to the database.
|
742
|
+
# @!attribute [rw] ssl_config
|
743
|
+
# @return [::Google::Cloud::AlloyDB::V1::SslConfig]
|
744
|
+
# Optional. SSL config option for this instance.
|
745
|
+
class ClientConnectionConfig
|
746
|
+
include ::Google::Protobuf::MessageExts
|
747
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
748
|
+
end
|
749
|
+
|
708
750
|
# @!attribute [rw] key
|
709
751
|
# @return [::String]
|
710
752
|
# @!attribute [rw] value
|
@@ -885,10 +927,46 @@ module Google
|
|
885
927
|
# Output only. The time at which after the backup is eligible to be garbage
|
886
928
|
# collected. It is the duration specified by the backup's retention policy,
|
887
929
|
# added to the backup's create_time.
|
930
|
+
# @!attribute [r] expiry_quantity
|
931
|
+
# @return [::Google::Cloud::AlloyDB::V1::Backup::QuantityBasedExpiry]
|
932
|
+
# Output only. The QuantityBasedExpiry of the backup, specified by the
|
933
|
+
# backup's retention policy. Once the expiry quantity is over retention, the
|
934
|
+
# backup is eligible to be garbage collected.
|
935
|
+
# @!attribute [r] database_version
|
936
|
+
# @return [::Google::Cloud::AlloyDB::V1::DatabaseVersion]
|
937
|
+
# Output only. The database engine major version of the cluster this backup
|
938
|
+
# was created from. Any restored cluster created from this backup will have
|
939
|
+
# the same database version.
|
888
940
|
class Backup
|
889
941
|
include ::Google::Protobuf::MessageExts
|
890
942
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
891
943
|
|
944
|
+
# A backup's position in a quantity-based retention queue, of backups with
|
945
|
+
# the same source cluster and type, with length, retention, specified by the
|
946
|
+
# backup's retention policy.
|
947
|
+
# Once the position is greater than the retention, the backup is eligible to
|
948
|
+
# be garbage collected.
|
949
|
+
#
|
950
|
+
# Example: 5 backups from the same source cluster and type with a
|
951
|
+
# quantity-based retention of 3 and denoted by backup_id (position,
|
952
|
+
# retention).
|
953
|
+
#
|
954
|
+
# Safe: backup_5 (1, 3), backup_4, (2, 3), backup_3 (3, 3).
|
955
|
+
# Awaiting garbage collection: backup_2 (4, 3), backup_1 (5, 3)
|
956
|
+
# @!attribute [r] retention_count
|
957
|
+
# @return [::Integer]
|
958
|
+
# Output only. The backup's position among its backups with the same source
|
959
|
+
# cluster and type, by descending chronological order create time(i.e.
|
960
|
+
# newest first).
|
961
|
+
# @!attribute [r] total_retention_count
|
962
|
+
# @return [::Integer]
|
963
|
+
# Output only. The length of the quantity-based queue, specified by the
|
964
|
+
# backup's retention policy.
|
965
|
+
class QuantityBasedExpiry
|
966
|
+
include ::Google::Protobuf::MessageExts
|
967
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
968
|
+
end
|
969
|
+
|
892
970
|
# @!attribute [rw] key
|
893
971
|
# @return [::String]
|
894
972
|
# @!attribute [rw] value
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-alloy_db-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.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-22 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
|
@@ -271,7 +271,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
271
271
|
- !ruby/object:Gem::Version
|
272
272
|
version: '0'
|
273
273
|
requirements: []
|
274
|
-
rubygems_version: 3.4.
|
274
|
+
rubygems_version: 3.4.19
|
275
275
|
signing_key:
|
276
276
|
specification_version: 4
|
277
277
|
summary: AlloyDB for PostgreSQL is an open source-compatible database service that
|