google-cloud-alloy_db-v1 0.8.2 → 0.9.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -34,6 +34,9 @@ module Google
34
34
  # Service describing handlers for resources
35
35
  #
36
36
  class Client
37
+ # @private
38
+ API_VERSION = ""
39
+
37
40
  # @private
38
41
  DEFAULT_ENDPOINT_TEMPLATE = "alloydb.$UNIVERSE_DOMAIN$"
39
42
 
@@ -315,12 +318,13 @@ module Google
315
318
  # Customize the options with defaults
316
319
  call_metadata = @config.rpcs.list_clusters.metadata.to_h
317
320
 
318
- # Set x-goog-api-client and x-goog-user-project headers
321
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
319
322
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
320
323
  lib_name: @config.lib_name, lib_version: @config.lib_version,
321
324
  gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION,
322
325
  transports_version_send: [:rest]
323
326
 
327
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
324
328
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
325
329
 
326
330
  options.apply_defaults timeout: @config.rpcs.list_clusters.timeout,
@@ -397,12 +401,13 @@ module Google
397
401
  # Customize the options with defaults
398
402
  call_metadata = @config.rpcs.get_cluster.metadata.to_h
399
403
 
400
- # Set x-goog-api-client and x-goog-user-project headers
404
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
401
405
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
402
406
  lib_name: @config.lib_name, lib_version: @config.lib_version,
403
407
  gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION,
404
408
  transports_version_send: [:rest]
405
409
 
410
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
406
411
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
407
412
 
408
413
  options.apply_defaults timeout: @config.rpcs.get_cluster.timeout,
@@ -505,12 +510,13 @@ module Google
505
510
  # Customize the options with defaults
506
511
  call_metadata = @config.rpcs.create_cluster.metadata.to_h
507
512
 
508
- # Set x-goog-api-client and x-goog-user-project headers
513
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
509
514
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
510
515
  lib_name: @config.lib_name, lib_version: @config.lib_version,
511
516
  gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION,
512
517
  transports_version_send: [:rest]
513
518
 
519
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
514
520
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
515
521
 
516
522
  options.apply_defaults timeout: @config.rpcs.create_cluster.timeout,
@@ -618,12 +624,13 @@ module Google
618
624
  # Customize the options with defaults
619
625
  call_metadata = @config.rpcs.update_cluster.metadata.to_h
620
626
 
621
- # Set x-goog-api-client and x-goog-user-project headers
627
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
622
628
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
623
629
  lib_name: @config.lib_name, lib_version: @config.lib_version,
624
630
  gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION,
625
631
  transports_version_send: [:rest]
626
632
 
633
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
627
634
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
628
635
 
629
636
  options.apply_defaults timeout: @config.rpcs.update_cluster.timeout,
@@ -728,12 +735,13 @@ module Google
728
735
  # Customize the options with defaults
729
736
  call_metadata = @config.rpcs.delete_cluster.metadata.to_h
730
737
 
731
- # Set x-goog-api-client and x-goog-user-project headers
738
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
732
739
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
733
740
  lib_name: @config.lib_name, lib_version: @config.lib_version,
734
741
  gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION,
735
742
  transports_version_send: [:rest]
736
743
 
744
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
737
745
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
738
746
 
739
747
  options.apply_defaults timeout: @config.rpcs.delete_cluster.timeout,
@@ -839,12 +847,13 @@ module Google
839
847
  # Customize the options with defaults
840
848
  call_metadata = @config.rpcs.promote_cluster.metadata.to_h
841
849
 
842
- # Set x-goog-api-client and x-goog-user-project headers
850
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
843
851
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
844
852
  lib_name: @config.lib_name, lib_version: @config.lib_version,
845
853
  gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION,
846
854
  transports_version_send: [:rest]
847
855
 
856
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
848
857
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
849
858
 
850
859
  options.apply_defaults timeout: @config.rpcs.promote_cluster.timeout,
@@ -955,12 +964,13 @@ module Google
955
964
  # Customize the options with defaults
956
965
  call_metadata = @config.rpcs.restore_cluster.metadata.to_h
