google-cloud-cloud_dms-v1 0.2.0 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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
 
@@ -9,229 +10,36 @@ require 'google/protobuf/duration_pb'
9
10
  require 'google/protobuf/timestamp_pb'
10
11
  require 'google/protobuf/wrappers_pb'
11
12
  require 'google/rpc/status_pb'
12
- require 'google/api/annotations_pb'
13
13
 
14
- Google::Protobuf::DescriptorPool.generated_pool.build do
15
- add_file("google/cloud/clouddms/v1/clouddms_resources.proto", :syntax => :proto3) do
16
- add_message "google.cloud.clouddms.v1.SslConfig" do
17
- optional :type, :enum, 1, "google.cloud.clouddms.v1.SslConfig.SslType"
18
- optional :client_key, :string, 2
19
- optional :client_certificate, :string, 3
20
- optional :ca_certificate, :string, 4
21
- end
22
- add_enum "google.cloud.clouddms.v1.SslConfig.SslType" do
23
- value :SSL_TYPE_UNSPECIFIED, 0
24
- value :SERVER_ONLY, 1
25
- value :SERVER_CLIENT, 2
26
- end
27
- add_message "google.cloud.clouddms.v1.MySqlConnectionProfile" do
28
- optional :host, :string, 1
29
- optional :port, :int32, 2
30
- optional :username, :string, 3
31
- optional :password, :string, 4
32
- optional :password_set, :bool, 5
33
- optional :ssl, :message, 6, "google.cloud.clouddms.v1.SslConfig"
34
- optional :cloud_sql_id, :string, 7
35
- end
36
- add_message "google.cloud.clouddms.v1.PostgreSqlConnectionProfile" do
37
- optional :host, :string, 1
38
- optional :port, :int32, 2
39
- optional :username, :string, 3
40
- optional :password, :string, 4
41
- optional :password_set, :bool, 5
42
- optional :ssl, :message, 6, "google.cloud.clouddms.v1.SslConfig"
43
- optional :cloud_sql_id, :string, 7
44
- end
45
- add_message "google.cloud.clouddms.v1.CloudSqlConnectionProfile" do
46
- optional :cloud_sql_id, :string, 1
47
- optional :settings, :message, 2, "google.cloud.clouddms.v1.CloudSqlSettings"
48
- optional :private_ip, :string, 3
49
- optional :public_ip, :string, 4
50
- end
51
- add_message "google.cloud.clouddms.v1.SqlAclEntry" do
52
- optional :value, :string, 1
53
- optional :label, :string, 3
54
- oneof :expiration do
55
- optional :expire_time, :message, 10, "google.protobuf.Timestamp"
56
- optional :ttl, :message, 11, "google.protobuf.Duration"
57
- end
58
- end
59
- add_message "google.cloud.clouddms.v1.SqlIpConfig" do
60
- optional :enable_ipv4, :message, 1, "google.protobuf.BoolValue"
61
- optional :private_network, :string, 2
62
- optional :require_ssl, :message, 3, "google.protobuf.BoolValue"
63
- repeated :authorized_networks, :message, 4, "google.cloud.clouddms.v1.SqlAclEntry"
64
- end
65
- add_message "google.cloud.clouddms.v1.CloudSqlSettings" do
66
- optional :database_version, :enum, 1, "google.cloud.clouddms.v1.CloudSqlSettings.SqlDatabaseVersion"
67
- map :user_labels, :string, :string, 2
68
- optional :tier, :string, 3
69
- optional :storage_auto_resize_limit, :message, 4, "google.protobuf.Int64Value"
70
- optional :activation_policy, :enum, 5, "google.cloud.clouddms.v1.CloudSqlSettings.SqlActivationPolicy"
71
- optional :ip_config, :message, 6, "google.cloud.clouddms.v1.SqlIpConfig"
72
- optional :auto_storage_increase, :message, 7, "google.protobuf.BoolValue"
73
- map :database_flags, :string, :string, 8
74
- optional :data_disk_type, :enum, 9, "google.cloud.clouddms.v1.CloudSqlSettings.SqlDataDiskType"
75
- optional :data_disk_size_gb, :message, 10, "google.protobuf.Int64Value"
76
- optional :zone, :string, 11
77
- optional :source_id, :string, 12
78
- optional :root_password, :string, 13
79
- optional :root_password_set, :bool, 14
80
- optional :collation, :string, 15
81
- end
82
- add_enum "google.cloud.clouddms.v1.CloudSqlSettings.SqlActivationPolicy" do
83
- value :SQL_ACTIVATION_POLICY_UNSPECIFIED, 0
84
- value :ALWAYS, 1
85
- value :NEVER, 2
86
- end
87
- add_enum "google.cloud.clouddms.v1.CloudSqlSettings.SqlDataDiskType" do
88
- value :SQL_DATA_DISK_TYPE_UNSPECIFIED, 0
89
- value :PD_SSD, 1
90
- value :PD_HDD, 2
91
- end
92
- add_enum "google.cloud.clouddms.v1.CloudSqlSettings.SqlDatabaseVersion" do
93
- value :SQL_DATABASE_VERSION_UNSPECIFIED, 0
94
- value :MYSQL_5_6, 1
95
- value :MYSQL_5_7, 2
96
- value :POSTGRES_9_6, 3
97
- value :POSTGRES_11, 4
98
- value :POSTGRES_10, 5
99
- value :MYSQL_8_0, 6
100
- value :POSTGRES_12, 7
101
- value :POSTGRES_13, 8
102
- end
103
- add_message "google.cloud.clouddms.v1.StaticIpConnectivity" do
104
- end
105
- add_message "google.cloud.clouddms.v1.ReverseSshConnectivity" do
106
- optional :vm_ip, :string, 1
107
- optional :vm_port, :int32, 2
108
- optional :vm, :string, 3
109
- optional :vpc, :string, 4
110
- end
111
- add_message "google.cloud.clouddms.v1.VpcPeeringConnectivity" do
112
- optional :vpc, :string, 1
113
- end
114
- add_message "google.cloud.clouddms.v1.DatabaseType" do
115
- optional :provider, :enum, 1, "google.cloud.clouddms.v1.DatabaseProvider"
116
- optional :engine, :enum, 2, "google.cloud.clouddms.v1.DatabaseEngine"
117
- end
118
- add_message "google.cloud.clouddms.v1.MigrationJob" do
119
- optional :name, :string, 1
120
- optional :create_time, :message, 2, "google.protobuf.Timestamp"
121
- optional :update_time, :message, 3, "google.protobuf.Timestamp"
122
- map :labels, :string, :string, 4
123
- optional :display_name, :string, 5
124
- optional :state, :enum, 6, "google.cloud.clouddms.v1.MigrationJob.State"
125
- optional :phase, :enum, 7, "google.cloud.clouddms.v1.MigrationJob.Phase"
126
- optional :type, :enum, 8, "google.cloud.clouddms.v1.MigrationJob.Type"
127
- optional :dump_path, :string, 9
128
- optional :source, :string, 10
129
- optional :destination, :string, 11
130
- optional :duration, :message, 12, "google.protobuf.Duration"
131
- optional :error, :message, 13, "google.rpc.Status"
132
- optional :source_database, :message, 14, "google.cloud.clouddms.v1.DatabaseType"
133
- optional :destination_database, :message, 15, "google.cloud.clouddms.v1.DatabaseType"
134
- optional :end_time, :message, 16, "google.protobuf.Timestamp"
135
- oneof :connectivity do
136
- optional :reverse_ssh_connectivity, :message, 101, "google.cloud.clouddms.v1.ReverseSshConnectivity"
137
- optional :vpc_peering_connectivity, :message, 102, "google.cloud.clouddms.v1.VpcPeeringConnectivity"
138
- optional :static_ip_connectivity, :message, 103, "google.cloud.clouddms.v1.StaticIpConnectivity"
139
- end
140
- end
141
- add_enum "google.cloud.clouddms.v1.MigrationJob.State" do
142
- value :STATE_UNSPECIFIED, 0
143
- value :MAINTENANCE, 1
144
- value :DRAFT, 2
145
- value :CREATING, 3
146
- value :NOT_STARTED, 4
147
- value :RUNNING, 5
148
- value :FAILED, 6
149
- value :COMPLETED, 7
150
- value :DELETING, 8
151
- value :STOPPING, 9
152
- value :STOPPED, 10
153
- value :DELETED, 11
154
- value :UPDATING, 12
155
- value :STARTING, 13
156
- value :RESTARTING, 14
157
- value :RESUMING, 15
158
- end
159
- add_enum "google.cloud.clouddms.v1.MigrationJob.Phase" do
160
- value :PHASE_UNSPECIFIED, 0
161
- value :FULL_DUMP, 1
162
- value :CDC, 2
163
- value :PROMOTE_IN_PROGRESS, 3
164
- value :WAITING_FOR_SOURCE_WRITES_TO_STOP, 4
165
- value :PREPARING_THE_DUMP, 5
166
- end
167
- add_enum "google.cloud.clouddms.v1.MigrationJob.Type" do
168
- value :TYPE_UNSPECIFIED, 0
169
- value :ONE_TIME, 1
170
- value :CONTINUOUS, 2
171
- end
172
- add_message "google.cloud.clouddms.v1.ConnectionProfile" do
173
- optional :name, :string, 1
174
- optional :create_time, :message, 2, "google.protobuf.Timestamp"
175
- optional :update_time, :message, 3, "google.protobuf.Timestamp"
176
- map :labels, :string, :string, 4
177
- optional :state, :enum, 5, "google.cloud.clouddms.v1.ConnectionProfile.State"
178
- optional :display_name, :string, 6
179
- optional :error, :message, 7, "google.rpc.Status"
180
- optional :provider, :enum, 8, "google.cloud.clouddms.v1.DatabaseProvider"
181
- oneof :connection_profile do
182
- optional :mysql, :message, 100, "google.cloud.clouddms.v1.MySqlConnectionProfile"
183
- optional :postgresql, :message, 101, "google.cloud.clouddms.v1.PostgreSqlConnectionProfile"
184
- optional :cloudsql, :message, 102, "google.cloud.clouddms.v1.CloudSqlConnectionProfile"
185
- end
186
- end
187
- add_enum "google.cloud.clouddms.v1.ConnectionProfile.State" do
188
- value :STATE_UNSPECIFIED, 0
189
- value :DRAFT, 1
190
- value :CREATING, 2
191
- value :READY, 3
192
- value :UPDATING, 4
193
- value :DELETING, 5
194
- value :DELETED, 6
195
- value :FAILED, 7
196
- end
197
- add_message "google.cloud.clouddms.v1.MigrationJobVerificationError" do
198
- optional :error_code, :enum, 1, "google.cloud.clouddms.v1.MigrationJobVerificationError.ErrorCode"
199
- optional :error_message, :string, 2
200
- optional :error_detail_message, :string, 3
201
- end
202
- add_enum "google.cloud.clouddms.v1.MigrationJobVerificationError.ErrorCode" do
203
- value :ERROR_CODE_UNSPECIFIED, 0
204
- value :CONNECTION_FAILURE, 1
205
- value :AUTHENTICATION_FAILURE, 2
206
- value :INVALID_CONNECTION_PROFILE_CONFIG, 3
207
- value :VERSION_INCOMPATIBILITY, 4
208
- value :CONNECTION_PROFILE_TYPES_INCOMPATIBILITY, 5
209
- value :NO_PGLOGICAL_INSTALLED, 7
210
- value :PGLOGICAL_NODE_ALREADY_EXISTS, 8
211
- value :INVALID_WAL_LEVEL, 9
212
- value :INVALID_SHARED_PRELOAD_LIBRARY, 10
213
- value :INSUFFICIENT_MAX_REPLICATION_SLOTS, 11
214
- value :INSUFFICIENT_MAX_WAL_SENDERS, 12
215
- value :INSUFFICIENT_MAX_WORKER_PROCESSES, 13
216
- value :UNSUPPORTED_EXTENSIONS, 14
217
- value :UNSUPPORTED_MIGRATION_TYPE, 15
218
- value :INVALID_RDS_LOGICAL_REPLICATION, 16
219
- value :UNSUPPORTED_GTID_MODE, 17
220
- value :UNSUPPORTED_TABLE_DEFINITION, 18
221
- value :UNSUPPORTED_DEFINER, 19
222
- value :CANT_RESTART_RUNNING_MIGRATION, 21
223
- end
224
- add_enum "google.cloud.clouddms.v1.DatabaseEngine" do
225
- value :DATABASE_ENGINE_UNSPECIFIED, 0
226
- value :MYSQL, 1
227
- value :POSTGRESQL, 2
228
- end
229
- add_enum "google.cloud.clouddms.v1.DatabaseProvider" do
230
- value :DATABASE_PROVIDER_UNSPECIFIED, 0
231
- value :CLOUDSQL, 1
232
- value :RDS, 2
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\"\xc6\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_\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\"\xf6\x0b\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\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\"\xce\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\"U\n\x13SqlAvailabilityType\x12%\n!SQL_AVAILABILITY_TYPE_UNSPECIFIED\x10\x00\x12\t\n\x05ZONAL\x10\x01\x12\x0c\n\x08REGIONAL\x10\x02\"\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\"\xa5\x0f\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\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-\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\"\xeb\x07\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\"\xae\x06\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\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\"\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}"
233
39
  end
