google-cloud-alloy_db-v1beta 0.2.0 → 0.3.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/v1beta/alloy_db_admin/client.rb +789 -113
- data/lib/google/cloud/alloy_db/v1beta/alloy_db_admin/paths.rb +21 -0
- data/lib/google/cloud/alloy_db/v1beta/alloy_db_admin/rest/client.rb +531 -5
- data/lib/google/cloud/alloy_db/v1beta/alloy_db_admin/rest/service_stub.rb +357 -0
- data/lib/google/cloud/alloy_db/v1beta/version.rb +1 -1
- data/lib/google/cloud/alloydb/v1beta/resources_pb.rb +8 -2
- data/lib/google/cloud/alloydb/v1beta/service_pb.rb +9 -1
- data/lib/google/cloud/alloydb/v1beta/service_services_pb.rb +13 -0
- data/proto_docs/google/cloud/alloydb/v1beta/resources.rb +134 -16
- data/proto_docs/google/cloud/alloydb/v1beta/service.rb +206 -3
- metadata +2 -2
@@ -648,6 +648,44 @@ module Google
|
|
648
648
|
result
|
649
649
|
end
|
650
650
|
|
651
|
+
##
|
652
|
+
# Baseline implementation for the inject_fault REST call
|
653
|
+
#
|
654
|
+
# @param request_pb [::Google::Cloud::AlloyDB::V1beta::InjectFaultRequest]
|
655
|
+
# A request object representing the call parameters. Required.
|
656
|
+
# @param options [::Gapic::CallOptions]
|
657
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
658
|
+
#
|
659
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
660
|
+
# @yieldparam result [::Google::Longrunning::Operation]
|
661
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
662
|
+
#
|
663
|
+
# @return [::Google::Longrunning::Operation]
|
664
|
+
# A result object deserialized from the server's reply
|
665
|
+
def inject_fault request_pb, options = nil
|
666
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
667
|
+
|
668
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_inject_fault_request request_pb
|
669
|
+
query_string_params = if query_string_params.any?
|
670
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
671
|
+
else
|
672
|
+
{}
|
673
|
+
end
|
674
|
+
|
675
|
+
response = @client_stub.make_http_request(
|
676
|
+
verb,
|
677
|
+
uri: uri,
|
678
|
+
body: body || "",
|
679
|
+
params: query_string_params,
|
680
|
+
options: options
|
681
|
+
)
|
682
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
683
|
+
result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
|
684
|
+
|
685
|
+
yield result, operation if block_given?
|
686
|
+
result
|
687
|
+
end
|
688
|
+
|
651
689
|
##
|
652
690
|
# Baseline implementation for the restart_instance REST call
|
653
691
|
#
|
@@ -990,6 +1028,196 @@ module Google
|
|
990
1028
|
result
|
991
1029
|
end
|
992
1030
|
|
1031
|
+
##
|
1032
|
+
# Baseline implementation for the list_users REST call
|
1033
|
+
#
|
1034
|
+
# @param request_pb [::Google::Cloud::AlloyDB::V1beta::ListUsersRequest]
|
1035
|
+
# A request object representing the call parameters. Required.
|
1036
|
+
# @param options [::Gapic::CallOptions]
|
1037
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
1038
|
+
#
|
1039
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
1040
|
+
# @yieldparam result [::Google::Cloud::AlloyDB::V1beta::ListUsersResponse]
|
1041
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
1042
|
+
#
|
1043
|
+
# @return [::Google::Cloud::AlloyDB::V1beta::ListUsersResponse]
|
1044
|
+
# A result object deserialized from the server's reply
|
1045
|
+
def list_users request_pb, options = nil
|
1046
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
1047
|
+
|
1048
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_list_users_request request_pb
|
1049
|
+
query_string_params = if query_string_params.any?
|
1050
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
1051
|
+
else
|
1052
|
+
{}
|
1053
|
+
end
|
1054
|
+
|
1055
|
+
response = @client_stub.make_http_request(
|
1056
|
+
verb,
|
1057
|
+
uri: uri,
|
1058
|
+
body: body || "",
|
1059
|
+
params: query_string_params,
|
1060
|
+
options: options
|
1061
|
+
)
|
1062
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
1063
|
+
result = ::Google::Cloud::AlloyDB::V1beta::ListUsersResponse.decode_json response.body, ignore_unknown_fields: true
|
1064
|
+
|
1065
|
+
yield result, operation if block_given?
|
1066
|
+
result
|
1067
|
+
end
|
1068
|
+
|
1069
|
+
##
|
1070
|
+
# Baseline implementation for the get_user REST call
|
1071
|
+
#
|
1072
|
+
# @param request_pb [::Google::Cloud::AlloyDB::V1beta::GetUserRequest]
|
1073
|
+
# A request object representing the call parameters. Required.
|
1074
|
+
# @param options [::Gapic::CallOptions]
|
1075
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
1076
|
+
#
|
1077
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
1078
|
+
# @yieldparam result [::Google::Cloud::AlloyDB::V1beta::User]
|
1079
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
1080
|
+
#
|
1081
|
+
# @return [::Google::Cloud::AlloyDB::V1beta::User]
|
1082
|
+
# A result object deserialized from the server's reply
|
1083
|
+
def get_user request_pb, options = nil
|
1084
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
1085
|
+
|
1086
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_get_user_request request_pb
|
1087
|
+
query_string_params = if query_string_params.any?
|
1088
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
1089
|
+
else
|
1090
|
+
{}
|
1091
|
+
end
|
1092
|
+
|
1093
|
+
response = @client_stub.make_http_request(
|
1094
|
+
verb,
|
1095
|
+
uri: uri,
|
1096
|
+
body: body || "",
|
1097
|
+
params: query_string_params,
|
1098
|
+
options: options
|
1099
|
+
)
|
1100
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
1101
|
+
result = ::Google::Cloud::AlloyDB::V1beta::User.decode_json response.body, ignore_unknown_fields: true
|
1102
|
+
|
1103
|
+
yield result, operation if block_given?
|
1104
|
+
result
|
1105
|
+
end
|
1106
|
+
|
1107
|
+
##
|
1108
|
+
# Baseline implementation for the create_user REST call
|
1109
|
+
#
|
1110
|
+
# @param request_pb [::Google::Cloud::AlloyDB::V1beta::CreateUserRequest]
|
1111
|
+
# A request object representing the call parameters. Required.
|
1112
|
+
# @param options [::Gapic::CallOptions]
|
1113
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
1114
|
+
#
|
1115
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
1116
|
+
# @yieldparam result [::Google::Cloud::AlloyDB::V1beta::User]
|
1117
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
1118
|
+
#
|
1119
|
+
# @return [::Google::Cloud::AlloyDB::V1beta::User]
|
1120
|
+
# A result object deserialized from the server's reply
|
1121
|
+
def create_user request_pb, options = nil
|
1122
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
1123
|
+
|
1124
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_create_user_request request_pb
|
1125
|
+
query_string_params = if query_string_params.any?
|
1126
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
1127
|
+
else
|
1128
|
+
{}
|
1129
|
+
end
|
1130
|
+
|
1131
|
+
response = @client_stub.make_http_request(
|
1132
|
+
verb,
|
1133
|
+
uri: uri,
|
1134
|
+
body: body || "",
|
1135
|
+
params: query_string_params,
|
1136
|
+
options: options
|
1137
|
+
)
|
1138
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
1139
|
+
result = ::Google::Cloud::AlloyDB::V1beta::User.decode_json response.body, ignore_unknown_fields: true
|
1140
|
+
|
1141
|
+
yield result, operation if block_given?
|
1142
|
+
result
|
1143
|
+
end
|
1144
|
+
|
1145
|
+
##
|
1146
|
+
# Baseline implementation for the update_user REST call
|
1147
|
+
#
|
1148
|
+
# @param request_pb [::Google::Cloud::AlloyDB::V1beta::UpdateUserRequest]
|
1149
|
+
# A request object representing the call parameters. Required.
|
1150
|
+
# @param options [::Gapic::CallOptions]
|
1151
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
1152
|
+
#
|
1153
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
1154
|
+
# @yieldparam result [::Google::Cloud::AlloyDB::V1beta::User]
|
1155
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
1156
|
+
#
|
1157
|
+
# @return [::Google::Cloud::AlloyDB::V1beta::User]
|
1158
|
+
# A result object deserialized from the server's reply
|
1159
|
+
def update_user request_pb, options = nil
|
1160
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
1161
|
+
|
1162
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_update_user_request request_pb
|
1163
|
+
query_string_params = if query_string_params.any?
|
1164
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
1165
|
+
else
|
1166
|
+
{}
|
1167
|
+
end
|
1168
|
+
|
1169
|
+
response = @client_stub.make_http_request(
|
1170
|
+
verb,
|
1171
|
+
uri: uri,
|
1172
|
+
body: body || "",
|
1173
|
+
params: query_string_params,
|
1174
|
+
options: options
|
1175
|
+
)
|
1176
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
1177
|
+
result = ::Google::Cloud::AlloyDB::V1beta::User.decode_json response.body, ignore_unknown_fields: true
|
1178
|
+
|
1179
|
+
yield result, operation if block_given?
|
1180
|
+
result
|
1181
|
+
end
|
1182
|
+
|
1183
|
+
##
|
1184
|
+
# Baseline implementation for the delete_user REST call
|
1185
|
+
#
|
1186
|
+
# @param request_pb [::Google::Cloud::AlloyDB::V1beta::DeleteUserRequest]
|
1187
|
+
# A request object representing the call parameters. Required.
|
1188
|
+
# @param options [::Gapic::CallOptions]
|
1189
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
1190
|
+
#
|
1191
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
1192
|
+
# @yieldparam result [::Google::Protobuf::Empty]
|
1193
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
1194
|
+
#
|
1195
|
+
# @return [::Google::Protobuf::Empty]
|
1196
|
+
# A result object deserialized from the server's reply
|
1197
|
+
def delete_user request_pb, options = nil
|
1198
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
1199
|
+
|
1200
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_delete_user_request request_pb
|
1201
|
+
query_string_params = if query_string_params.any?
|
1202
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
1203
|
+
else
|
1204
|
+
{}
|
1205
|
+
end
|
1206
|
+
|
1207
|
+
response = @client_stub.make_http_request(
|
1208
|
+
verb,
|
1209
|
+
uri: uri,
|
1210
|
+
body: body || "",
|
1211
|
+
params: query_string_params,
|
1212
|
+
options: options
|
1213
|
+
)
|
1214
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
1215
|
+
result = ::Google::Protobuf::Empty.decode_json response.body, ignore_unknown_fields: true
|
1216
|
+
|
1217
|
+
yield result, operation if block_given?
|
1218
|
+
result
|
1219
|
+
end
|
1220
|
+
|
993
1221
|
##
|
994
1222
|
# @private
|
995
1223
|
#
|
@@ -1336,6 +1564,28 @@ module Google
|
|
1336
1564
|
transcoder.transcode request_pb
|
1337
1565
|
end
|
1338
1566
|
|
1567
|
+
##
|
1568
|
+
# @private
|
1569
|
+
#
|
1570
|
+
# GRPC transcoding helper method for the inject_fault REST call
|
1571
|
+
#
|
1572
|
+
# @param request_pb [::Google::Cloud::AlloyDB::V1beta::InjectFaultRequest]
|
1573
|
+
# A request object representing the call parameters. Required.
|
1574
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
1575
|
+
# Uri, Body, Query string parameters
|
1576
|
+
def self.transcode_inject_fault_request request_pb
|
1577
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
1578
|
+
.with_bindings(
|
1579
|
+
uri_method: :post,
|
1580
|
+
uri_template: "/v1beta/{name}:injectFault",
|
1581
|
+
body: "*",
|
1582
|
+
matches: [
|
1583
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/clusters/[^/]+/instances/[^/]+/?$}, false]
|
1584
|
+
]
|
1585
|
+
)
|
1586
|
+
transcoder.transcode request_pb
|
1587
|
+
end
|
1588
|
+
|
1339
1589
|
##
|
1340
1590
|
# @private
|
1341
1591
|
#
|
@@ -1528,6 +1778,113 @@ module Google
|
|
1528
1778
|
)
|
1529
1779
|
transcoder.transcode request_pb
|
1530
1780
|
end
|
1781
|
+
|
1782
|
+
##
|
1783
|
+
# @private
|
1784
|
+
#
|
1785
|
+
# GRPC transcoding helper method for the list_users REST call
|
1786
|
+
#
|
1787
|
+
# @param request_pb [::Google::Cloud::AlloyDB::V1beta::ListUsersRequest]
|
1788
|
+
# A request object representing the call parameters. Required.
|
1789
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
1790
|
+
# Uri, Body, Query string parameters
|
1791
|
+
def self.transcode_list_users_request request_pb
|
1792
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
1793
|
+
.with_bindings(
|
1794
|
+
uri_method: :get,
|
1795
|
+
uri_template: "/v1beta/{parent}/users",
|
1796
|
+
matches: [
|
1797
|
+
["parent", %r{^projects/[^/]+/locations/[^/]+/clusters/[^/]+/?$}, false]
|
1798
|
+
]
|
1799
|
+
)
|
1800
|
+
transcoder.transcode request_pb
|
1801
|
+
end
|
1802
|
+
|
1803
|
+
##
|
1804
|
+
# @private
|
1805
|
+
#
|
1806
|
+
# GRPC transcoding helper method for the get_user REST call
|
1807
|
+
#
|
1808
|
+
# @param request_pb [::Google::Cloud::AlloyDB::V1beta::GetUserRequest]
|
1809
|
+
# A request object representing the call parameters. Required.
|
1810
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
1811
|
+
# Uri, Body, Query string parameters
|
1812
|
+
def self.transcode_get_user_request request_pb
|
1813
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
1814
|
+
.with_bindings(
|
1815
|
+
uri_method: :get,
|
1816
|
+
uri_template: "/v1beta/{name}",
|
1817
|
+
matches: [
|
1818
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/clusters/[^/]+/users/[^/]+/?$}, false]
|
1819
|
+
]
|
1820
|
+
)
|
1821
|
+
transcoder.transcode request_pb
|
1822
|
+
end
|
1823
|
+
|
1824
|
+
##
|
1825
|
+
# @private
|
1826
|
+
#
|
1827
|
+
# GRPC transcoding helper method for the create_user REST call
|
1828
|
+
#
|
1829
|
+
# @param request_pb [::Google::Cloud::AlloyDB::V1beta::CreateUserRequest]
|
1830
|
+
# A request object representing the call parameters. Required.
|
1831
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
1832
|
+
# Uri, Body, Query string parameters
|
1833
|
+
def self.transcode_create_user_request request_pb
|
1834
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
1835
|
+
.with_bindings(
|
1836
|
+
uri_method: :post,
|
1837
|
+
uri_template: "/v1beta/{parent}/users",
|
1838
|
+
body: "user",
|
1839
|
+
matches: [
|
1840
|
+
["parent", %r{^projects/[^/]+/locations/[^/]+/clusters/[^/]+/?$}, false]
|
1841
|
+
]
|
1842
|
+
)
|
1843
|
+
transcoder.transcode request_pb
|
1844
|
+
end
|
1845
|
+
|
1846
|
+
##
|
1847
|
+
# @private
|
1848
|
+
#
|
1849
|
+
# GRPC transcoding helper method for the update_user REST call
|
1850
|
+
#
|
1851
|
+
# @param request_pb [::Google::Cloud::AlloyDB::V1beta::UpdateUserRequest]
|
1852
|
+
# A request object representing the call parameters. Required.
|
1853
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
1854
|
+
# Uri, Body, Query string parameters
|
1855
|
+
def self.transcode_update_user_request request_pb
|
1856
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
1857
|
+
.with_bindings(
|
1858
|
+
uri_method: :patch,
|
1859
|
+
uri_template: "/v1beta/{user.name}",
|
1860
|
+
body: "user",
|
1861
|
+
matches: [
|
1862
|
+
["user.name", %r{^projects/[^/]+/locations/[^/]+/clusters/[^/]+/users/[^/]+/?$}, false]
|
1863
|
+
]
|
1864
|
+
)
|
1865
|
+
transcoder.transcode request_pb
|
1866
|
+
end
|
1867
|
+
|
1868
|
+
##
|
1869
|
+
# @private
|
1870
|
+
#
|
1871
|
+
# GRPC transcoding helper method for the delete_user REST call
|
1872
|
+
#
|
1873
|
+
# @param request_pb [::Google::Cloud::AlloyDB::V1beta::DeleteUserRequest]
|
1874
|
+
# A request object representing the call parameters. Required.
|
1875
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
1876
|
+
# Uri, Body, Query string parameters
|
1877
|
+
def self.transcode_delete_user_request request_pb
|
1878
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
1879
|
+
.with_bindings(
|
1880
|
+
uri_method: :delete,
|
1881
|
+
uri_template: "/v1beta/{name}",
|
1882
|
+
matches: [
|
1883
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/clusters/[^/]+/users/[^/]+/?$}, false]
|
1884
|
+
]
|
1885
|
+
)
|
1886
|
+
transcoder.transcode request_pb
|
1887
|
+
end
|
1531
1888
|
end
|
1532
1889
|
end
|
1533
1890
|
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/v1beta/resources.proto\x12\x1bgoogle.cloud.alloydb.v1beta\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\"\xe7\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\x12Z\n\x0bsource_type\x18\x03 \x01(\x0e\x32@.google.cloud.alloydb.v1beta.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\"\x8a\x02\n\x0e\x45ncryptionInfo\x12N\n\x0f\x65ncryption_type\x18\x01 \x01(\x0e\x32\x30.google.cloud.alloydb.v1beta.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\"\xc0\x02\n\tSslConfig\x12\x45\n\x08ssl_mode\x18\x01 \x01(\x0e\x32..google.cloud.alloydb.v1beta.SslConfig.SslModeB\x03\xe0\x41\x01\x12G\n\tca_source\x18\x02 \x01(\x0e\x32/.google.cloud.alloydb.v1beta.SslConfig.CaSourceB\x03\xe0\x41\x01\"e\n\x07SslMode\x12\x18\n\x14SSL_MODE_UNSPECIFIED\x10\x00\x12\x12\n\x0eSSL_MODE_ALLOW\x10\x01\x12\x14\n\x10SSL_MODE_REQUIRE\x10\x02\x12\x16\n\x12SSL_MODE_VERIFY_CA\x10\x03\"<\n\x08\x43\x61Source\x12\x19\n\x15\x43\x41_SOURCE_UNSPECIFIED\x10\x00\x12\x15\n\x11\x43\x41_SOURCE_MANAGED\x10\x01\"\xf9\x06\n\x15\x41utomatedBackupPolicy\x12\\\n\x0fweekly_schedule\x18\x02 \x01(\x0b\x32\x41.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklyScheduleH\x00\x12\x65\n\x14time_based_retention\x18\x04 \x01(\x0b\x32\x45.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetentionH\x01\x12m\n\x18quantity_based_retention\x18\x05 \x01(\x0b\x32I.google.cloud.alloydb.v1beta.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\x12M\n\x11\x65ncryption_config\x18\x08 \x01(\x0b\x32-.google.cloud.alloydb.v1beta.EncryptionConfigB\x03\xe0\x41\x01\x12\x10\n\x08location\x18\x06 \x01(\t\x12N\n\x06labels\x18\x07 \x03(\x0b\x32>.google.cloud.alloydb.v1beta.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\"\xa2\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\x12H\n\x11\x65ncryption_config\x18\x03 \x01(\x0b\x32-.google.cloud.alloydb.v1beta.EncryptionConfigB\n\n\x08_enabled\"\xc7\x01\n\x14\x43ontinuousBackupInfo\x12I\n\x0f\x65ncryption_info\x18\x01 \x01(\x0b\x32+.google.cloud.alloydb.v1beta.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\"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\"\xae\x10\n\x07\x43luster\x12G\n\rbackup_source\x18\x0f \x01(\x0b\x32).google.cloud.alloydb.v1beta.BackupSourceB\x03\xe0\x41\x03H\x00\x12M\n\x10migration_source\x18\x10 \x01(\x0b\x32,.google.cloud.alloydb.v1beta.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\x30.google.cloud.alloydb.v1beta.Cluster.LabelsEntry\x12>\n\x05state\x18\x08 \x01(\x0e\x32*.google.cloud.alloydb.v1beta.Cluster.StateB\x03\xe0\x41\x03\x12K\n\x0c\x63luster_type\x18\x18 \x01(\x0e\x32\x30.google.cloud.alloydb.v1beta.Cluster.ClusterTypeB\x03\xe0\x41\x03\x12K\n\x10\x64\x61tabase_version\x18\t \x01(\x0e\x32,.google.cloud.alloydb.v1beta.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\x12J\n\x0b\x61nnotations\x18\x0c \x03(\x0b\x32\x35.google.cloud.alloydb.v1beta.Cluster.AnnotationsEntry\x12\x18\n\x0breconciling\x18\r \x01(\x08\x42\x03\xe0\x41\x03\x12\x44\n\x0cinitial_user\x18\x0e \x01(\x0b\x32).google.cloud.alloydb.v1beta.UserPasswordB\x03\xe0\x41\x04\x12S\n\x17\x61utomated_backup_policy\x18\x11 \x01(\x0b\x32\x32.google.cloud.alloydb.v1beta.AutomatedBackupPolicy\x12:\n\nssl_config\x18\x12 \x01(\x0b\x32&.google.cloud.alloydb.v1beta.SslConfig\x12M\n\x11\x65ncryption_config\x18\x13 \x01(\x0b\x32-.google.cloud.alloydb.v1beta.EncryptionConfigB\x03\xe0\x41\x01\x12I\n\x0f\x65ncryption_info\x18\x14 \x01(\x0b\x32+.google.cloud.alloydb.v1beta.EncryptionInfoB\x03\xe0\x41\x03\x12Z\n\x18\x63ontinuous_backup_config\x18\x1b \x01(\x0b\x32\x33.google.cloud.alloydb.v1beta.ContinuousBackupConfigB\x03\xe0\x41\x01\x12V\n\x16\x63ontinuous_backup_info\x18\x1c \x01(\x0b\x32\x31.google.cloud.alloydb.v1beta.ContinuousBackupInfoB\x03\xe0\x41\x03\x12N\n\x10secondary_config\x18\x16 \x01(\x0b\x32\x34.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig\x12O\n\x0eprimary_config\x18\x17 \x01(\x0b\x32\x32.google.cloud.alloydb.v1beta.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\"\xdf\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\x41\n\x06labels\x18\x07 \x03(\x0b\x32\x31.google.cloud.alloydb.v1beta.Instance.LabelsEntry\x12?\n\x05state\x18\x08 \x01(\x0e\x32+.google.cloud.alloydb.v1beta.Instance.StateB\x03\xe0\x41\x03\x12N\n\rinstance_type\x18\t \x01(\x0e\x32\x32.google.cloud.alloydb.v1beta.Instance.InstanceTypeB\x03\xe0\x41\x02\x12K\n\x0emachine_config\x18\n \x01(\x0b\x32\x33.google.cloud.alloydb.v1beta.Instance.MachineConfig\x12Q\n\x11\x61vailability_type\x18\x0b \x01(\x0e\x32\x36.google.cloud.alloydb.v1beta.Instance.AvailabilityType\x12\x10\n\x08gce_zone\x18\x0c \x01(\t\x12P\n\x0e\x64\x61tabase_flags\x18\r \x03(\x0b\x32\x38.google.cloud.alloydb.v1beta.Instance.DatabaseFlagsEntry\x12\x46\n\rwritable_node\x18\x13 \x01(\x0b\x32*.google.cloud.alloydb.v1beta.Instance.NodeB\x03\xe0\x41\x03\x12>\n\x05nodes\x18\x14 \x03(\x0b\x32*.google.cloud.alloydb.v1beta.Instance.NodeB\x03\xe0\x41\x03\x12`\n\x15query_insights_config\x18\x15 \x01(\x0b\x32\x41.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig\x12N\n\x10read_pool_config\x18\x0e \x01(\x0b\x32\x34.google.cloud.alloydb.v1beta.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\x12K\n\x0b\x61nnotations\x18\x12 \x03(\x0b\x32\x36.google.cloud.alloydb.v1beta.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\"\x84\x02\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\"\n\x15pem_certificate_chain\x18\x03 \x03(\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\"\xc9\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.v1beta.Backup.LabelsEntry\x12=\n\x05state\x18\x07 \x01(\x0e\x32).google.cloud.alloydb.v1beta.Backup.StateB\x03\xe0\x41\x03\x12\x36\n\x04type\x18\x08 \x01(\x0e\x32(.google.cloud.alloydb.v1beta.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\x12M\n\x11\x65ncryption_config\x18\x0c \x01(\x0b\x32-.google.cloud.alloydb.v1beta.EncryptionConfigB\x03\xe0\x41\x01\x12I\n\x0f\x65ncryption_info\x18\r \x01(\x0b\x32+.google.cloud.alloydb.v1beta.EncryptionInfoB\x03\xe0\x41\x03\x12\x0c\n\x04\x65tag\x18\x0e \x01(\t\x12I\n\x0b\x61nnotations\x18\x10 \x03(\x0b\x32\x34.google.cloud.alloydb.v1beta.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\"\xd8\x06\n\x15SupportedDatabaseFlag\x12\x64\n\x13string_restrictions\x18\x07 \x01(\x0b\x32\x45.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictionsH\x00\x12\x66\n\x14integer_restrictions\x18\x08 \x01(\x0b\x32\x46.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictionsH\x00\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x11\n\tflag_name\x18\x02 \x01(\t\x12P\n\nvalue_type\x18\x03 \x01(\x0e\x32<.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.ValueType\x12\x1f\n\x17\x61\x63\x63\x65pts_multiple_values\x18\x04 \x01(\x08\x12K\n\x15supported_db_versions\x18\x05 \x03(\x0e\x32,.google.cloud.alloydb.v1beta.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*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*^\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\x42\xc6\x03\n\x1f\x63om.google.cloud.alloydb.v1betaB\x0eResourcesProtoP\x01Z9cloud.google.com/go/alloydb/apiv1beta/alloydbpb;alloydbpb\xaa\x02\x1bGoogle.Cloud.AlloyDb.V1Beta\xca\x02\x1bGoogle\\Cloud\\AlloyDb\\V1beta\xea\x02\x1eGoogle::Cloud::AlloyDB::V1beta\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/v1beta/resources.proto\x12\x1bgoogle.cloud.alloydb.v1beta\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\"\xe7\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\x12Z\n\x0bsource_type\x18\x03 \x01(\x0e\x32@.google.cloud.alloydb.v1beta.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\"\x8a\x02\n\x0e\x45ncryptionInfo\x12N\n\x0f\x65ncryption_type\x18\x01 \x01(\x0e\x32\x30.google.cloud.alloydb.v1beta.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\"\x86\x03\n\tSslConfig\x12\x45\n\x08ssl_mode\x18\x01 \x01(\x0e\x32..google.cloud.alloydb.v1beta.SslConfig.SslModeB\x03\xe0\x41\x01\x12G\n\tca_source\x18\x02 \x01(\x0e\x32/.google.cloud.alloydb.v1beta.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\"\xf9\x06\n\x15\x41utomatedBackupPolicy\x12\\\n\x0fweekly_schedule\x18\x02 \x01(\x0b\x32\x41.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklyScheduleH\x00\x12\x65\n\x14time_based_retention\x18\x04 \x01(\x0b\x32\x45.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetentionH\x01\x12m\n\x18quantity_based_retention\x18\x05 \x01(\x0b\x32I.google.cloud.alloydb.v1beta.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\x12M\n\x11\x65ncryption_config\x18\x08 \x01(\x0b\x32-.google.cloud.alloydb.v1beta.EncryptionConfigB\x03\xe0\x41\x01\x12\x10\n\x08location\x18\x06 \x01(\t\x12N\n\x06labels\x18\x07 \x03(\x0b\x32>.google.cloud.alloydb.v1beta.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\"\xa2\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\x12H\n\x11\x65ncryption_config\x18\x03 \x01(\x0b\x32-.google.cloud.alloydb.v1beta.EncryptionConfigB\n\n\x08_enabled\"\x8a\x02\n\x14\x43ontinuousBackupInfo\x12I\n\x0f\x65ncryption_info\x18\x01 \x01(\x0b\x32+.google.cloud.alloydb.v1beta.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\"\xee\x11\n\x07\x43luster\x12G\n\rbackup_source\x18\x0f \x01(\x0b\x32).google.cloud.alloydb.v1beta.BackupSourceB\x03\xe0\x41\x03H\x00\x12M\n\x10migration_source\x18\x10 \x01(\x0b\x32,.google.cloud.alloydb.v1beta.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\x30.google.cloud.alloydb.v1beta.Cluster.LabelsEntry\x12>\n\x05state\x18\x08 \x01(\x0e\x32*.google.cloud.alloydb.v1beta.Cluster.StateB\x03\xe0\x41\x03\x12K\n\x0c\x63luster_type\x18\x18 \x01(\x0e\x32\x30.google.cloud.alloydb.v1beta.Cluster.ClusterTypeB\x03\xe0\x41\x03\x12K\n\x10\x64\x61tabase_version\x18\t \x01(\x0e\x32,.google.cloud.alloydb.v1beta.DatabaseVersionB\x03\xe0\x41\x03\x12O\n\x0enetwork_config\x18\x1d \x01(\x0b\x32\x32.google.cloud.alloydb.v1beta.Cluster.NetworkConfigB\x03\xe0\x41\x01\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\x12J\n\x0b\x61nnotations\x18\x0c \x03(\x0b\x32\x35.google.cloud.alloydb.v1beta.Cluster.AnnotationsEntry\x12\x18\n\x0breconciling\x18\r \x01(\x08\x42\x03\xe0\x41\x03\x12\x44\n\x0cinitial_user\x18\x0e \x01(\x0b\x32).google.cloud.alloydb.v1beta.UserPasswordB\x03\xe0\x41\x04\x12S\n\x17\x61utomated_backup_policy\x18\x11 \x01(\x0b\x32\x32.google.cloud.alloydb.v1beta.AutomatedBackupPolicy\x12>\n\nssl_config\x18\x12 \x01(\x0b\x32&.google.cloud.alloydb.v1beta.SslConfigB\x02\x18\x01\x12M\n\x11\x65ncryption_config\x18\x13 \x01(\x0b\x32-.google.cloud.alloydb.v1beta.EncryptionConfigB\x03\xe0\x41\x01\x12I\n\x0f\x65ncryption_info\x18\x14 \x01(\x0b\x32+.google.cloud.alloydb.v1beta.EncryptionInfoB\x03\xe0\x41\x03\x12Z\n\x18\x63ontinuous_backup_config\x18\x1b \x01(\x0b\x32\x33.google.cloud.alloydb.v1beta.ContinuousBackupConfigB\x03\xe0\x41\x01\x12V\n\x16\x63ontinuous_backup_info\x18\x1c \x01(\x0b\x32\x31.google.cloud.alloydb.v1beta.ContinuousBackupInfoB\x03\xe0\x41\x03\x12N\n\x10secondary_config\x18\x16 \x01(\x0b\x32\x34.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig\x12O\n\x0eprimary_config\x18\x17 \x01(\x0b\x32\x32.google.cloud.alloydb.v1beta.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\"\xbe\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\x41\n\x06labels\x18\x07 \x03(\x0b\x32\x31.google.cloud.alloydb.v1beta.Instance.LabelsEntry\x12?\n\x05state\x18\x08 \x01(\x0e\x32+.google.cloud.alloydb.v1beta.Instance.StateB\x03\xe0\x41\x03\x12N\n\rinstance_type\x18\t \x01(\x0e\x32\x32.google.cloud.alloydb.v1beta.Instance.InstanceTypeB\x03\xe0\x41\x02\x12K\n\x0emachine_config\x18\n \x01(\x0b\x32\x33.google.cloud.alloydb.v1beta.Instance.MachineConfig\x12Q\n\x11\x61vailability_type\x18\x0b \x01(\x0e\x32\x36.google.cloud.alloydb.v1beta.Instance.AvailabilityType\x12\x10\n\x08gce_zone\x18\x0c \x01(\t\x12P\n\x0e\x64\x61tabase_flags\x18\r \x03(\x0b\x32\x38.google.cloud.alloydb.v1beta.Instance.DatabaseFlagsEntry\x12\x46\n\rwritable_node\x18\x13 \x01(\x0b\x32*.google.cloud.alloydb.v1beta.Instance.NodeB\x03\xe0\x41\x03\x12>\n\x05nodes\x18\x14 \x03(\x0b\x32*.google.cloud.alloydb.v1beta.Instance.NodeB\x03\xe0\x41\x03\x12`\n\x15query_insights_config\x18\x15 \x01(\x0b\x32\x41.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig\x12N\n\x10read_pool_config\x18\x0e \x01(\x0b\x32\x34.google.cloud.alloydb.v1beta.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\x12K\n\x0b\x61nnotations\x18\x12 \x03(\x0b\x32\x36.google.cloud.alloydb.v1beta.Instance.AnnotationsEntry\x12I\n\rupdate_policy\x18\x16 \x01(\x0b\x32\x32.google.cloud.alloydb.v1beta.Instance.UpdatePolicy\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\x91\x01\n\x0cUpdatePolicy\x12\x45\n\x04mode\x18\x01 \x01(\x0e\x32\x37.google.cloud.alloydb.v1beta.Instance.UpdatePolicy.Mode\":\n\x04Mode\x12\x14\n\x10MODE_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x44\x45\x46\x41ULT\x10\x01\x12\x0f\n\x0b\x46ORCE_APPLY\x10\x02\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\"\x86\x02\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$\n\x15pem_certificate_chain\x18\x03 \x03(\tB\x05\x18\x01\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\"\xc9\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.v1beta.Backup.LabelsEntry\x12=\n\x05state\x18\x07 \x01(\x0e\x32).google.cloud.alloydb.v1beta.Backup.StateB\x03\xe0\x41\x03\x12\x36\n\x04type\x18\x08 \x01(\x0e\x32(.google.cloud.alloydb.v1beta.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\x12M\n\x11\x65ncryption_config\x18\x0c \x01(\x0b\x32-.google.cloud.alloydb.v1beta.EncryptionConfigB\x03\xe0\x41\x01\x12I\n\x0f\x65ncryption_info\x18\r \x01(\x0b\x32+.google.cloud.alloydb.v1beta.EncryptionInfoB\x03\xe0\x41\x03\x12\x0c\n\x04\x65tag\x18\x0e \x01(\t\x12I\n\x0b\x61nnotations\x18\x10 \x03(\x0b\x32\x34.google.cloud.alloydb.v1beta.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\"\xd8\x06\n\x15SupportedDatabaseFlag\x12\x64\n\x13string_restrictions\x18\x07 \x01(\x0b\x32\x45.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictionsH\x00\x12\x66\n\x14integer_restrictions\x18\x08 \x01(\x0b\x32\x46.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictionsH\x00\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x11\n\tflag_name\x18\x02 \x01(\t\x12P\n\nvalue_type\x18\x03 \x01(\x0e\x32<.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.ValueType\x12\x1f\n\x17\x61\x63\x63\x65pts_multiple_values\x18\x04 \x01(\x08\x12K\n\x15supported_db_versions\x18\x05 \x03(\x0e\x32,.google.cloud.alloydb.v1beta.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\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\x42\n\tuser_type\x18\x05 \x01(\x0e\x32*.google.cloud.alloydb.v1beta.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\xc6\x03\n\x1f\x63om.google.cloud.alloydb.v1betaB\x0eResourcesProtoP\x01Z9cloud.google.com/go/alloydb/apiv1beta/alloydbpb;alloydbpb\xaa\x02\x1bGoogle.Cloud.AlloyDb.V1Beta\xca\x02\x1bGoogle\\Cloud\\AlloyDb\\V1beta\xea\x02\x1eGoogle::Cloud::AlloyDB::V1beta\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.v1beta.BackupSource").msgclass
|
66
66
|
ContinuousBackupSource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1beta.ContinuousBackupSource").msgclass
|
67
67
|
Cluster = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1beta.Cluster").msgclass
|
68
|
+
Cluster::NetworkConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1beta.Cluster.NetworkConfig").msgclass
|
68
69
|
Cluster::SecondaryConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1beta.Cluster.SecondaryConfig").msgclass
|
69
70
|
Cluster::PrimaryConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1beta.Cluster.PrimaryConfig").msgclass
|
70
71
|
Cluster::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1beta.Cluster.State").enummodule
|
@@ -74,6 +75,8 @@ module Google
|
|
74
75
|
Instance::Node = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1beta.Instance.Node").msgclass
|
75
76
|
Instance::QueryInsightsInstanceConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig").msgclass
|
76
77
|
Instance::ReadPoolConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1beta.Instance.ReadPoolConfig").msgclass
|
78
|
+
Instance::UpdatePolicy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1beta.Instance.UpdatePolicy").msgclass
|
79
|
+
Instance::UpdatePolicy::Mode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1beta.Instance.UpdatePolicy.Mode").enummodule
|
77
80
|
Instance::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1beta.Instance.State").enummodule
|
78
81
|
Instance::InstanceType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1beta.Instance.InstanceType").enummodule
|
79
82
|
Instance::AvailabilityType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1beta.Instance.AvailabilityType").enummodule
|
@@ -85,8 +88,11 @@ module Google
|
|
85
88
|
SupportedDatabaseFlag::StringRestrictions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions").msgclass
|
86
89
|
SupportedDatabaseFlag::IntegerRestrictions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions").msgclass
|
87
90
|
SupportedDatabaseFlag::ValueType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1beta.SupportedDatabaseFlag.ValueType").enummodule
|
88
|
-
|
91
|
+
User = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1beta.User").msgclass
|
92
|
+
User::UserType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1beta.User.UserType").enummodule
|
89
93
|
InstanceView = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1beta.InstanceView").enummodule
|
94
|
+
ClusterView = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1beta.ClusterView").enummodule
|
95
|
+
DatabaseVersion = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.alloydb.v1beta.DatabaseVersion").enummodule
|
90
96
|
end
|
91
97
|
end
|
92
98
|
end
|