957
966
 
958
- # Set x-goog-api-client and x-goog-user-project headers
967
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
959
968
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
960
969
  lib_name: @config.lib_name, lib_version: @config.lib_version,
961
970
  gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION,
962
971
  transports_version_send: [:rest]
963
972
 
973
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
964
974
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
965
975
 
966
976
  options.apply_defaults timeout: @config.rpcs.restore_cluster.timeout,
@@ -1065,12 +1075,13 @@ module Google
1065
1075
  # Customize the options with defaults
1066
1076
  call_metadata = @config.rpcs.create_secondary_cluster.metadata.to_h
1067
1077
 
1068
- # Set x-goog-api-client and x-goog-user-project headers
1078
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1069
1079
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1070
1080
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1071
1081
  gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION,
1072
1082
  transports_version_send: [:rest]
1073
1083
 
1084
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1074
1085
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1075
1086
 
1076
1087
  options.apply_defaults timeout: @config.rpcs.create_secondary_cluster.timeout,
@@ -1162,12 +1173,13 @@ module Google
1162
1173
  # Customize the options with defaults
1163
1174
  call_metadata = @config.rpcs.list_instances.metadata.to_h
1164
1175
 
1165
- # Set x-goog-api-client and x-goog-user-project headers
1176
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1166
1177
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1167
1178
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1168
1179
  gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION,
1169
1180
  transports_version_send: [:rest]
1170
1181
 
1182
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1171
1183
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1172
1184
 
1173
1185
  options.apply_defaults timeout: @config.rpcs.list_instances.timeout,
@@ -1243,12 +1255,13 @@ module Google
1243
1255
  # Customize the options with defaults
1244
1256
  call_metadata = @config.rpcs.get_instance.metadata.to_h
1245
1257
 
1246
- # Set x-goog-api-client and x-goog-user-project headers
1258
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1247
1259
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1248
1260
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1249
1261
  gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION,
1250
1262
  transports_version_send: [:rest]
1251
1263
 
1264
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1252
1265
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1253
1266
 
1254
1267
  options.apply_defaults timeout: @config.rpcs.get_instance.timeout,
@@ -1351,12 +1364,13 @@ module Google
1351
1364
  # Customize the options with defaults
1352
1365
  call_metadata = @config.rpcs.create_instance.metadata.to_h
1353
1366
 
1354
- # Set x-goog-api-client and x-goog-user-project headers
1367
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1355
1368
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1356
1369
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1357
1370
  gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION,
1358
1371
  transports_version_send: [:rest]
1359
1372
 
1373
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1360
1374
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1361
1375
 
1362
1376
  options.apply_defaults timeout: @config.rpcs.create_instance.timeout,
@@ -1460,12 +1474,13 @@ module Google
1460
1474
  # Customize the options with defaults
1461
1475
  call_metadata = @config.rpcs.create_secondary_instance.metadata.to_h
1462
1476
 
1463
- # Set x-goog-api-client and x-goog-user-project headers
1477
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1464
1478
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1465
1479
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1466
1480
  gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION,
1467
1481
  transports_version_send: [:rest]
1468
1482
 
1483
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1469
1484
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1470
1485
 
1471
1486
  options.apply_defaults timeout: @config.rpcs.create_secondary_instance.timeout,
@@ -1571,12 +1586,13 @@ module Google
1571
1586
  # Customize the options with defaults
1572
1587
  call_metadata = @config.rpcs.batch_create_instances.metadata.to_h
1573
1588
 
1574
- # Set x-goog-api-client and x-goog-user-project headers
1589
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1575
1590
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1576
1591
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1577
1592
  gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION,
1578
1593
  transports_version_send: [:rest]
1579
1594
 
1595
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1580
1596
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1581
1597
 
1582
1598
  options.apply_defaults timeout: @config.rpcs.batch_create_instances.timeout,
@@ -1684,12 +1700,13 @@ module Google
1684
1700
  # Customize the options with defaults
1685
1701
  call_metadata = @config.rpcs.update_instance.metadata.to_h
1686
1702
 