234
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."
235
43
  end
236
44
 
237
45
  module Google
@@ -242,25 +50,44 @@ module Google
242
50
  SslConfig::SslType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.SslConfig.SslType").enummodule
243
51
  MySqlConnectionProfile = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.MySqlConnectionProfile").msgclass
244
52
  PostgreSqlConnectionProfile = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.PostgreSqlConnectionProfile").msgclass
53
+ OracleConnectionProfile = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.OracleConnectionProfile").msgclass
245
54
  CloudSqlConnectionProfile = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.CloudSqlConnectionProfile").msgclass
55
+ AlloyDbConnectionProfile = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.AlloyDbConnectionProfile").msgclass
246
56
  SqlAclEntry = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.SqlAclEntry").msgclass
247
57
  SqlIpConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.SqlIpConfig").msgclass
248
58
  CloudSqlSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.CloudSqlSettings").msgclass
249
59
  CloudSqlSettings::SqlActivationPolicy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.CloudSqlSettings.SqlActivationPolicy").enummodule
250
60
  CloudSqlSettings::SqlDataDiskType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.CloudSqlSettings.SqlDataDiskType").enummodule
251
61
  CloudSqlSettings::SqlDatabaseVersion = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.CloudSqlSettings.SqlDatabaseVersion").enummodule
