google-cloud-cloud_dms-v1 0.3.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/cloud_dms/v1/data_migration_service/client.rb +582 -30
- data/lib/google/cloud/cloud_dms/v1/data_migration_service/operations.rb +3 -1
- data/lib/google/cloud/cloud_dms/v1/data_migration_service/paths.rb +21 -0
- data/lib/google/cloud/cloud_dms/v1/version.rb +1 -1
- data/lib/google/cloud/clouddms/v1/clouddms_pb.rb +37 -250
- data/lib/google/cloud/clouddms/v1/clouddms_resources_pb.rb +31 -349
- data/lib/google/cloud/clouddms/v1/clouddms_services_pb.rb +11 -0
- data/lib/google/cloud/clouddms/v1/conversionworkspace_resources_pb.rb +63 -202
- data/proto_docs/google/api/field_behavior.rb +14 -0
- data/proto_docs/google/cloud/clouddms/v1/clouddms.rb +214 -25
- data/proto_docs/google/cloud/clouddms/v1/clouddms_resources.rb +65 -2
- data/proto_docs/google/cloud/clouddms/v1/conversionworkspace_resources.rb +807 -29
- data/proto_docs/google/protobuf/any.rb +7 -4
- data/proto_docs/google/protobuf/struct.rb +1 -1
- data/proto_docs/google/protobuf/timestamp.rb +1 -3
- metadata +5 -5
@@ -1,3 +1,4 @@
|
|
1
|
+
# frozen_string_literal: true
|
1
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
3
|
# source: google/cloud/clouddms/v1/clouddms_resources.proto
|
3
4
|
|
@@ -10,357 +11,35 @@ require 'google/protobuf/timestamp_pb'
|
|
10
11
|
require 'google/protobuf/wrappers_pb'
|
11
12
|
require 'google/rpc/status_pb'
|
12
13
|
|
13
|
-
|
14
|
-
add_file("google/cloud/clouddms/v1/clouddms_resources.proto", :syntax => :proto3) do
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
optional :username, :string, 3
|
39
|
-
optional :password, :string, 4
|
40
|
-
optional :password_set, :bool, 5
|
41
|
-
optional :ssl, :message, 6, "google.cloud.clouddms.v1.SslConfig"
|
42
|
-
optional :cloud_sql_id, :string, 7
|
43
|
-
optional :network_architecture, :enum, 8, "google.cloud.clouddms.v1.NetworkArchitecture"
|
44
|
-
oneof :connectivity do
|
45
|
-
optional :static_ip_connectivity, :message, 100, "google.cloud.clouddms.v1.StaticIpConnectivity"
|
46
|
-
optional :private_service_connect_connectivity, :message, 101, "google.cloud.clouddms.v1.PrivateServiceConnectConnectivity"
|
47
|
-
end
|
48
|
-
end
|
49
|
-
add_message "google.cloud.clouddms.v1.OracleConnectionProfile" do
|
50
|
-
optional :host, :string, 1
|
51
|
-
optional :port, :int32, 2
|
52
|
-
optional :username, :string, 3
|
53
|
-
optional :password, :string, 4
|
54
|
-
optional :password_set, :bool, 5
|
55
|
-
optional :database_service, :string, 6
|
56
|
-
oneof :connectivity do
|
57
|
-
optional :static_service_ip_connectivity, :message, 100, "google.cloud.clouddms.v1.StaticServiceIpConnectivity"
|
58
|
-
optional :forward_ssh_connectivity, :message, 101, "google.cloud.clouddms.v1.ForwardSshTunnelConnectivity"
|
59
|
-
optional :private_connectivity, :message, 102, "google.cloud.clouddms.v1.PrivateConnectivity"
|
60
|
-
end
|
61
|
-
end
|
62
|
-
add_message "google.cloud.clouddms.v1.CloudSqlConnectionProfile" do
|
63
|
-
optional :cloud_sql_id, :string, 1
|
64
|
-
optional :settings, :message, 2, "google.cloud.clouddms.v1.CloudSqlSettings"
|
65
|
-
optional :private_ip, :string, 3
|
66
|
-
optional :public_ip, :string, 4
|
67
|
-
optional :additional_public_ip, :string, 5
|
68
|
-
end
|
69
|
-
add_message "google.cloud.clouddms.v1.AlloyDbConnectionProfile" do
|
70
|
-
optional :cluster_id, :string, 1
|
71
|
-
optional :settings, :message, 2, "google.cloud.clouddms.v1.AlloyDbSettings"
|
72
|
-
end
|
73
|
-
add_message "google.cloud.clouddms.v1.SqlAclEntry" do
|
74
|
-
optional :value, :string, 1
|
75
|
-
optional :label, :string, 3
|
76
|
-
oneof :expiration do
|
77
|
-
optional :expire_time, :message, 10, "google.protobuf.Timestamp"
|
78
|
-
optional :ttl, :message, 11, "google.protobuf.Duration"
|
79
|
-
end
|
80
|
-
end
|
81
|
-
add_message "google.cloud.clouddms.v1.SqlIpConfig" do
|
82
|
-
optional :enable_ipv4, :message, 1, "google.protobuf.BoolValue"
|
83
|
-
optional :private_network, :string, 2
|
84
|
-
optional :allocated_ip_range, :string, 5
|
85
|
-
optional :require_ssl, :message, 3, "google.protobuf.BoolValue"
|
86
|
-
repeated :authorized_networks, :message, 4, "google.cloud.clouddms.v1.SqlAclEntry"
|
87
|
-
end
|
88
|
-
add_message "google.cloud.clouddms.v1.CloudSqlSettings" do
|
89
|
-
optional :database_version, :enum, 1, "google.cloud.clouddms.v1.CloudSqlSettings.SqlDatabaseVersion"
|
90
|
-
map :user_labels, :string, :string, 2
|
91
|
-
optional :tier, :string, 3
|
92
|
-
optional :storage_auto_resize_limit, :message, 4, "google.protobuf.Int64Value"
|
93
|
-
optional :activation_policy, :enum, 5, "google.cloud.clouddms.v1.CloudSqlSettings.SqlActivationPolicy"
|
94
|
-
optional :ip_config, :message, 6, "google.cloud.clouddms.v1.SqlIpConfig"
|
95
|
-
optional :auto_storage_increase, :message, 7, "google.protobuf.BoolValue"
|
96
|
-
map :database_flags, :string, :string, 8
|
97
|
-
optional :data_disk_type, :enum, 9, "google.cloud.clouddms.v1.CloudSqlSettings.SqlDataDiskType"
|
98
|
-
optional :data_disk_size_gb, :message, 10, "google.protobuf.Int64Value"
|
99
|
-
optional :zone, :string, 11
|
100
|
-
optional :secondary_zone, :string, 18
|
101
|
-
optional :source_id, :string, 12
|
102
|
-
optional :root_password, :string, 13
|
103
|
-
optional :root_password_set, :bool, 14
|
104
|
-
optional :collation, :string, 15
|
105
|
-
optional :cmek_key_name, :string, 16
|
106
|
-
optional :availability_type, :enum, 17, "google.cloud.clouddms.v1.CloudSqlSettings.SqlAvailabilityType"
|
107
|
-
end
|
108
|
-
add_enum "google.cloud.clouddms.v1.CloudSqlSettings.SqlActivationPolicy" do
|
109
|
-
value :SQL_ACTIVATION_POLICY_UNSPECIFIED, 0
|
110
|
-
value :ALWAYS, 1
|
111
|
-
value :NEVER, 2
|
112
|
-
end
|
113
|
-
add_enum "google.cloud.clouddms.v1.CloudSqlSettings.SqlDataDiskType" do
|
114
|
-
value :SQL_DATA_DISK_TYPE_UNSPECIFIED, 0
|
115
|
-
value :PD_SSD, 1
|
116
|
-
value :PD_HDD, 2
|
117
|
-
end
|
118
|
-
add_enum "google.cloud.clouddms.v1.CloudSqlSettings.SqlDatabaseVersion" do
|
119
|
-
value :SQL_DATABASE_VERSION_UNSPECIFIED, 0
|
120
|
-
value :MYSQL_5_6, 1
|
121
|
-
value :MYSQL_5_7, 2
|
122
|
-
value :POSTGRES_9_6, 3
|
123
|
-
value :POSTGRES_11, 4
|
124
|
-
value :POSTGRES_10, 5
|
125
|
-
value :MYSQL_8_0, 6
|
126
|
-
value :POSTGRES_12, 7
|
127
|
-
value :POSTGRES_13, 8
|
128
|
-
value :POSTGRES_14, 17
|
129
|
-
end
|
130
|
-
add_enum "google.cloud.clouddms.v1.CloudSqlSettings.SqlAvailabilityType" do
|
131
|
-
value :SQL_AVAILABILITY_TYPE_UNSPECIFIED, 0
|
132
|
-
value :ZONAL, 1
|
133
|
-
value :REGIONAL, 2
|
134
|
-
end
|
135
|
-
add_message "google.cloud.clouddms.v1.AlloyDbSettings" do
|
136
|
-
optional :initial_user, :message, 1, "google.cloud.clouddms.v1.AlloyDbSettings.UserPassword"
|
137
|
-
optional :vpc_network, :string, 2
|
138
|
-
map :labels, :string, :string, 3
|
139
|
-
optional :primary_instance_settings, :message, 4, "google.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings"
|
140
|
-
optional :encryption_config, :message, 5, "google.cloud.clouddms.v1.AlloyDbSettings.EncryptionConfig"
|
141
|
-
end
|
142
|
-
add_message "google.cloud.clouddms.v1.AlloyDbSettings.UserPassword" do
|
143
|
-
optional :user, :string, 1
|
144
|
-
optional :password, :string, 2
|
145
|
-
optional :password_set, :bool, 3
|
146
|
-
end
|
147
|
-
add_message "google.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings" do
|
148
|
-
optional :id, :string, 1
|
149
|
-
optional :machine_config, :message, 2, "google.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings.MachineConfig"
|
150
|
-
map :database_flags, :string, :string, 6
|
151
|
-
map :labels, :string, :string, 7
|
152
|
-
optional :private_ip, :string, 8
|
153
|
-
end
|
154
|
-
add_message "google.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings.MachineConfig" do
|
155
|
-
optional :cpu_count, :int32, 1
|
156
|
-
end
|
157
|
-
add_message "google.cloud.clouddms.v1.AlloyDbSettings.EncryptionConfig" do
|
158
|
-
optional :kms_key_name, :string, 1
|
159
|
-
end
|
160
|
-
add_message "google.cloud.clouddms.v1.StaticIpConnectivity" do
|
161
|
-
end
|
162
|
-
add_message "google.cloud.clouddms.v1.PrivateServiceConnectConnectivity" do
|
163
|
-
optional :service_attachment, :string, 1
|
164
|
-
end
|
165
|
-
add_message "google.cloud.clouddms.v1.ReverseSshConnectivity" do
|
166
|
-
optional :vm_ip, :string, 1
|
167
|
-
optional :vm_port, :int32, 2
|
168
|
-
optional :vm, :string, 3
|
169
|
-
optional :vpc, :string, 4
|
170
|
-
end
|
171
|
-
add_message "google.cloud.clouddms.v1.VpcPeeringConnectivity" do
|
172
|
-
optional :vpc, :string, 1
|
173
|
-
end
|
174
|
-
add_message "google.cloud.clouddms.v1.ForwardSshTunnelConnectivity" do
|
175
|
-
optional :hostname, :string, 1
|
176
|
-
optional :username, :string, 2
|
177
|
-
optional :port, :int32, 3
|
178
|
-
oneof :authentication_method do
|
179
|
-
optional :password, :string, 100
|
180
|
-
optional :private_key, :string, 101
|
181
|
-
end
|
182
|
-
end
|
183
|
-
add_message "google.cloud.clouddms.v1.StaticServiceIpConnectivity" do
|
184
|
-
end
|
185
|
-
add_message "google.cloud.clouddms.v1.PrivateConnectivity" do
|
186
|
-
optional :private_connection, :string, 1
|
187
|
-
end
|
188
|
-
add_message "google.cloud.clouddms.v1.DatabaseType" do
|
189
|
-
optional :provider, :enum, 1, "google.cloud.clouddms.v1.DatabaseProvider"
|
190
|
-
optional :engine, :enum, 2, "google.cloud.clouddms.v1.DatabaseEngine"
|
191
|
-
end
|
192
|
-
add_message "google.cloud.clouddms.v1.MigrationJob" do
|
193
|
-
optional :name, :string, 1
|
194
|
-
optional :create_time, :message, 2, "google.protobuf.Timestamp"
|
195
|
-
optional :update_time, :message, 3, "google.protobuf.Timestamp"
|
196
|
-
map :labels, :string, :string, 4
|
197
|
-
optional :display_name, :string, 5
|
198
|
-
optional :state, :enum, 6, "google.cloud.clouddms.v1.MigrationJob.State"
|
199
|
-
optional :phase, :enum, 7, "google.cloud.clouddms.v1.MigrationJob.Phase"
|
200
|
-
optional :type, :enum, 8, "google.cloud.clouddms.v1.MigrationJob.Type"
|
201
|
-
optional :dump_path, :string, 9
|
202
|
-
optional :dump_flags, :message, 17, "google.cloud.clouddms.v1.MigrationJob.DumpFlags"
|
203
|
-
optional :source, :string, 10
|
204
|
-
optional :destination, :string, 11
|
205
|
-
optional :duration, :message, 12, "google.protobuf.Duration"
|
206
|
-
optional :error, :message, 13, "google.rpc.Status"
|
207
|
-
optional :source_database, :message, 14, "google.cloud.clouddms.v1.DatabaseType"
|
208
|
-
optional :destination_database, :message, 15, "google.cloud.clouddms.v1.DatabaseType"
|
209
|
-
optional :end_time, :message, 16, "google.protobuf.Timestamp"
|
210
|
-
optional :conversion_workspace, :message, 18, "google.cloud.clouddms.v1.ConversionWorkspaceInfo"
|
211
|
-
optional :filter, :string, 20
|
212
|
-
optional :cmek_key_name, :string, 21
|
213
|
-
oneof :connectivity do
|
214
|
-
optional :reverse_ssh_connectivity, :message, 101, "google.cloud.clouddms.v1.ReverseSshConnectivity"
|
215
|
-
optional :vpc_peering_connectivity, :message, 102, "google.cloud.clouddms.v1.VpcPeeringConnectivity"
|
216
|
-
optional :static_ip_connectivity, :message, 103, "google.cloud.clouddms.v1.StaticIpConnectivity"
|
217
|
-
end
|
218
|
-
end
|
219
|
-
add_message "google.cloud.clouddms.v1.MigrationJob.DumpFlag" do
|
220
|
-
optional :name, :string, 1
|
221
|
-
optional :value, :string, 2
|
222
|
-
end
|
223
|
-
add_message "google.cloud.clouddms.v1.MigrationJob.DumpFlags" do
|
224
|
-
repeated :dump_flags, :message, 1, "google.cloud.clouddms.v1.MigrationJob.DumpFlag"
|
225
|
-
end
|
226
|
-
add_enum "google.cloud.clouddms.v1.MigrationJob.State" do
|
227
|
-
value :STATE_UNSPECIFIED, 0
|
228
|
-
value :MAINTENANCE, 1
|
229
|
-
value :DRAFT, 2
|
230
|
-
value :CREATING, 3
|
231
|
-
value :NOT_STARTED, 4
|
232
|
-
value :RUNNING, 5
|
233
|
-
value :FAILED, 6
|
234
|
-
value :COMPLETED, 7
|
235
|
-
value :DELETING, 8
|
236
|
-
value :STOPPING, 9
|
237
|
-
value :STOPPED, 10
|
238
|
-
value :DELETED, 11
|
239
|
-
value :UPDATING, 12
|
240
|
-
value :STARTING, 13
|
241
|
-
value :RESTARTING, 14
|
242
|
-
value :RESUMING, 15
|
243
|
-
end
|
244
|
-
add_enum "google.cloud.clouddms.v1.MigrationJob.Phase" do
|
245
|
-
value :PHASE_UNSPECIFIED, 0
|
246
|
-
value :FULL_DUMP, 1
|
247
|
-
value :CDC, 2
|
248
|
-
value :PROMOTE_IN_PROGRESS, 3
|
249
|
-
value :WAITING_FOR_SOURCE_WRITES_TO_STOP, 4
|
250
|
-
value :PREPARING_THE_DUMP, 5
|
251
|
-
end
|
252
|
-
add_enum "google.cloud.clouddms.v1.MigrationJob.Type" do
|
253
|
-
value :TYPE_UNSPECIFIED, 0
|
254
|
-
value :ONE_TIME, 1
|
255
|
-
value :CONTINUOUS, 2
|
256
|
-
end
|
257
|
-
add_message "google.cloud.clouddms.v1.ConversionWorkspaceInfo" do
|
258
|
-
optional :name, :string, 1
|
259
|
-
optional :commit_id, :string, 2
|
260
|
-
end
|
261
|
-
add_message "google.cloud.clouddms.v1.ConnectionProfile" do
|
262
|
-
optional :name, :string, 1
|
263
|
-
optional :create_time, :message, 2, "google.protobuf.Timestamp"
|
264
|
-
optional :update_time, :message, 3, "google.protobuf.Timestamp"
|
265
|
-
map :labels, :string, :string, 4
|
266
|
-
optional :state, :enum, 5, "google.cloud.clouddms.v1.ConnectionProfile.State"
|
267
|
-
optional :display_name, :string, 6
|
268
|
-
optional :error, :message, 7, "google.rpc.Status"
|
269
|
-
optional :provider, :enum, 8, "google.cloud.clouddms.v1.DatabaseProvider"
|
270
|
-
oneof :connection_profile do
|
271
|
-
optional :mysql, :message, 100, "google.cloud.clouddms.v1.MySqlConnectionProfile"
|
272
|
-
optional :postgresql, :message, 101, "google.cloud.clouddms.v1.PostgreSqlConnectionProfile"
|
273
|
-
optional :oracle, :message, 104, "google.cloud.clouddms.v1.OracleConnectionProfile"
|
274
|
-
optional :cloudsql, :message, 102, "google.cloud.clouddms.v1.CloudSqlConnectionProfile"
|
275
|
-
optional :alloydb, :message, 105, "google.cloud.clouddms.v1.AlloyDbConnectionProfile"
|
276
|
-
end
|
277
|
-
end
|
278
|
-
add_enum "google.cloud.clouddms.v1.ConnectionProfile.State" do
|
279
|
-
value :STATE_UNSPECIFIED, 0
|
280
|
-
value :DRAFT, 1
|
281
|
-
value :CREATING, 2
|
282
|
-
value :READY, 3
|
283
|
-
value :UPDATING, 4
|
284
|
-
value :DELETING, 5
|
285
|
-
value :DELETED, 6
|
286
|
-
value :FAILED, 7
|
287
|
-
end
|
288
|
-
add_message "google.cloud.clouddms.v1.MigrationJobVerificationError" do
|
289
|
-
optional :error_code, :enum, 1, "google.cloud.clouddms.v1.MigrationJobVerificationError.ErrorCode"
|
290
|
-
optional :error_message, :string, 2
|
291
|
-
optional :error_detail_message, :string, 3
|
292
|
-
end
|
293
|
-
add_enum "google.cloud.clouddms.v1.MigrationJobVerificationError.ErrorCode" do
|
294
|
-
value :ERROR_CODE_UNSPECIFIED, 0
|
295
|
-
value :CONNECTION_FAILURE, 1
|
296
|
-
value :AUTHENTICATION_FAILURE, 2
|
297
|
-
value :INVALID_CONNECTION_PROFILE_CONFIG, 3
|
298
|
-
value :VERSION_INCOMPATIBILITY, 4
|
299
|
-
value :CONNECTION_PROFILE_TYPES_INCOMPATIBILITY, 5
|
300
|
-
value :NO_PGLOGICAL_INSTALLED, 7
|
301
|
-
value :PGLOGICAL_NODE_ALREADY_EXISTS, 8
|
302
|
-
value :INVALID_WAL_LEVEL, 9
|
303
|
-
value :INVALID_SHARED_PRELOAD_LIBRARY, 10
|
304
|
-
value :INSUFFICIENT_MAX_REPLICATION_SLOTS, 11
|
305
|
-
value :INSUFFICIENT_MAX_WAL_SENDERS, 12
|
306
|
-
value :INSUFFICIENT_MAX_WORKER_PROCESSES, 13
|
307
|
-
value :UNSUPPORTED_EXTENSIONS, 14
|
308
|
-
value :UNSUPPORTED_MIGRATION_TYPE, 15
|
309
|
-
value :INVALID_RDS_LOGICAL_REPLICATION, 16
|
310
|
-
value :UNSUPPORTED_GTID_MODE, 17
|
311
|
-
value :UNSUPPORTED_TABLE_DEFINITION, 18
|
312
|
-
value :UNSUPPORTED_DEFINER, 19
|
313
|
-
value :CANT_RESTART_RUNNING_MIGRATION, 21
|
314
|
-
value :TABLES_WITH_LIMITED_SUPPORT, 24
|
315
|
-
value :UNSUPPORTED_DATABASE_LOCALE, 25
|
316
|
-
value :UNSUPPORTED_DATABASE_FDW_CONFIG, 26
|
317
|
-
value :ERROR_RDBMS, 27
|
318
|
-
value :SOURCE_SIZE_EXCEEDS_THRESHOLD, 28
|
319
|
-
end
|
320
|
-
add_message "google.cloud.clouddms.v1.PrivateConnection" do
|
321
|
-
optional :name, :string, 1
|
322
|
-
optional :create_time, :message, 2, "google.protobuf.Timestamp"
|
323
|
-
optional :update_time, :message, 3, "google.protobuf.Timestamp"
|
324
|
-
map :labels, :string, :string, 4
|
325
|
-
optional :display_name, :string, 5
|
326
|
-
optional :state, :enum, 6, "google.cloud.clouddms.v1.PrivateConnection.State"
|
327
|
-
optional :error, :message, 7, "google.rpc.Status"
|
328
|
-
oneof :connectivity do
|
329
|
-
optional :vpc_peering_config, :message, 100, "google.cloud.clouddms.v1.VpcPeeringConfig"
|
330
|
-
end
|
331
|
-
end
|
332
|
-
add_enum "google.cloud.clouddms.v1.PrivateConnection.State" do
|
333
|
-
value :STATE_UNSPECIFIED, 0
|
334
|
-
value :CREATING, 1
|
335
|
-
value :CREATED, 2
|
336
|
-
value :FAILED, 3
|
337
|
-
value :DELETING, 4
|
338
|
-
value :FAILED_TO_DELETE, 5
|
339
|
-
value :DELETED, 6
|
340
|
-
end
|
341
|
-
add_message "google.cloud.clouddms.v1.VpcPeeringConfig" do
|
342
|
-
optional :vpc_name, :string, 1
|
343
|
-
optional :subnet, :string, 2
|
344
|
-
end
|
345
|
-
add_enum "google.cloud.clouddms.v1.NetworkArchitecture" do
|
346
|
-
value :NETWORK_ARCHITECTURE_UNSPECIFIED, 0
|
347
|
-
value :NETWORK_ARCHITECTURE_OLD_CSQL_PRODUCER, 1
|
348
|
-
value :NETWORK_ARCHITECTURE_NEW_CSQL_PRODUCER, 2
|
349
|
-
end
|
350
|
-
add_enum "google.cloud.clouddms.v1.DatabaseEngine" do
|
351
|
-
value :DATABASE_ENGINE_UNSPECIFIED, 0
|
352
|
-
value :MYSQL, 1
|
353
|
-
value :POSTGRESQL, 2
|
354
|
-
value :ORACLE, 4
|
355
|
-
end
|
356
|
-
add_enum "google.cloud.clouddms.v1.DatabaseProvider" do
|
357
|
-
value :DATABASE_PROVIDER_UNSPECIFIED, 0
|
358
|
-
value :CLOUDSQL, 1
|
359
|
-
value :RDS, 2
|
360
|
-
value :AURORA, 3
|
361
|
-
value :ALLOYDB, 4
|
14
|
+
|
15
|
+
descriptor_data = "\n1google/cloud/clouddms/v1/clouddms_resources.proto\x12\x18google.cloud.clouddms.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\x17google/rpc/status.proto\"\xee\x01\n\tSslConfig\x12>\n\x04type\x18\x01 \x01(\x0e\x32+.google.cloud.clouddms.v1.SslConfig.SslTypeB\x03\xe0\x41\x03\x12\x17\n\nclient_key\x18\x02 \x01(\tB\x03\xe0\x41\x04\x12\x1f\n\x12\x63lient_certificate\x18\x03 \x01(\tB\x03\xe0\x41\x04\x12\x1e\n\x0e\x63\x61_certificate\x18\x04 \x01(\tB\x06\xe0\x41\x04\xe0\x41\x02\"G\n\x07SslType\x12\x18\n\x14SSL_TYPE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bSERVER_ONLY\x10\x01\x12\x11\n\rSERVER_CLIENT\x10\x02\"\xd2\x01\n\x16MySqlConnectionProfile\x12\x11\n\x04host\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x11\n\x04port\x18\x02 \x01(\x05\x42\x03\xe0\x41\x02\x12\x15\n\x08username\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x08password\x18\x04 \x01(\tB\x06\xe0\x41\x04\xe0\x41\x02\x12\x19\n\x0cpassword_set\x18\x05 \x01(\x08\x42\x03\xe0\x41\x03\x12\x30\n\x03ssl\x18\x06 \x01(\x0b\x32#.google.cloud.clouddms.v1.SslConfig\x12\x14\n\x0c\x63loud_sql_id\x18\x07 \x01(\t\"\xf8\x03\n\x1bPostgreSqlConnectionProfile\x12\x11\n\x04host\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x11\n\x04port\x18\x02 \x01(\x05\x42\x03\xe0\x41\x02\x12\x15\n\x08username\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x08password\x18\x04 \x01(\tB\x06\xe0\x41\x04\xe0\x41\x02\x12\x19\n\x0cpassword_set\x18\x05 \x01(\x08\x42\x03\xe0\x41\x03\x12\x30\n\x03ssl\x18\x06 \x01(\x0b\x32#.google.cloud.clouddms.v1.SslConfig\x12\x14\n\x0c\x63loud_sql_id\x18\x07 \x01(\t\x12P\n\x14network_architecture\x18\x08 \x01(\x0e\x32-.google.cloud.clouddms.v1.NetworkArchitectureB\x03\xe0\x41\x03\x12P\n\x16static_ip_connectivity\x18\x64 \x01(\x0b\x32..google.cloud.clouddms.v1.StaticIpConnectivityH\x00\x12k\n$private_service_connect_connectivity\x18\x65 \x01(\x0b\x32;.google.cloud.clouddms.v1.PrivateServiceConnectConnectivityH\x00\x42\x0e\n\x0c\x63onnectivity\"\xf8\x03\n\x17OracleConnectionProfile\x12\x11\n\x04host\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x11\n\x04port\x18\x02 \x01(\x05\x42\x03\xe0\x41\x02\x12\x15\n\x08username\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x08password\x18\x04 \x01(\tB\x06\xe0\x41\x04\xe0\x41\x02\x12\x19\n\x0cpassword_set\x18\x05 \x01(\x08\x42\x03\xe0\x41\x03\x12\x1d\n\x10\x64\x61tabase_service\x18\x06 \x01(\tB\x03\xe0\x41\x02\x12\x30\n\x03ssl\x18\x07 \x01(\x0b\x32#.google.cloud.clouddms.v1.SslConfig\x12_\n\x1estatic_service_ip_connectivity\x18\x64 \x01(\x0b\x32\x35.google.cloud.clouddms.v1.StaticServiceIpConnectivityH\x00\x12Z\n\x18\x66orward_ssh_connectivity\x18\x65 \x01(\x0b\x32\x36.google.cloud.clouddms.v1.ForwardSshTunnelConnectivityH\x00\x12M\n\x14private_connectivity\x18\x66 \x01(\x0b\x32-.google.cloud.clouddms.v1.PrivateConnectivityH\x00\x42\x0e\n\x0c\x63onnectivity\"\xcd\x01\n\x19\x43loudSqlConnectionProfile\x12\x19\n\x0c\x63loud_sql_id\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x41\n\x08settings\x18\x02 \x01(\x0b\x32*.google.cloud.clouddms.v1.CloudSqlSettingsB\x03\xe0\x41\x05\x12\x17\n\nprivate_ip\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x16\n\tpublic_ip\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12!\n\x14\x61\x64\x64itional_public_ip\x18\x05 \x01(\tB\x03\xe0\x41\x03\"u\n\x18\x41lloyDbConnectionProfile\x12\x17\n\ncluster_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12@\n\x08settings\x18\x02 \x01(\x0b\x32).google.cloud.clouddms.v1.AlloyDbSettingsB\x03\xe0\x41\x05\"\x9b\x01\n\x0bSqlAclEntry\x12\r\n\x05value\x18\x01 \x01(\t\x12\x31\n\x0b\x65xpire_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00\x12-\n\x03ttl\x18\x0b \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x04H\x00\x12\r\n\x05label\x18\x03 \x01(\tB\x0c\n\nexpiration\"\xed\x01\n\x0bSqlIpConfig\x12/\n\x0b\x65nable_ipv4\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12\x17\n\x0fprivate_network\x18\x02 \x01(\t\x12\x1f\n\x12\x61llocated_ip_range\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12/\n\x0brequire_ssl\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12\x42\n\x13\x61uthorized_networks\x18\x04 \x03(\x0b\x32%.google.cloud.clouddms.v1.SqlAclEntry\"\x9a\r\n\x10\x43loudSqlSettings\x12W\n\x10\x64\x61tabase_version\x18\x01 \x01(\x0e\x32=.google.cloud.clouddms.v1.CloudSqlSettings.SqlDatabaseVersion\x12O\n\x0buser_labels\x18\x02 \x03(\x0b\x32:.google.cloud.clouddms.v1.CloudSqlSettings.UserLabelsEntry\x12\x0c\n\x04tier\x18\x03 \x01(\t\x12>\n\x19storage_auto_resize_limit\x18\x04 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12Y\n\x11\x61\x63tivation_policy\x18\x05 \x01(\x0e\x32>.google.cloud.clouddms.v1.CloudSqlSettings.SqlActivationPolicy\x12\x38\n\tip_config\x18\x06 \x01(\x0b\x32%.google.cloud.clouddms.v1.SqlIpConfig\x12\x39\n\x15\x61uto_storage_increase\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12U\n\x0e\x64\x61tabase_flags\x18\x08 \x03(\x0b\x32=.google.cloud.clouddms.v1.CloudSqlSettings.DatabaseFlagsEntry\x12R\n\x0e\x64\x61ta_disk_type\x18\t \x01(\x0e\x32:.google.cloud.clouddms.v1.CloudSqlSettings.SqlDataDiskType\x12\x36\n\x11\x64\x61ta_disk_size_gb\x18\n \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x0c\n\x04zone\x18\x0b \x01(\t\x12\x1b\n\x0esecondary_zone\x18\x12 \x01(\tB\x03\xe0\x41\x01\x12\x11\n\tsource_id\x18\x0c \x01(\t\x12\x1a\n\rroot_password\x18\r \x01(\tB\x03\xe0\x41\x04\x12\x1e\n\x11root_password_set\x18\x0e \x01(\x08\x42\x03\xe0\x41\x03\x12\x11\n\tcollation\x18\x0f \x01(\t\x12\x15\n\rcmek_key_name\x18\x10 \x01(\t\x12^\n\x11\x61vailability_type\x18\x11 \x01(\x0e\x32>.google.cloud.clouddms.v1.CloudSqlSettings.SqlAvailabilityTypeB\x03\xe0\x41\x01\x12H\n\x07\x65\x64ition\x18\x13 \x01(\x0e\x32\x32.google.cloud.clouddms.v1.CloudSqlSettings.EditionB\x03\xe0\x41\x01\x1a\x31\n\x0fUserLabelsEntry\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\"S\n\x13SqlActivationPolicy\x12%\n!SQL_ACTIVATION_POLICY_UNSPECIFIED\x10\x00\x12\n\n\x06\x41LWAYS\x10\x01\x12\t\n\x05NEVER\x10\x02\"M\n\x0fSqlDataDiskType\x12\"\n\x1eSQL_DATA_DISK_TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06PD_SSD\x10\x01\x12\n\n\x06PD_HDD\x10\x02\"\xdf\x01\n\x12SqlDatabaseVersion\x12$\n SQL_DATABASE_VERSION_UNSPECIFIED\x10\x00\x12\r\n\tMYSQL_5_6\x10\x01\x12\r\n\tMYSQL_5_7\x10\x02\x12\x10\n\x0cPOSTGRES_9_6\x10\x03\x12\x0f\n\x0bPOSTGRES_11\x10\x04\x12\x0f\n\x0bPOSTGRES_10\x10\x05\x12\r\n\tMYSQL_8_0\x10\x06\x12\x0f\n\x0bPOSTGRES_12\x10\x07\x12\x0f\n\x0bPOSTGRES_13\x10\x08\x12\x0f\n\x0bPOSTGRES_14\x10\x11\x12\x0f\n\x0bPOSTGRES_15\x10\x12\"U\n\x13SqlAvailabilityType\x12%\n!SQL_AVAILABILITY_TYPE_UNSPECIFIED\x10\x00\x12\t\n\x05ZONAL\x10\x01\x12\x0c\n\x08REGIONAL\x10\x02\"G\n\x07\x45\x64ition\x12\x17\n\x13\x45\x44ITION_UNSPECIFIED\x10\x00\x12\x0e\n\nENTERPRISE\x10\x02\x12\x13\n\x0f\x45NTERPRISE_PLUS\x10\x03\"\xb3\x08\n\x0f\x41lloyDbSettings\x12T\n\x0cinitial_user\x18\x01 \x01(\x0b\x32\x36.google.cloud.clouddms.v1.AlloyDbSettings.UserPasswordB\x06\xe0\x41\x02\xe0\x41\x04\x12\x18\n\x0bvpc_network\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x45\n\x06labels\x18\x03 \x03(\x0b\x32\x35.google.cloud.clouddms.v1.AlloyDbSettings.LabelsEntry\x12\x64\n\x19primary_instance_settings\x18\x04 \x01(\x0b\x32\x41.google.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings\x12Z\n\x11\x65ncryption_config\x18\x05 \x01(\x0b\x32:.google.cloud.clouddms.v1.AlloyDbSettings.EncryptionConfigB\x03\xe0\x41\x01\x1aI\n\x0cUserPassword\x12\x0c\n\x04user\x18\x01 \x01(\t\x12\x10\n\x08password\x18\x02 \x01(\t\x12\x19\n\x0cpassword_set\x18\x03 \x01(\x08\x42\x03\xe0\x41\x03\x1a\x82\x04\n\x17PrimaryInstanceSettings\x12\x0f\n\x02id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12g\n\x0emachine_config\x18\x02 \x01(\x0b\x32O.google.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings.MachineConfig\x12l\n\x0e\x64\x61tabase_flags\x18\x06 \x03(\x0b\x32T.google.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings.DatabaseFlagsEntry\x12]\n\x06labels\x18\x07 \x03(\x0b\x32M.google.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings.LabelsEntry\x12\x17\n\nprivate_ip\x18\x08 \x01(\tB\x03\xe0\x41\x03\x1a\"\n\rMachineConfig\x12\x11\n\tcpu_count\x18\x01 \x01(\x05\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-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a(\n\x10\x45ncryptionConfig\x12\x14\n\x0ckms_key_name\x18\x01 \x01(\t\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x16\n\x14StaticIpConnectivity\"D\n!PrivateServiceConnectConnectivity\x12\x1f\n\x12service_attachment\x18\x01 \x01(\tB\x03\xe0\x41\x02\"[\n\x16ReverseSshConnectivity\x12\x12\n\x05vm_ip\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x14\n\x07vm_port\x18\x02 \x01(\x05\x42\x03\xe0\x41\x02\x12\n\n\x02vm\x18\x03 \x01(\t\x12\x0b\n\x03vpc\x18\x04 \x01(\t\"%\n\x16VpcPeeringConnectivity\x12\x0b\n\x03vpc\x18\x01 \x01(\t\"\xa8\x01\n\x1c\x46orwardSshTunnelConnectivity\x12\x15\n\x08hostname\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x15\n\x08username\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x0c\n\x04port\x18\x03 \x01(\x05\x12\x17\n\x08password\x18\x64 \x01(\tB\x03\xe0\x41\x04H\x00\x12\x1a\n\x0bprivate_key\x18\x65 \x01(\tB\x03\xe0\x41\x04H\x00\x42\x17\n\x15\x61uthentication_method\"\x1d\n\x1bStaticServiceIpConnectivity\"6\n\x13PrivateConnectivity\x12\x1f\n\x12private_connection\x18\x01 \x01(\tB\x03\xe0\x41\x02\"\x86\x01\n\x0c\x44\x61tabaseType\x12<\n\x08provider\x18\x01 \x01(\x0e\x32*.google.cloud.clouddms.v1.DatabaseProvider\x12\x38\n\x06\x65ngine\x18\x02 \x01(\x0e\x32(.google.cloud.clouddms.v1.DatabaseEngine\"\xd8\x11\n\x0cMigrationJob\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x42\n\x06labels\x18\x04 \x03(\x0b\x32\x32.google.cloud.clouddms.v1.MigrationJob.LabelsEntry\x12\x14\n\x0c\x64isplay_name\x18\x05 \x01(\t\x12;\n\x05state\x18\x06 \x01(\x0e\x32,.google.cloud.clouddms.v1.MigrationJob.State\x12@\n\x05phase\x18\x07 \x01(\x0e\x32,.google.cloud.clouddms.v1.MigrationJob.PhaseB\x03\xe0\x41\x03\x12>\n\x04type\x18\x08 \x01(\x0e\x32+.google.cloud.clouddms.v1.MigrationJob.TypeB\x03\xe0\x41\x02\x12\x11\n\tdump_path\x18\t \x01(\t\x12\x44\n\ndump_flags\x18\x11 \x01(\x0b\x32\x30.google.cloud.clouddms.v1.MigrationJob.DumpFlags\x12\x13\n\x06source\x18\n \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0b\x64\x65stination\x18\x0b \x01(\tB\x03\xe0\x41\x02\x12T\n\x18reverse_ssh_connectivity\x18\x65 \x01(\x0b\x32\x30.google.cloud.clouddms.v1.ReverseSshConnectivityH\x00\x12T\n\x18vpc_peering_connectivity\x18\x66 \x01(\x0b\x32\x30.google.cloud.clouddms.v1.VpcPeeringConnectivityH\x00\x12P\n\x16static_ip_connectivity\x18g \x01(\x0b\x32..google.cloud.clouddms.v1.StaticIpConnectivityH\x00\x12\x30\n\x08\x64uration\x18\x0c \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x03\x12&\n\x05\x65rror\x18\r \x01(\x0b\x32\x12.google.rpc.StatusB\x03\xe0\x41\x03\x12?\n\x0fsource_database\x18\x0e \x01(\x0b\x32&.google.cloud.clouddms.v1.DatabaseType\x12\x44\n\x14\x64\x65stination_database\x18\x0f \x01(\x0b\x32&.google.cloud.clouddms.v1.DatabaseType\x12\x31\n\x08\x65nd_time\x18\x10 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12O\n\x14\x63onversion_workspace\x18\x12 \x01(\x0b\x32\x31.google.cloud.clouddms.v1.ConversionWorkspaceInfo\x12\x0e\n\x06\x66ilter\x18\x14 \x01(\t\x12\x15\n\rcmek_key_name\x18\x15 \x01(\t\x12Y\n\x12performance_config\x18\x16 \x01(\x0b\x32\x38.google.cloud.clouddms.v1.MigrationJob.PerformanceConfigB\x03\xe0\x41\x01\x1a\'\n\x08\x44umpFlag\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t\x1aP\n\tDumpFlags\x12\x43\n\ndump_flags\x18\x01 \x03(\x0b\x32/.google.cloud.clouddms.v1.MigrationJob.DumpFlag\x1a\xd5\x01\n\x11PerformanceConfig\x12g\n\x13\x64ump_parallel_level\x18\x01 \x01(\x0e\x32J.google.cloud.clouddms.v1.MigrationJob.PerformanceConfig.DumpParallelLevel\"W\n\x11\x44umpParallelLevel\x12#\n\x1f\x44UMP_PARALLEL_LEVEL_UNSPECIFIED\x10\x00\x12\x07\n\x03MIN\x10\x01\x12\x0b\n\x07OPTIMAL\x10\x02\x12\x07\n\x03MAX\x10\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xf1\x01\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bMAINTENANCE\x10\x01\x12\t\n\x05\x44RAFT\x10\x02\x12\x0c\n\x08\x43REATING\x10\x03\x12\x0f\n\x0bNOT_STARTED\x10\x04\x12\x0b\n\x07RUNNING\x10\x05\x12\n\n\x06\x46\x41ILED\x10\x06\x12\r\n\tCOMPLETED\x10\x07\x12\x0c\n\x08\x44\x45LETING\x10\x08\x12\x0c\n\x08STOPPING\x10\t\x12\x0b\n\x07STOPPED\x10\n\x12\x0b\n\x07\x44\x45LETED\x10\x0b\x12\x0c\n\x08UPDATING\x10\x0c\x12\x0c\n\x08STARTING\x10\r\x12\x0e\n\nRESTARTING\x10\x0e\x12\x0c\n\x08RESUMING\x10\x0f\"\x8e\x01\n\x05Phase\x12\x15\n\x11PHASE_UNSPECIFIED\x10\x00\x12\r\n\tFULL_DUMP\x10\x01\x12\x07\n\x03\x43\x44\x43\x10\x02\x12\x17\n\x13PROMOTE_IN_PROGRESS\x10\x03\x12%\n!WAITING_FOR_SOURCE_WRITES_TO_STOP\x10\x04\x12\x16\n\x12PREPARING_THE_DUMP\x10\x05\":\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x0c\n\x08ONE_TIME\x10\x01\x12\x0e\n\nCONTINUOUS\x10\x02:u\xea\x41r\n)datamigration.googleapis.com/MigrationJob\x12\x45projects/{project}/locations/{location}/migrationJobs/{migration_job}B\x0e\n\x0c\x63onnectivity\":\n\x17\x43onversionWorkspaceInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x11\n\tcommit_id\x18\x02 \x01(\t\"\xbf\x08\n\x11\x43onnectionProfile\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12G\n\x06labels\x18\x04 \x03(\x0b\x32\x37.google.cloud.clouddms.v1.ConnectionProfile.LabelsEntry\x12@\n\x05state\x18\x05 \x01(\x0e\x32\x31.google.cloud.clouddms.v1.ConnectionProfile.State\x12\x14\n\x0c\x64isplay_name\x18\x06 \x01(\t\x12\x41\n\x05mysql\x18\x64 \x01(\x0b\x32\x30.google.cloud.clouddms.v1.MySqlConnectionProfileH\x00\x12K\n\npostgresql\x18\x65 \x01(\x0b\x32\x35.google.cloud.clouddms.v1.PostgreSqlConnectionProfileH\x00\x12\x43\n\x06oracle\x18h \x01(\x0b\x32\x31.google.cloud.clouddms.v1.OracleConnectionProfileH\x00\x12G\n\x08\x63loudsql\x18\x66 \x01(\x0b\x32\x33.google.cloud.clouddms.v1.CloudSqlConnectionProfileH\x00\x12\x45\n\x07\x61lloydb\x18i \x01(\x0b\x32\x32.google.cloud.clouddms.v1.AlloyDbConnectionProfileH\x00\x12&\n\x05\x65rror\x18\x07 \x01(\x0b\x32\x12.google.rpc.StatusB\x03\xe0\x41\x03\x12<\n\x08provider\x18\x08 \x01(\x0e\x32*.google.cloud.clouddms.v1.DatabaseProvider\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"w\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\t\n\x05\x44RAFT\x10\x01\x12\x0c\n\x08\x43REATING\x10\x02\x12\t\n\x05READY\x10\x03\x12\x0c\n\x08UPDATING\x10\x04\x12\x0c\n\x08\x44\x45LETING\x10\x05\x12\x0b\n\x07\x44\x45LETED\x10\x06\x12\n\n\x06\x46\x41ILED\x10\x07:\x85\x01\xea\x41\x81\x01\n.datamigration.googleapis.com/ConnectionProfile\x12Oprojects/{project}/locations/{location}/connectionProfiles/{connection_profile}B\x14\n\x12\x63onnection_profile\"\xd5\x08\n\x1dMigrationJobVerificationError\x12Z\n\nerror_code\x18\x01 \x01(\x0e\x32\x41.google.cloud.clouddms.v1.MigrationJobVerificationError.ErrorCodeB\x03\xe0\x41\x03\x12\x1a\n\rerror_message\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12!\n\x14\x65rror_detail_message\x18\x03 \x01(\tB\x03\xe0\x41\x03\"\x98\x07\n\tErrorCode\x12\x1a\n\x16\x45RROR_CODE_UNSPECIFIED\x10\x00\x12\x16\n\x12\x43ONNECTION_FAILURE\x10\x01\x12\x1a\n\x16\x41UTHENTICATION_FAILURE\x10\x02\x12%\n!INVALID_CONNECTION_PROFILE_CONFIG\x10\x03\x12\x1b\n\x17VERSION_INCOMPATIBILITY\x10\x04\x12,\n(CONNECTION_PROFILE_TYPES_INCOMPATIBILITY\x10\x05\x12\x1a\n\x16NO_PGLOGICAL_INSTALLED\x10\x07\x12!\n\x1dPGLOGICAL_NODE_ALREADY_EXISTS\x10\x08\x12\x15\n\x11INVALID_WAL_LEVEL\x10\t\x12\"\n\x1eINVALID_SHARED_PRELOAD_LIBRARY\x10\n\x12&\n\"INSUFFICIENT_MAX_REPLICATION_SLOTS\x10\x0b\x12 \n\x1cINSUFFICIENT_MAX_WAL_SENDERS\x10\x0c\x12%\n!INSUFFICIENT_MAX_WORKER_PROCESSES\x10\r\x12\x1a\n\x16UNSUPPORTED_EXTENSIONS\x10\x0e\x12\x1e\n\x1aUNSUPPORTED_MIGRATION_TYPE\x10\x0f\x12#\n\x1fINVALID_RDS_LOGICAL_REPLICATION\x10\x10\x12\x19\n\x15UNSUPPORTED_GTID_MODE\x10\x11\x12 \n\x1cUNSUPPORTED_TABLE_DEFINITION\x10\x12\x12\x17\n\x13UNSUPPORTED_DEFINER\x10\x13\x12\"\n\x1e\x43\x41NT_RESTART_RUNNING_MIGRATION\x10\x15\x12\x18\n\x14SOURCE_ALREADY_SETUP\x10\x17\x12\x1f\n\x1bTABLES_WITH_LIMITED_SUPPORT\x10\x18\x12\x1f\n\x1bUNSUPPORTED_DATABASE_LOCALE\x10\x19\x12#\n\x1fUNSUPPORTED_DATABASE_FDW_CONFIG\x10\x1a\x12\x0f\n\x0b\x45RROR_RDBMS\x10\x1b\x12!\n\x1dSOURCE_SIZE_EXCEEDS_THRESHOLD\x10\x1c\x12\"\n\x1e\x45XISTING_CONFLICTING_DATABASES\x10\x1d\x12*\n&PARALLEL_IMPORT_INSUFFICIENT_PRIVILEGE\x10\x1e\"\xe4\x05\n\x11PrivateConnection\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12G\n\x06labels\x18\x04 \x03(\x0b\x32\x37.google.cloud.clouddms.v1.PrivateConnection.LabelsEntry\x12\x14\n\x0c\x64isplay_name\x18\x05 \x01(\t\x12\x45\n\x05state\x18\x06 \x01(\x0e\x32\x31.google.cloud.clouddms.v1.PrivateConnection.StateB\x03\xe0\x41\x03\x12&\n\x05\x65rror\x18\x07 \x01(\x0b\x32\x12.google.rpc.StatusB\x03\xe0\x41\x03\x12H\n\x12vpc_peering_config\x18\x64 \x01(\x0b\x32*.google.cloud.clouddms.v1.VpcPeeringConfigH\x00\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"v\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\x0b\n\x07\x43REATED\x10\x02\x12\n\n\x06\x46\x41ILED\x10\x03\x12\x0c\n\x08\x44\x45LETING\x10\x04\x12\x14\n\x10\x46\x41ILED_TO_DELETE\x10\x05\x12\x0b\n\x07\x44\x45LETED\x10\x06:\x85\x01\xea\x41\x81\x01\n.datamigration.googleapis.com/PrivateConnection\x12Oprojects/{project}/locations/{location}/privateConnections/{private_connection}B\x0e\n\x0c\x63onnectivity\"b\n\x10VpcPeeringConfig\x12\x39\n\x08vpc_name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x63ompute.googleapis.com/Networks\x12\x13\n\x06subnet\x18\x02 \x01(\tB\x03\xe0\x41\x02*\x93\x01\n\x13NetworkArchitecture\x12$\n NETWORK_ARCHITECTURE_UNSPECIFIED\x10\x00\x12*\n&NETWORK_ARCHITECTURE_OLD_CSQL_PRODUCER\x10\x01\x12*\n&NETWORK_ARCHITECTURE_NEW_CSQL_PRODUCER\x10\x02*X\n\x0e\x44\x61tabaseEngine\x12\x1f\n\x1b\x44\x41TABASE_ENGINE_UNSPECIFIED\x10\x00\x12\t\n\x05MYSQL\x10\x01\x12\x0e\n\nPOSTGRESQL\x10\x02\x12\n\n\x06ORACLE\x10\x04*e\n\x10\x44\x61tabaseProvider\x12!\n\x1d\x44\x41TABASE_PROVIDER_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43LOUDSQL\x10\x01\x12\x07\n\x03RDS\x10\x02\x12\n\n\x06\x41URORA\x10\x03\x12\x0b\n\x07\x41LLOYDB\x10\x04\x42\x98\x02\n\x1c\x63om.google.cloud.clouddms.v1B\x16\x43louddmsResourcesProtoP\x01Z8cloud.google.com/go/clouddms/apiv1/clouddmspb;clouddmspb\xaa\x02\x18Google.Cloud.CloudDms.V1\xca\x02\x18Google\\Cloud\\CloudDms\\V1\xea\x02\x1bGoogle::Cloud::CloudDMS::V1\xea\x41O\n\x1f\x63ompute.googleapis.com/Networks\x12,projects/{project}/global/networks/{network}b\x06proto3"
|
16
|
+
|
17
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
18
|
+
|
19
|
+
begin
|
20
|
+
pool.add_serialized_file(descriptor_data)
|
21
|
+
rescue TypeError => e
|
22
|
+
# Compatibility code: will be removed in the next major version.
|
23
|
+
require 'google/protobuf/descriptor_pb'
|
24
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
25
|
+
parsed.clear_dependency
|
26
|
+
serialized = parsed.class.encode(parsed)
|
27
|
+
file = pool.add_serialized_file(serialized)
|
28
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
29
|
+
imports = [
|
30
|
+
["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
|
31
|
+
["google.protobuf.Duration", "google/protobuf/duration.proto"],
|
32
|
+
["google.protobuf.BoolValue", "google/protobuf/wrappers.proto"],
|
33
|
+
["google.rpc.Status", "google/rpc/status.proto"],
|
34
|
+
]
|
35
|
+
imports.each do |type_name, expected_filename|
|
36
|
+
import_file = pool.lookup(type_name).file_descriptor
|
37
|
+
if import_file.name != expected_filename
|
38
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
362
39
|
end
|
363
40
|
end
|
41
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
42
|
+
warn "This will become an error in the next major version."
|
364
43
|
end
|
365
44
|
|
366
45
|
module Google
|
@@ -381,6 +60,7 @@ module Google
|
|
381
60
|
CloudSqlSettings::SqlDataDiskType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.CloudSqlSettings.SqlDataDiskType").enummodule
|
382
61
|
CloudSqlSettings::SqlDatabaseVersion = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.CloudSqlSettings.SqlDatabaseVersion").enummodule
|
383
62
|
CloudSqlSettings::SqlAvailabilityType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.CloudSqlSettings.SqlAvailabilityType").enummodule
|
63
|
+
CloudSqlSettings::Edition = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.CloudSqlSettings.Edition").enummodule
|
384
64
|
AlloyDbSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.AlloyDbSettings").msgclass
|
385
65
|
AlloyDbSettings::UserPassword = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.AlloyDbSettings.UserPassword").msgclass
|
386
66
|
AlloyDbSettings::PrimaryInstanceSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings").msgclass
|
@@ -397,6 +77,8 @@ module Google
|
|
397
77
|
MigrationJob = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.MigrationJob").msgclass
|
398
78
|
MigrationJob::DumpFlag = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.MigrationJob.DumpFlag").msgclass
|
399
79
|
MigrationJob::DumpFlags = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.MigrationJob.DumpFlags").msgclass
|
80
|
+
MigrationJob::PerformanceConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.MigrationJob.PerformanceConfig").msgclass
|
81
|
+
MigrationJob::PerformanceConfig::DumpParallelLevel = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.MigrationJob.PerformanceConfig.DumpParallelLevel").enummodule
|
400
82
|
MigrationJob::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.MigrationJob.State").enummodule
|
401
83
|
MigrationJob::Phase = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.MigrationJob.Phase").enummodule
|
402
84
|
MigrationJob::Type = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.MigrationJob.Type").enummodule
|
@@ -63,6 +63,9 @@ module Google
|
|
63
63
|
# Generate a SSH configuration script to configure the reverse SSH
|
64
64
|
# connectivity.
|
65
65
|
rpc :GenerateSshScript, ::Google::Cloud::CloudDMS::V1::GenerateSshScriptRequest, ::Google::Cloud::CloudDMS::V1::SshScript
|
66
|
+
# Generate a TCP Proxy configuration script to configure a cloud-hosted VM
|
67
|
+
# running a TCP Proxy.
|
68
|
+
rpc :GenerateTcpProxyScript, ::Google::Cloud::CloudDMS::V1::GenerateTcpProxyScriptRequest, ::Google::Cloud::CloudDMS::V1::TcpProxyScript
|
66
69
|
# Retrieves a list of all connection profiles in a given project and
|
67
70
|
# location.
|
68
71
|
rpc :ListConnectionProfiles, ::Google::Cloud::CloudDMS::V1::ListConnectionProfilesRequest, ::Google::Cloud::CloudDMS::V1::ListConnectionProfilesResponse
|
@@ -94,6 +97,14 @@ module Google
|
|
94
97
|
rpc :UpdateConversionWorkspace, ::Google::Cloud::CloudDMS::V1::UpdateConversionWorkspaceRequest, ::Google::Longrunning::Operation
|
95
98
|
# Deletes a single conversion workspace.
|
96
99
|
rpc :DeleteConversionWorkspace, ::Google::Cloud::CloudDMS::V1::DeleteConversionWorkspaceRequest, ::Google::Longrunning::Operation
|
100
|
+
# Creates a new mapping rule for a given conversion workspace.
|
101
|
+
rpc :CreateMappingRule, ::Google::Cloud::CloudDMS::V1::CreateMappingRuleRequest, ::Google::Cloud::CloudDMS::V1::MappingRule
|
102
|
+
# Deletes a single mapping rule.
|
103
|
+
rpc :DeleteMappingRule, ::Google::Cloud::CloudDMS::V1::DeleteMappingRuleRequest, ::Google::Protobuf::Empty
|
104
|
+
# Lists the mapping rules for a specific conversion workspace.
|
105
|
+
rpc :ListMappingRules, ::Google::Cloud::CloudDMS::V1::ListMappingRulesRequest, ::Google::Cloud::CloudDMS::V1::ListMappingRulesResponse
|
106
|
+
# Gets the details of a mapping rule.
|
107
|
+
rpc :GetMappingRule, ::Google::Cloud::CloudDMS::V1::GetMappingRuleRequest, ::Google::Cloud::CloudDMS::V1::MappingRule
|
97
108
|
# Imports a snapshot of the source database into the
|
98
109
|
# conversion workspace.
|
99
110
|
rpc :SeedConversionWorkspace, ::Google::Cloud::CloudDMS::V1::SeedConversionWorkspaceRequest, ::Google::Longrunning::Operation
|