1687
- # Set x-goog-api-client and x-goog-user-project headers
1703
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1688
1704
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1689
1705
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1690
1706
  gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION,
1691
1707
  transports_version_send: [:rest]
1692
1708
 
1709
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1693
1710
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1694
1711
 
1695
1712
  options.apply_defaults timeout: @config.rpcs.update_instance.timeout,
@@ -1792,12 +1809,13 @@ module Google
1792
1809
  # Customize the options with defaults
1793
1810
  call_metadata = @config.rpcs.delete_instance.metadata.to_h
1794
1811
 
1795
- # Set x-goog-api-client and x-goog-user-project headers
1812
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1796
1813
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1797
1814
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1798
1815
  gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION,
1799
1816
  transports_version_send: [:rest]
1800
1817
 
1818
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1801
1819
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1802
1820
 
1803
1821
  options.apply_defaults timeout: @config.rpcs.delete_instance.timeout,
@@ -1898,12 +1916,13 @@ module Google
1898
1916
  # Customize the options with defaults
1899
1917
  call_metadata = @config.rpcs.failover_instance.metadata.to_h
1900
1918
 
1901
- # Set x-goog-api-client and x-goog-user-project headers
1919
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1902
1920
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1903
1921
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1904
1922
  gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION,
1905
1923
  transports_version_send: [:rest]
1906
1924
 
1925
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1907
1926
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1908
1927
 
1909
1928
  options.apply_defaults timeout: @config.rpcs.failover_instance.timeout,
@@ -2006,12 +2025,13 @@ module Google
2006
2025
  # Customize the options with defaults
2007
2026
  call_metadata = @config.rpcs.inject_fault.metadata.to_h
2008
2027
 
2009
- # Set x-goog-api-client and x-goog-user-project headers
2028
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2010
2029
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2011
2030
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2012
2031
  gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION,
2013
2032
  transports_version_send: [:rest]
2014
2033
 
2034
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2015
2035
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2016
2036
 
2017
2037
  options.apply_defaults timeout: @config.rpcs.inject_fault.timeout,
@@ -2111,12 +2131,13 @@ module Google
2111
2131
  # Customize the options with defaults
2112
2132
  call_metadata = @config.rpcs.restart_instance.metadata.to_h
2113
2133
 
2114
- # Set x-goog-api-client and x-goog-user-project headers
2134
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2115
2135
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2116
2136
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2117
2137
  gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION,
2118
2138
  transports_version_send: [:rest]
2119
2139
 
2140
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2120
2141
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2121
2142
 
2122
2143
  options.apply_defaults timeout: @config.rpcs.restart_instance.timeout,
@@ -2203,12 +2224,13 @@ module Google
2203
2224
  # Customize the options with defaults
2204
2225
  call_metadata = @config.rpcs.list_backups.metadata.to_h
2205
2226
 
2206
- # Set x-goog-api-client and x-goog-user-project headers
2227
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2207
2228
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2208
2229
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2209
2230
  gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION,
2210
2231
  transports_version_send: [:rest]
2211
2232
 
2233
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2212
2234
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2213
2235
 
2214
2236
  options.apply_defaults timeout: @config.rpcs.list_backups.timeout,
@@ -2281,12 +2303,13 @@ module Google
2281
2303
  # Customize the options with defaults
2282
2304
  call_metadata = @config.rpcs.get_backup.metadata.to_h
2283
2305
 
2284
- # Set x-goog-api-client and x-goog-user-project headers
2306
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2285
2307
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2286
2308
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2287
2309
  gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION,
2288
2310
  transports_version_send: [:rest]
2289
2311
 
2312
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2290
2313
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2291
2314
 
2292
2315
  options.apply_defaults timeout: @config.rpcs.get_backup.timeout,
@@ -2387,12 +2410,13 @@ module Google
2387
2410
  # Customize the options with defaults
2388
2411
  call_metadata = @config.rpcs.create_backup.metadata.to_h
2389
2412
 
2390
- # Set x-goog-api-client and x-goog-user-project headers
2413
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2391
2414
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2392
2415
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2393
2416
  gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION,