62
+ CloudSqlSettings::SqlAvailabilityType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.CloudSqlSettings.SqlAvailabilityType").enummodule
63
+ AlloyDbSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.AlloyDbSettings").msgclass
64
+ AlloyDbSettings::UserPassword = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.AlloyDbSettings.UserPassword").msgclass
65
+ AlloyDbSettings::PrimaryInstanceSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings").msgclass
66
+ AlloyDbSettings::PrimaryInstanceSettings::MachineConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings.MachineConfig").msgclass
67
+ AlloyDbSettings::EncryptionConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.AlloyDbSettings.EncryptionConfig").msgclass
252
68
  StaticIpConnectivity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.StaticIpConnectivity").msgclass
69
+ PrivateServiceConnectConnectivity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.PrivateServiceConnectConnectivity").msgclass
253
70
  ReverseSshConnectivity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.ReverseSshConnectivity").msgclass
254
71
  VpcPeeringConnectivity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.VpcPeeringConnectivity").msgclass
72
+ ForwardSshTunnelConnectivity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.ForwardSshTunnelConnectivity").msgclass
73
+ StaticServiceIpConnectivity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.StaticServiceIpConnectivity").msgclass
74
+ PrivateConnectivity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.PrivateConnectivity").msgclass
255
75
  DatabaseType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.DatabaseType").msgclass
256
76
  MigrationJob = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.MigrationJob").msgclass
77
+ MigrationJob::DumpFlag = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.MigrationJob.DumpFlag").msgclass
78
+ MigrationJob::DumpFlags = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.MigrationJob.DumpFlags").msgclass
257
79
  MigrationJob::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.MigrationJob.State").enummodule