2394
2417
  transports_version_send: [:rest]
2395
2418
 
2419
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2396
2420
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2397
2421
 
2398
2422
  options.apply_defaults timeout: @config.rpcs.create_backup.timeout,
@@ -2499,12 +2523,13 @@ module Google
2499
2523
  # Customize the options with defaults
2500
2524
  call_metadata = @config.rpcs.update_backup.metadata.to_h
2501
2525
 
2502
- # Set x-goog-api-client and x-goog-user-project headers
2526
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2503
2527
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2504
2528
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2505
2529
  gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION,
2506
2530
  transports_version_send: [:rest]
2507
2531
 
2532
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2508
2533
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2509
2534
 
2510
2535
  options.apply_defaults timeout: @config.rpcs.update_backup.timeout,
@@ -2607,12 +2632,13 @@ module Google
2607
2632
  # Customize the options with defaults
2608
2633
  call_metadata = @config.rpcs.delete_backup.metadata.to_h
2609
2634
 
2610
- # Set x-goog-api-client and x-goog-user-project headers
2635
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2611
2636
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2612
2637
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2613
2638
  gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION,
2614
2639
  transports_version_send: [:rest]
2615
2640
 
2641
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2616
2642
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2617
2643
 
2618
2644
  options.apply_defaults timeout: @config.rpcs.delete_backup.timeout,
@@ -2701,12 +2727,13 @@ module Google
2701
2727
  # Customize the options with defaults
2702
2728
  call_metadata = @config.rpcs.list_supported_database_flags.metadata.to_h
2703
2729
 
2704
- # Set x-goog-api-client and x-goog-user-project headers
2730
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2705
2731
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2706
2732
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2707
2733
  gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION,
2708
2734
  transports_version_send: [:rest]
2709
2735
 
2736
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2710
2737
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2711
2738
 
2712
2739
  options.apply_defaults timeout: @config.rpcs.list_supported_database_flags.timeout,
@@ -2811,12 +2838,13 @@ module Google
2811
2838
  # Customize the options with defaults
2812
2839
  call_metadata = @config.rpcs.generate_client_certificate.metadata.to_h
2813
2840
 
2814
- # Set x-goog-api-client and x-goog-user-project headers
2841
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2815
2842
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2816
2843
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2817
2844
  gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION,
2818
2845
  transports_version_send: [:rest]
2819
2846
 
2847
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2820
2848
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2821
2849
 
2822
2850
  options.apply_defaults timeout: @config.rpcs.generate_client_certificate.timeout,
@@ -2904,12 +2932,13 @@ module Google
2904
2932
  # Customize the options with defaults
2905
2933
  call_metadata = @config.rpcs.get_connection_info.metadata.to_h
2906
2934
 
2907
- # Set x-goog-api-client and x-goog-user-project headers
2935
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2908
2936
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2909
2937
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2910
2938
  gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION,
2911
2939
  transports_version_send: [:rest]
2912
2940
 
2941
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2913
2942
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2914
2943
 
2915
2944
  options.apply_defaults timeout: @config.rpcs.get_connection_info.timeout,
@@ -2995,12 +3024,13 @@ module Google
2995
3024
  # Customize the options with defaults
2996
3025
  call_metadata = @config.rpcs.list_users.metadata.to_h
2997
3026
 
2998
- # Set x-goog-api-client and x-goog-user-project headers
3027
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2999
3028
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3000
3029
  lib_name: @config.lib_name, lib_version: @config.lib_version,
3001
3030
  gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION,
3002
3031
  transports_version_send: [:rest]
3003
3032
 
3033
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
3004
3034
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3005
3035
 
3006
3036
  options.apply_defaults timeout: @config.rpcs.list_users.timeout,
@@ -3074,12 +3104,13 @@ module Google
3074
3104
  # Customize the options with defaults
3075
3105
  call_metadata = @config.rpcs.get_user.metadata.to_h
3076
3106
 
3077
- # Set x-goog-api-client and x-goog-user-project headers
3107
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
3078
3108
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3079
3109
  lib_name: @config.lib_name, lib_version: @config.lib_version,
3080
3110
  gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION,
3081
3111
  transports_version_send: [:rest]
3082
3112
 
3113
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
3083
3114
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3084
3115
 
3085
3116
  options.apply_defaults timeout: @config.rpcs.get_user.timeout,
@@ -3173,12 +3204,13 @@ module Google
3173
3204
  # Customize the options with defaults
3174
3205
  call_metadata = @config.rpcs.create_user.metadata.to_h
3175
3206
 
3176
- # Set x-goog-api-client and x-goog-user-project headers
3207
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
3177
3208
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3178
3209
  lib_name: @config.lib_name, lib_version: @config.lib_version,
3179
3210
  gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION,
3180
3211
  transports_version_send: [:rest]
3181
3212
 
3213
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
3182
3214
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3183
3215
 
3184
3216
  options.apply_defaults timeout: @config.rpcs.create_user.timeout,
@@ -3276,12 +3308,13 @@ module Google
3276
3308
  # Customize the options with defaults
3277
3309
  call_metadata = @config.rpcs.update_user.metadata.to_h
3278
3310
 
3279
- # Set x-goog-api-client and x-goog-user-project headers
3311
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
3280
3312
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3281
3313
  lib_name: @config.lib_name, lib_version: @config.lib_version,
3282
3314
  gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION,
3283
3315
  transports_version_send: [:rest]
3284
3316
 
3317
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
3285
3318
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3286
3319
 
3287
3320
  options.apply_defaults timeout: @config.rpcs.update_user.timeout,
@@ -3372,12 +3405,13 @@ module Google
3372
3405
  # Customize the options with defaults
3373
3406
  call_metadata = @config.rpcs.delete_user.metadata.to_h
3374
3407
 
3375
- # Set x-goog-api-client and x-goog-user-project headers
3408
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
3376
3409
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3377
3410
  lib_name: @config.lib_name, lib_version: @config.lib_version,
3378
3411
  gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION,
3379
3412
  transports_version_send: [:rest]
3380
3413
 
3414
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
3381
3415
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3382
3416
 
3383
3417
  options.apply_defaults timeout: @config.rpcs.delete_user.timeout,
@@ -26,6 +26,9 @@ module Google
26
26
  module Rest
27
27
  # Service that implements Longrunning Operations API.
28
28
  class Operations
29
+ # @private
30
+ API_VERSION = ""
31
+
29
32
  # @private
30
33
  DEFAULT_ENDPOINT_TEMPLATE = "alloydb.$UNIVERSE_DOMAIN$"
31
34
 
@@ -181,12 +184,13 @@ module Google
181
184
  # Customize the options with defaults
182
185
  call_metadata = @config.rpcs.list_operations.metadata.to_h
183
186
 
184
- # Set x-goog-api-client and x-goog-user-project headers
187
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
185
188
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
186
189
  lib_name: @config.lib_name, lib_version: @config.lib_version,
187
190
  gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION,
188
191
  transports_version_send: [:rest]
189
192
 
193
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
190
194
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
191
195
 
192
196
  options.apply_defaults timeout: @config.rpcs.list_operations.timeout,
@@ -269,12 +273,13 @@ module Google
269
273
  # Customize the options with defaults
270
274
  call_metadata = @config.rpcs.get_operation.metadata.to_h
271
275
 
272
- # Set x-goog-api-client and x-goog-user-project headers
276
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
273
277
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
274
278
  lib_name: @config.lib_name, lib_version: @config.lib_version,
275
279
  gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION,
276
280
  transports_version_send: [:rest]
277
281
 
282
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
278
283
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
279
284
 
280
285
  options.apply_defaults timeout: @config.rpcs.get_operation.timeout,
@@ -351,12 +356,13 @@ module Google
351
356
  # Customize the options with defaults
352
357
  call_metadata = @config.rpcs.delete_operation.metadata.to_h
353
358
 
354
- # Set x-goog-api-client and x-goog-user-project headers
359
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
355
360
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
356
361
  lib_name: @config.lib_name, lib_version: @config.lib_version,