258
80
  MigrationJob::Phase = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.MigrationJob.Phase").enummodule
259
81
  MigrationJob::Type = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.MigrationJob.Type").enummodule
82
+ ConversionWorkspaceInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.ConversionWorkspaceInfo").msgclass
260
83
  ConnectionProfile = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.ConnectionProfile").msgclass
261
84
  ConnectionProfile::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.ConnectionProfile.State").enummodule
262
85
  MigrationJobVerificationError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.MigrationJobVerificationError").msgclass
263
86
  MigrationJobVerificationError::ErrorCode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.MigrationJobVerificationError.ErrorCode").enummodule
87
+ PrivateConnection = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.PrivateConnection").msgclass
88
+ PrivateConnection::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.PrivateConnection.State").enummodule
89
+ VpcPeeringConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.VpcPeeringConfig").msgclass
90
+ NetworkArchitecture = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.NetworkArchitecture").enummodule
264
91
  DatabaseEngine = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.DatabaseEngine").enummodule
265
92
  DatabaseProvider = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.DatabaseProvider").enummodule
266
93
  end
@@ -63,7 +63,8 @@ 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
- # Retrieve a list of all connection profiles in a given project and location.
66
+ # Retrieves a list of all connection profiles in a given project and
67
+ # location.
67
68
  rpc :ListConnectionProfiles, ::Google::Cloud::CloudDMS::V1::ListConnectionProfilesRequest, ::Google::Cloud::CloudDMS::V1::ListConnectionProfilesResponse
68
69
  # Gets details of a single connection profile.
69
70
  rpc :GetConnectionProfile, ::Google::Cloud::CloudDMS::V1::GetConnectionProfileRequest, ::Google::Cloud::CloudDMS::V1::ConnectionProfile
@@ -75,6 +76,58 @@ module Google
75
76
  # A connection profile can only be deleted if it is not in use by any
76
77
  # active migration jobs.
77
78
  rpc :DeleteConnectionProfile, ::Google::Cloud::CloudDMS::V1::DeleteConnectionProfileRequest, ::Google::Longrunning::Operation
79
+ # Creates a new private connection in a given project and location.
80
+ rpc :CreatePrivateConnection, ::Google::Cloud::CloudDMS::V1::CreatePrivateConnectionRequest, ::Google::Longrunning::Operation
81
+ # Gets details of a single private connection.
82
+ rpc :GetPrivateConnection, ::Google::Cloud::CloudDMS::V1::GetPrivateConnectionRequest, ::Google::Cloud::CloudDMS::V1::PrivateConnection
83
+ # Retrieves a list of private connections in a given project and location.
84
+ rpc :ListPrivateConnections, ::Google::Cloud::CloudDMS::V1::ListPrivateConnectionsRequest, ::Google::Cloud::CloudDMS::V1::ListPrivateConnectionsResponse
85
+ # Deletes a single Database Migration Service private connection.
86
+ rpc :DeletePrivateConnection, ::Google::Cloud::CloudDMS::V1::DeletePrivateConnectionRequest, ::Google::Longrunning::Operation
87
+ # Gets details of a single conversion workspace.
88
+ rpc :GetConversionWorkspace, ::Google::Cloud::CloudDMS::V1::GetConversionWorkspaceRequest, ::Google::Cloud::CloudDMS::V1::ConversionWorkspace
89
+ # Lists conversion workspaces in a given project and location.
90
+ rpc :ListConversionWorkspaces, ::Google::Cloud::CloudDMS::V1::ListConversionWorkspacesRequest, ::Google::Cloud::CloudDMS::V1::ListConversionWorkspacesResponse
91
+ # Creates a new conversion workspace in a given project and location.
92
+ rpc :CreateConversionWorkspace, ::Google::Cloud::CloudDMS::V1::CreateConversionWorkspaceRequest, ::Google::Longrunning::Operation
93
+ # Updates the parameters of a single conversion workspace.
94
+ rpc :UpdateConversionWorkspace, ::Google::Cloud::CloudDMS::V1::UpdateConversionWorkspaceRequest, ::Google::Longrunning::Operation
95
+ # Deletes a single conversion workspace.
96
+ rpc :DeleteConversionWorkspace, ::Google::Cloud::CloudDMS::V1::DeleteConversionWorkspaceRequest, ::Google::Longrunning::Operation
97
+ # Imports a snapshot of the source database into the
98
+ # conversion workspace.
99
+ rpc :SeedConversionWorkspace, ::Google::Cloud::CloudDMS::V1::SeedConversionWorkspaceRequest, ::Google::Longrunning::Operation
100
+ # Imports the mapping rules for a given conversion workspace.
101
+ # Supports various formats of external rules files.
102
+ rpc :ImportMappingRules, ::Google::Cloud::CloudDMS::V1::ImportMappingRulesRequest, ::Google::Longrunning::Operation
103
+ # Creates a draft tree schema for the destination database.
104
+ rpc :ConvertConversionWorkspace, ::Google::Cloud::CloudDMS::V1::ConvertConversionWorkspaceRequest, ::Google::Longrunning::Operation
105
+ # Marks all the data in the conversion workspace as committed.
106
+ rpc :CommitConversionWorkspace, ::Google::Cloud::CloudDMS::V1::CommitConversionWorkspaceRequest, ::Google::Longrunning::Operation
107
+ # Rolls back a conversion workspace to the last committed snapshot.
108
+ rpc :RollbackConversionWorkspace, ::Google::Cloud::CloudDMS::V1::RollbackConversionWorkspaceRequest, ::Google::Longrunning::Operation
109
+ # Applies draft tree onto a specific destination database.
110
+ rpc :ApplyConversionWorkspace, ::Google::Cloud::CloudDMS::V1::ApplyConversionWorkspaceRequest, ::Google::Longrunning::Operation
111
+ # Describes the database entities tree for a specific conversion workspace
112
+ # and a specific tree type.
113
+ #
114
+ # Database entities are not resources like conversion workspaces or mapping
115
+ # rules, and they can't be created, updated or deleted. Instead, they are
116
+ # simple data objects describing the structure of the client database.
117
+ rpc :DescribeDatabaseEntities, ::Google::Cloud::CloudDMS::V1::DescribeDatabaseEntitiesRequest, ::Google::Cloud::CloudDMS::V1::DescribeDatabaseEntitiesResponse
118
+ # Searches/lists the background jobs for a specific
119
+ # conversion workspace.
120
+ #
121
+ # The background jobs are not resources like conversion workspaces or
122
+ # mapping rules, and they can't be created, updated or deleted.
123
+ # Instead, they are a way to expose the data plane jobs log.
124
+ rpc :SearchBackgroundJobs, ::Google::Cloud::CloudDMS::V1::SearchBackgroundJobsRequest, ::Google::Cloud::CloudDMS::V1::SearchBackgroundJobsResponse
125
+ # Retrieves a list of committed revisions of a specific conversion
126
+ # workspace.
127
+ rpc :DescribeConversionWorkspaceRevisions, ::Google::Cloud::CloudDMS::V1::DescribeConversionWorkspaceRevisionsRequest, ::Google::Cloud::CloudDMS::V1::DescribeConversionWorkspaceRevisionsResponse
128
+ # Fetches a set of static IP addresses that need to be allowlisted by the
129
+ # customer when using the static-IP connectivity method.
130
+ rpc :FetchStaticIps, ::Google::Cloud::CloudDMS::V1::FetchStaticIpsRequest, ::Google::Cloud::CloudDMS::V1::FetchStaticIpsResponse
78
131
  end
79
132
 
80
133
  Stub = Service.rpc_stub_class
@@ -0,0 +1,76 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: google/cloud/clouddms/v1/conversionworkspace_resources.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'google/api/field_behavior_pb'
8
+ require 'google/api/resource_pb'
9
+ require 'google/cloud/clouddms/v1/clouddms_resources_pb'
10
+ require 'google/protobuf/struct_pb'
11
+ require 'google/protobuf/timestamp_pb'
12
+
13
+
14
+ descriptor_data = "\n<google/cloud/clouddms/v1/conversionworkspace_resources.proto\x12\x18google.cloud.clouddms.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x31google/cloud/clouddms/v1/clouddms_resources.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"i\n\x12\x44\x61tabaseEngineInfo\x12=\n\x06\x65ngine\x18\x01 \x01(\x0e\x32(.google.cloud.clouddms.v1.DatabaseEngineB\x03\xe0\x41\x02\x12\x14\n\x07version\x18\x02 \x01(\tB\x03\xe0\x41\x02\"\xd3\x05\n\x13\x43onversionWorkspace\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x41\n\x06source\x18\x02 \x01(\x0b\x32,.google.cloud.clouddms.v1.DatabaseEngineInfoB\x03\xe0\x41\x02\x12\x46\n\x0b\x64\x65stination\x18\x03 \x01(\x0b\x32,.google.cloud.clouddms.v1.DatabaseEngineInfoB\x03\xe0\x41\x02\x12Z\n\x0fglobal_settings\x18\x04 \x03(\x0b\x32\x41.google.cloud.clouddms.v1.ConversionWorkspace.GlobalSettingsEntry\x12$\n\x17has_uncommitted_changes\x18\x05 \x01(\x08\x42\x03\xe0\x41\x03\x12\x1d\n\x10latest_commit_id\x18\x06 \x01(\tB\x03\xe0\x41\x03\x12;\n\x12latest_commit_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x14\n\x0c\x64isplay_name\x18\x0b \x01(\t\x1a\x35\n\x13GlobalSettingsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\x8b\x01\xea\x41\x87\x01\n0datamigration.googleapis.com/ConversionWorkspace\x12Sprojects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}\"\xc6\x08\n\x15\x42\x61\x63kgroundJobLogEntry\x12\n\n\x02id\x18\x01 \x01(\t\x12=\n\x08job_type\x18\x02 \x01(\x0e\x32+.google.cloud.clouddms.v1.BackgroundJobType\x12.\n\nstart_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0b\x66inish_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\\\n\x10\x63ompletion_state\x18\x05 \x01(\x0e\x32\x42.google.cloud.clouddms.v1.BackgroundJobLogEntry.JobCompletionState\x12\x1a\n\x12\x63ompletion_comment\x18\x06 \x01(\t\x12\x1a\n\x12request_autocommit\x18\x07 \x01(\x08\x12Z\n\x10seed_job_details\x18\x64 \x01(\x0b\x32>.google.cloud.clouddms.v1.BackgroundJobLogEntry.SeedJobDetailsH\x00\x12i\n\x18import_rules_job_details\x18\x65 \x01(\x0b\x32\x45.google.cloud.clouddms.v1.BackgroundJobLogEntry.ImportRulesJobDetailsH\x00\x12`\n\x13\x63onvert_job_details\x18\x66 \x01(\x0b\x32\x41.google.cloud.clouddms.v1.BackgroundJobLogEntry.ConvertJobDetailsH\x00\x12\\\n\x11\x61pply_job_details\x18g \x01(\x0b\x32?.google.cloud.clouddms.v1.BackgroundJobLogEntry.ApplyJobDetailsH\x00\x1a,\n\x0eSeedJobDetails\x12\x1a\n\x12\x63onnection_profile\x18\x01 \x01(\t\x1al\n\x15ImportRulesJobDetails\x12\r\n\x05\x66iles\x18\x01 \x03(\t\x12\x44\n\x0b\x66ile_format\x18\x02 \x01(\x0e\x32/.google.cloud.clouddms.v1.ImportRulesFileFormat\x1a#\n\x11\x43onvertJobDetails\x12\x0e\n\x06\x66ilter\x18\x01 \x01(\t\x1a=\n\x0f\x41pplyJobDetails\x12\x1a\n\x12\x63onnection_profile\x18\x01 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\"U\n\x12JobCompletionState\x12$\n JOB_COMPLETION_STATE_UNSPECIFIED\x10\x00\x12\r\n\tSUCCEEDED\x10\x01\x12\n\n\x06\x46\x41ILED\x10\x02\x42\r\n\x0bjob_details\"\xd3\x06\n\x0e\x44\x61tabaseEntity\x12\x12\n\nshort_name\x18\x01 \x01(\t\x12\x15\n\rparent_entity\x18\x02 \x01(\t\x12?\n\x04tree\x18\x03 \x01(\x0e\x32\x31.google.cloud.clouddms.v1.DatabaseEntity.TreeType\x12\x41\n\x0b\x65ntity_type\x18\x04 \x01(\x0e\x32,.google.cloud.clouddms.v1.DatabaseEntityType\x12\x39\n\x08mappings\x18\x05 \x03(\x0b\x32\'.google.cloud.clouddms.v1.EntityMapping\x12\x38\n\x06schema\x18\x66 \x01(\x0b\x32&.google.cloud.clouddms.v1.SchemaEntityH\x00\x12\x36\n\x05table\x18g \x01(\x0b\x32%.google.cloud.clouddms.v1.TableEntityH\x00\x12\x34\n\x04view\x18h \x01(\x0b\x32$.google.cloud.clouddms.v1.ViewEntityH\x00\x12<\n\x08sequence\x18i \x01(\x0b\x32(.google.cloud.clouddms.v1.SequenceEntityH\x00\x12K\n\x10stored_procedure\x18j \x01(\x0b\x32/.google.cloud.clouddms.v1.StoredProcedureEntityH\x00\x12\x45\n\x11\x64\x61tabase_function\x18k \x01(\x0b\x32(.google.cloud.clouddms.v1.FunctionEntityH\x00\x12:\n\x07synonym\x18l \x01(\x0b\x32\'.google.cloud.clouddms.v1.SynonymEntityH\x00\x12\x43\n\x10\x64\x61tabase_package\x18m \x01(\x0b\x32\'.google.cloud.clouddms.v1.PackageEntityH\x00\"M\n\x08TreeType\x12\x19\n\x15TREE_TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06SOURCE\x10\x01\x12\t\n\x05\x44RAFT\x10\x02\x12\x0f\n\x0b\x44\x45STINATION\x10\x03\x42\r\n\x0b\x65ntity_body\"@\n\x0cSchemaEntity\x12\x30\n\x0f\x63ustom_features\x18\x01 \x01(\x0b\x32\x17.google.protobuf.Struct\"\xbd\x02\n\x0bTableEntity\x12\x37\n\x07\x63olumns\x18\x01 \x03(\x0b\x32&.google.cloud.clouddms.v1.ColumnEntity\x12?\n\x0b\x63onstraints\x18\x02 \x03(\x0b\x32*.google.cloud.clouddms.v1.ConstraintEntity\x12\x36\n\x07indices\x18\x03 \x03(\x0b\x32%.google.cloud.clouddms.v1.IndexEntity\x12\x39\n\x08triggers\x18\x04 \x03(\x0b\x32\'.google.cloud.clouddms.v1.TriggerEntity\x12\x30\n\x0f\x63ustom_features\x18\x05 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x0f\n\x07\x63omment\x18\x06 \x01(\t\"\x8f\x03\n\x0c\x43olumnEntity\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x11\n\tdata_type\x18\x02 \x01(\t\x12\x0f\n\x07\x63harset\x18\x03 \x01(\t\x12\x11\n\tcollation\x18\x04 \x01(\t\x12\x0e\n\x06length\x18\x05 \x01(\x03\x12\x11\n\tprecision\x18\x06 \x01(\x05\x12\r\n\x05scale\x18\x07 \x01(\x05\x12$\n\x1c\x66ractional_seconds_precision\x18\x08 \x01(\x05\x12\r\n\x05\x61rray\x18\t \x01(\x08\x12\x14\n\x0c\x61rray_length\x18\n \x01(\x05\x12\x10\n\x08nullable\x18\x0b \x01(\x08\x12\x16\n\x0e\x61uto_generated\x18\x0c \x01(\x08\x12\x0b\n\x03udt\x18\r \x01(\x08\x12\x30\n\x0f\x63ustom_features\x18\x0e \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x12\n\nset_values\x18\x0f \x03(\t\x12\x0f\n\x07\x63omment\x18\x10 \x01(\t\x12\x18\n\x10ordinal_position\x18\x11 \x01(\x05\x12\x15\n\rdefault_value\x18\x12 \x01(\t\"\xbf\x01\n\x10\x43onstraintEntity\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0c\n\x04type\x18\x02 \x01(\t\x12\x15\n\rtable_columns\x18\x03 \x03(\t\x12\x30\n\x0f\x63ustom_features\x18\x04 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x19\n\x11reference_columns\x18\x05 \x03(\t\x12\x17\n\x0freference_table\x18\x06 \x01(\t\x12\x12\n\ntable_name\x18\x07 \x01(\t\"\x82\x01\n\x0bIndexEntity\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0c\n\x04type\x18\x02 \x01(\t\x12\x15\n\rtable_columns\x18\x03 \x03(\t\x12\x0e\n\x06unique\x18\x04 \x01(\x08\x12\x30\n\x0f\x63ustom_features\x18\x05 \x01(\x0b\x32\x17.google.protobuf.Struct\"\x92\x01\n\rTriggerEntity\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x19\n\x11triggering_events\x18\x02 \x03(\t\x12\x14\n\x0ctrigger_type\x18\x03 \x01(\t\x12\x10\n\x08sql_code\x18\x04 \x01(\t\x12\x30\n\x0f\x63ustom_features\x18\x05 \x01(\x0b\x32\x17.google.protobuf.Struct\"\x91\x01\n\nViewEntity\x12\x10\n\x08sql_code\x18\x01 \x01(\t\x12\x30\n\x0f\x63ustom_features\x18\x02 \x01(\x0b\x32\x17.google.protobuf.Struct\x12?\n\x0b\x63onstraints\x18\x03 \x03(\x0b\x32*.google.cloud.clouddms.v1.ConstraintEntity\"\xae\x01\n\x0eSequenceEntity\x12\x11\n\tincrement\x18\x01 \x01(\x03\x12\x13\n\x0bstart_value\x18\x02 \x01(\x0c\x12\x11\n\tmax_value\x18\x03 \x01(\x0c\x12\x11\n\tmin_value\x18\x04 \x01(\x0c\x12\r\n\x05\x63ycle\x18\x05 \x01(\x08\x12\r\n\x05\x63\x61\x63he\x18\x06 \x01(\x03\x12\x30\n\x0f\x63ustom_features\x18\x07 \x01(\x0b\x32\x17.google.protobuf.Struct\"[\n\x15StoredProcedureEntity\x12\x10\n\x08sql_code\x18\x01 \x01(\t\x12\x30\n\x0f\x63ustom_features\x18\x02 \x01(\x0b\x32\x17.google.protobuf.Struct\"T\n\x0e\x46unctionEntity\x12\x10\n\x08sql_code\x18\x01 \x01(\t\x12\x30\n\x0f\x63ustom_features\x18\x02 \x01(\x0b\x32\x17.google.protobuf.Struct\"\x9b\x01\n\rSynonymEntity\x12\x15\n\rsource_entity\x18\x01 \x01(\t\x12\x41\n\x0bsource_type\x18\x02 \x01(\x0e\x32,.google.cloud.clouddms.v1.DatabaseEntityType\x12\x30\n\x0f\x63ustom_features\x18\x03 \x01(\x0b\x32\x17.google.protobuf.Struct\"q\n\rPackageEntity\x12\x18\n\x10package_sql_code\x18\x01 \x01(\t\x12\x14\n\x0cpackage_body\x18\x02 \x01(\t\x12\x30\n\x0f\x63ustom_features\x18\x03 \x01(\x0b\x32\x17.google.protobuf.Struct\"\x87\x02\n\rEntityMapping\x12\x15\n\rsource_entity\x18\x01 \x01(\t\x12\x14\n\x0c\x64raft_entity\x18\x02 \x01(\t\x12\x41\n\x0bsource_type\x18\x04 \x01(\x0e\x32,.google.cloud.clouddms.v1.DatabaseEntityType\x12@\n\ndraft_type\x18\x05 \x01(\x0e\x32,.google.cloud.clouddms.v1.DatabaseEntityType\x12\x44\n\x0bmapping_log\x18\x03 \x03(\x0b\x32/.google.cloud.clouddms.v1.EntityMappingLogEntry\"[\n\x15\x45ntityMappingLogEntry\x12\x0f\n\x07rule_id\x18\x01 \x01(\t\x12\x18\n\x10rule_revision_id\x18\x02 \x01(\t\x12\x17\n\x0fmapping_comment\x18\x03 \x01(\t*\xcd\x04\n\x12\x44\x61tabaseEntityType\x12$\n DATABASE_ENTITY_TYPE_UNSPECIFIED\x10\x00\x12\x1f\n\x1b\x44\x41TABASE_ENTITY_TYPE_SCHEMA\x10\x01\x12\x1e\n\x1a\x44\x41TABASE_ENTITY_TYPE_TABLE\x10\x02\x12\x1f\n\x1b\x44\x41TABASE_ENTITY_TYPE_COLUMN\x10\x03\x12#\n\x1f\x44\x41TABASE_ENTITY_TYPE_CONSTRAINT\x10\x04\x12\x1e\n\x1a\x44\x41TABASE_ENTITY_TYPE_INDEX\x10\x05\x12 \n\x1c\x44\x41TABASE_ENTITY_TYPE_TRIGGER\x10\x06\x12\x1d\n\x19\x44\x41TABASE_ENTITY_TYPE_VIEW\x10\x07\x12!\n\x1d\x44\x41TABASE_ENTITY_TYPE_SEQUENCE\x10\x08\x12)\n%DATABASE_ENTITY_TYPE_STORED_PROCEDURE\x10\t\x12!\n\x1d\x44\x41TABASE_ENTITY_TYPE_FUNCTION\x10\n\x12 \n\x1c\x44\x41TABASE_ENTITY_TYPE_SYNONYM\x10\x0b\x12)\n%DATABASE_ENTITY_TYPE_DATABASE_PACKAGE\x10\x0c\x12\x1c\n\x18\x44\x41TABASE_ENTITY_TYPE_UDT\x10\r\x12*\n&DATABASE_ENTITY_TYPE_MATERIALIZED_VIEW\x10\x0e\x12!\n\x1d\x44\x41TABASE_ENTITY_TYPE_DATABASE\x10\x0f*\xd4\x01\n\x11\x42\x61\x63kgroundJobType\x12#\n\x1f\x42\x41\x43KGROUND_JOB_TYPE_UNSPECIFIED\x10\x00\x12#\n\x1f\x42\x41\x43KGROUND_JOB_TYPE_SOURCE_SEED\x10\x01\x12\x1f\n\x1b\x42\x41\x43KGROUND_JOB_TYPE_CONVERT\x10\x02\x12)\n%BACKGROUND_JOB_TYPE_APPLY_DESTINATION\x10\x03\x12)\n%BACKGROUND_JOB_TYPE_IMPORT_RULES_FILE\x10\x05*\xad\x01\n\x15ImportRulesFileFormat\x12(\n$IMPORT_RULES_FILE_FORMAT_UNSPECIFIED\x10\x00\x12\x38\n4IMPORT_RULES_FILE_FORMAT_HARBOUR_BRIDGE_SESSION_FILE\x10\x01\x12\x30\n,IMPORT_RULES_FILE_FORMAT_ORATOPG_CONFIG_FILE\x10\x02\x42\xd1\x01\n\x1c\x63om.google.cloud.clouddms.v1B!ConversionWorkspaceResourcesProtoP\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::V1b\x06proto3"
15
+
16
+ pool = Google::Protobuf::DescriptorPool.generated_pool
17
+
18
+ begin
19
+ pool.add_serialized_file(descriptor_data)
20
+ rescue TypeError => e
21
+ # Compatibility code: will be removed in the next major version.
22
+ require 'google/protobuf/descriptor_pb'
23
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
24
+ parsed.clear_dependency
25
+ serialized = parsed.class.encode(parsed)
26
+ file = pool.add_serialized_file(serialized)
27
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
28
+ imports = [
29
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
30
+ ["google.protobuf.Struct", "google/protobuf/struct.proto"],
31
+ ]
32
+ imports.each do |type_name, expected_filename|
33
+ import_file = pool.lookup(type_name).file_descriptor
34
+ if import_file.name != expected_filename
35
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
36
+ end
37
+ end
38
+ warn "Each proto file must use a consistent fully-qualified name."
39
+ warn "This will become an error in the next major version."
40
+ end
41
+
42
+ module Google
43
+ module Cloud
44
+ module CloudDMS
45
+ module V1
46
+ DatabaseEngineInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.DatabaseEngineInfo").msgclass
47
+ ConversionWorkspace = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.ConversionWorkspace").msgclass
48
+ BackgroundJobLogEntry = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.BackgroundJobLogEntry").msgclass
49
+ BackgroundJobLogEntry::SeedJobDetails = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.BackgroundJobLogEntry.SeedJobDetails").msgclass
50
+ BackgroundJobLogEntry::ImportRulesJobDetails = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.BackgroundJobLogEntry.ImportRulesJobDetails").msgclass
51
+ BackgroundJobLogEntry::ConvertJobDetails = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.BackgroundJobLogEntry.ConvertJobDetails").msgclass
52
+ BackgroundJobLogEntry::ApplyJobDetails = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.BackgroundJobLogEntry.ApplyJobDetails").msgclass
53
+ BackgroundJobLogEntry::JobCompletionState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.BackgroundJobLogEntry.JobCompletionState").enummodule
54
+ DatabaseEntity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.DatabaseEntity").msgclass
55
+ DatabaseEntity::TreeType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.DatabaseEntity.TreeType").enummodule
56
+ SchemaEntity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.SchemaEntity").msgclass
57
+ TableEntity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.TableEntity").msgclass
58
+ ColumnEntity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.ColumnEntity").msgclass
59
+ ConstraintEntity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.ConstraintEntity").msgclass
60
+ IndexEntity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.IndexEntity").msgclass
61
+ TriggerEntity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.TriggerEntity").msgclass
62
+ ViewEntity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.ViewEntity").msgclass
63
+ SequenceEntity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.SequenceEntity").msgclass
64
+ StoredProcedureEntity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.StoredProcedureEntity").msgclass
65
+ FunctionEntity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.FunctionEntity").msgclass
66
+ SynonymEntity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.SynonymEntity").msgclass
67
+ PackageEntity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.PackageEntity").msgclass
68
+ EntityMapping = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.EntityMapping").msgclass
69
+ EntityMappingLogEntry = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.EntityMappingLogEntry").msgclass
70
+ DatabaseEntityType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.DatabaseEntityType").enummodule
71
+ BackgroundJobType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.BackgroundJobType").enummodule
72
+ ImportRulesFileFormat = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.ImportRulesFileFormat").enummodule
73
+ end
74
+ end
75
+ end
76
+ end