357
362
  gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION,
358
363
  transports_version_send: [:rest]
359
364
 
365
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
360
366
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
361
367
 
362
368
  options.apply_defaults timeout: @config.rpcs.delete_operation.timeout,
@@ -438,12 +444,13 @@ module Google
438
444
  # Customize the options with defaults
439
445
  call_metadata = @config.rpcs.cancel_operation.metadata.to_h
440
446
 
441
- # Set x-goog-api-client and x-goog-user-project headers
447
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
442
448
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
443
449
  lib_name: @config.lib_name, lib_version: @config.lib_version,
444
450
  gapic_version: ::Google::Cloud::AlloyDB::V1::VERSION,
445
451
  transports_version_send: [:rest]
446
452
 
453
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
447
454
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
448
455
 
449
456
  options.apply_defaults timeout: @config.rpcs.cancel_operation.timeout,
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module AlloyDB
23
23
  module V1
24
- VERSION = "0.8.2"
24
+ VERSION = "0.9.1"
25
25
  end
26
26
  end
27
27
  end
@@ -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\"\xe6\x01\n\x0fMigrationSource\x12\x17\n\thost_port\x18\x01 \x01(\tB\x04\xe2\x41\x01\x03\x12\x1a\n\x0creference_id\x18\x02 \x01(\tB\x04\xe2\x41\x01\x03\x12W\n\x0bsource_type\x18\x03 \x01(\x0e\x32<.google.cloud.alloydb.v1.MigrationSource.MigrationSourceTypeB\x04\xe2\x41\x01\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\"\x88\x02\n\x0e\x45ncryptionInfo\x12K\n\x0f\x65ncryption_type\x18\x01 \x01(\x0e\x32,.google.cloud.alloydb.v1.EncryptionInfo.TypeB\x04\xe2\x41\x01\x03\x12K\n\x10kms_key_versions\x18\x02 \x03(\tB1\xe2\x41\x01\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\"\x80\x03\n\tSslConfig\x12\x42\n\x08ssl_mode\x18\x01 \x01(\x0e\x32*.google.cloud.alloydb.v1.SslConfig.SslModeB\x04\xe2\x41\x01\x01\x12\x44\n\tca_source\x18\x02 \x01(\x0e\x32+.google.cloud.alloydb.v1.SslConfig.CaSourceB\x04\xe2\x41\x01\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\"\xe6\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\x12J\n\x11\x65ncryption_config\x18\x08 \x01(\x0b\x32).google.cloud.alloydb.v1.EncryptionConfigB\x04\xe2\x41\x01\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\"\x8a\x02\n\x14\x43ontinuousBackupInfo\x12\x46\n\x0f\x65ncryption_info\x18\x01 \x01(\x0b\x32\'.google.cloud.alloydb.v1.EncryptionInfoB\x04\xe2\x41\x01\x03\x12\x36\n\x0c\x65nabled_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12.\n\x08schedule\x18\x03 \x03(\x0e\x32\x16.google.type.DayOfWeekB\x04\xe2\x41\x01\x03\x12\x42\n\x18\x65\x61rliest_restorable_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\"e\n\x0c\x42\x61\x63kupSource\x12\x18\n\nbackup_uid\x18\x02 \x01(\tB\x04\xe2\x41\x01\x03\x12;\n\x0b\x62\x61\x63kup_name\x18\x01 \x01(\tB&\xe2\x41\x01\x02\xfa\x41\x1f\n\x1d\x61lloydb.googleapis.com/Backup\"h\n\x16\x43ontinuousBackupSource\x12\x15\n\x07\x63luster\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12\x37\n\rpoint_in_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x02\"\xc2\x11\n\x07\x43luster\x12\x44\n\rbackup_source\x18\x0f \x01(\x0b\x32%.google.cloud.alloydb.v1.BackupSourceB\x04\xe2\x41\x01\x03H\x00\x12J\n\x10migration_source\x18\x10 \x01(\x0b\x32(.google.cloud.alloydb.v1.MigrationSourceB\x04\xe2\x41\x01\x03H\x00\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x03\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x11\n\x03uid\x18\x03 \x01(\tB\x04\xe2\x41\x01\x03\x12\x35\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x35\n\x0bupdate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x35\n\x0b\x64\x65lete_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\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\x04\xe2\x41\x01\x03\x12H\n\x0c\x63luster_type\x18\x18 \x01(\x0e\x32,.google.cloud.alloydb.v1.Cluster.ClusterTypeB\x04\xe2\x41\x01\x03\x12H\n\x10\x64\x61tabase_version\x18\t \x01(\x0e\x32(.google.cloud.alloydb.v1.DatabaseVersionB\x04\xe2\x41\x01\x01\x12L\n\x0enetwork_config\x18\x1d \x01(\x0b\x32..google.cloud.alloydb.v1.Cluster.NetworkConfigB\x04\xe2\x41\x01\x01\x12:\n\x07network\x18\n \x01(\tB)\x18\x01\xe2\x41\x01\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\x19\n\x0breconciling\x18\r \x01(\x08\x42\x04\xe2\x41\x01\x03\x12\x41\n\x0cinitial_user\x18\x0e \x01(\x0b\x32%.google.cloud.alloydb.v1.UserPasswordB\x04\xe2\x41\x01\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\x12J\n\x11\x65ncryption_config\x18\x13 \x01(\x0b\x32).google.cloud.alloydb.v1.EncryptionConfigB\x04\xe2\x41\x01\x01\x12\x46\n\x0f\x65ncryption_info\x18\x14 \x01(\x0b\x32\'.google.cloud.alloydb.v1.EncryptionInfoB\x04\xe2\x41\x01\x03\x12W\n\x18\x63ontinuous_backup_config\x18\x1b \x01(\x0b\x32/.google.cloud.alloydb.v1.ContinuousBackupConfigB\x04\xe2\x41\x01\x01\x12S\n\x16\x63ontinuous_backup_info\x18\x1c \x01(\x0b\x32-.google.cloud.alloydb.v1.ContinuousBackupInfoB\x04\xe2\x41\x01\x03\x12J\n\x10secondary_config\x18\x16 \x01(\x0b\x32\x30.google.cloud.alloydb.v1.Cluster.SecondaryConfig\x12L\n\x0eprimary_config\x18\x17 \x01(\x0b\x32..google.cloud.alloydb.v1.Cluster.PrimaryConfigB\x04\xe2\x41\x01\x03\x1ak\n\rNetworkConfig\x12\x38\n\x07network\x18\x01 \x01(\tB\'\xe2\x41\x01\x02\xfa\x41 \n\x1e\x63ompute.googleapis.com/Network\x12 \n\x12\x61llocated_ip_range\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01\x1a/\n\x0fSecondaryConfig\x12\x1c\n\x14primary_cluster_name\x18\x01 \x01(\t\x1a\x36\n\rPrimaryConfig\x12%\n\x17secondary_cluster_names\x18\x01 \x03(\tB\x04\xe2\x41\x01\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\"\x9a\x12\n\x08Instance\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x03\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x11\n\x03uid\x18\x03 \x01(\tB\x04\xe2\x41\x01\x03\x12\x35\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x35\n\x0bupdate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x35\n\x0b\x64\x65lete_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\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\x04\xe2\x41\x01\x03\x12K\n\rinstance_type\x18\t \x01(\x0e\x32..google.cloud.alloydb.v1.Instance.InstanceTypeB\x04\xe2\x41\x01\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\x43\n\rwritable_node\x18\x13 \x01(\x0b\x32&.google.cloud.alloydb.v1.Instance.NodeB\x04\xe2\x41\x01\x03\x12;\n\x05nodes\x18\x14 \x03(\x0b\x32&.google.cloud.alloydb.v1.Instance.NodeB\x04\xe2\x41\x01\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\x18\n\nip_address\x18\x0f \x01(\tB\x04\xe2\x41\x01\x03\x12\x19\n\x0breconciling\x18\x10 \x01(\x08\x42\x04\xe2\x41\x01\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\x04\xe2\x41\x01\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\x1ax\n\x16\x43lientConnectionConfig\x12 \n\x12require_connectors\x18\x01 \x01(\x08\x42\x04\xe2\x41\x01\x01\x12<\n\nssl_config\x18\x02 \x01(\x0b\x32\".google.cloud.alloydb.v1.SslConfigB\x04\xe2\x41\x01\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\"\xe2\x01\n\x0e\x43onnectionInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x18\n\nip_address\x18\x02 \x01(\tB\x04\xe2\x41\x01\x03\x12\x1a\n\x0cinstance_uid\x18\x04 \x01(\tB\x04\xe2\x41\x01\x03:\x8b\x01\xea\x41\x87\x01\n%alloydb.googleapis.com/ConnectionInfo\x12^projects/{project}/locations/{location}/clusters/{cluster}/instances/{instance}/connectionInfo\"\xb7\x0b\n\x06\x42\x61\x63kup\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x03\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x11\n\x03uid\x18\x03 \x01(\tB\x04\xe2\x41\x01\x03\x12\x35\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x35\n\x0bupdate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x35\n\x0b\x64\x65lete_time\x18\x0f \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12;\n\x06labels\x18\x06 \x03(\x0b\x32+.google.cloud.alloydb.v1.Backup.LabelsEntry\x12:\n\x05state\x18\x07 \x01(\x0e\x32%.google.cloud.alloydb.v1.Backup.StateB\x04\xe2\x41\x01\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\x19\n\x0b\x63luster_uid\x18\x12 \x01(\tB\x04\xe2\x41\x01\x03\x12=\n\x0c\x63luster_name\x18\n \x01(\tB\'\xe2\x41\x01\x02\xfa\x41 \n\x1e\x61lloydb.googleapis.com/Cluster\x12\x19\n\x0breconciling\x18\x0b \x01(\x08\x42\x04\xe2\x41\x01\x03\x12J\n\x11\x65ncryption_config\x18\x0c \x01(\x0b\x32).google.cloud.alloydb.v1.EncryptionConfigB\x04\xe2\x41\x01\x01\x12\x46\n\x0f\x65ncryption_info\x18\r \x01(\x0b\x32\'.google.cloud.alloydb.v1.EncryptionInfoB\x04\xe2\x41\x01\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\x18\n\nsize_bytes\x18\x11 \x01(\x03\x42\x04\xe2\x41\x01\x03\x12\x35\n\x0b\x65xpiry_time\x18\x13 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12R\n\x0f\x65xpiry_quantity\x18\x14 \x01(\x0b\x32\x33.google.cloud.alloydb.v1.Backup.QuantityBasedExpiryB\x04\xe2\x41\x01\x03\x12H\n\x10\x64\x61tabase_version\x18\x16 \x01(\x0e\x32(.google.cloud.alloydb.v1.DatabaseVersionB\x04\xe2\x41\x01\x03\x1aY\n\x13QuantityBasedExpiry\x12\x1d\n\x0fretention_count\x18\x01 \x01(\x05\x42\x04\xe2\x41\x01\x03\x12#\n\x15total_retention_count\x18\x02 \x01(\x05\x42\x04\xe2\x41\x01\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\"\xd2\x02\n\x04User\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x03\x12\x16\n\x08password\x18\x02 \x01(\tB\x04\xe2\x41\x01\x04\x12\x1c\n\x0e\x64\x61tabase_roles\x18\x04 \x03(\tB\x04\xe2\x41\x01\x01\x12?\n\tuser_type\x18\x05 \x01(\x0e\x32&.google.cloud.alloydb.v1.User.UserTypeB\x04\xe2\x41\x01\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\"\xe0\x01\n\x0e\x43onnectionInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x17\n\nip_address\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x19\n\x0cinstance_uid\x18\x04 \x01(\tB\x03\xe0\x41\x03:\x8b\x01\xea\x41\x87\x01\n%alloydb.googleapis.com/ConnectionInfo\x12^projects/{project}/locations/{location}/clusters/{cluster}/instances/{instance}/connectionInfo\"\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