google-cloud-cloud_dms-v1 0.2.0 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -9,7 +9,6 @@ require 'google/protobuf/duration_pb'
9
9
  require 'google/protobuf/timestamp_pb'
10
10
  require 'google/protobuf/wrappers_pb'
11
11
  require 'google/rpc/status_pb'
12
- require 'google/api/annotations_pb'
13
12
 
14
13
  Google::Protobuf::DescriptorPool.generated_pool.build do
15
14
  add_file("google/cloud/clouddms/v1/clouddms_resources.proto", :syntax => :proto3) do
@@ -41,12 +40,35 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
41
40
  optional :password_set, :bool, 5
42
41
  optional :ssl, :message, 6, "google.cloud.clouddms.v1.SslConfig"
43
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
44
61
  end
45
62
  add_message "google.cloud.clouddms.v1.CloudSqlConnectionProfile" do
46
63
  optional :cloud_sql_id, :string, 1
47
64
  optional :settings, :message, 2, "google.cloud.clouddms.v1.CloudSqlSettings"
48
65
  optional :private_ip, :string, 3
49
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"
50
72
  end
51
73
  add_message "google.cloud.clouddms.v1.SqlAclEntry" do
52
74
  optional :value, :string, 1
@@ -59,6 +81,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
59
81
  add_message "google.cloud.clouddms.v1.SqlIpConfig" do
60
82
  optional :enable_ipv4, :message, 1, "google.protobuf.BoolValue"
61
83
  optional :private_network, :string, 2
84
+ optional :allocated_ip_range, :string, 5
62
85
  optional :require_ssl, :message, 3, "google.protobuf.BoolValue"
63
86
  repeated :authorized_networks, :message, 4, "google.cloud.clouddms.v1.SqlAclEntry"
64
87
  end
@@ -74,10 +97,13 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
74
97
  optional :data_disk_type, :enum, 9, "google.cloud.clouddms.v1.CloudSqlSettings.SqlDataDiskType"
75
98
  optional :data_disk_size_gb, :message, 10, "google.protobuf.Int64Value"
76
99
  optional :zone, :string, 11
100
+ optional :secondary_zone, :string, 18
77
101
  optional :source_id, :string, 12
78
102
  optional :root_password, :string, 13
79
103
  optional :root_password_set, :bool, 14
80
104
  optional :collation, :string, 15
105
+ optional :cmek_key_name, :string, 16
106
+ optional :availability_type, :enum, 17, "google.cloud.clouddms.v1.CloudSqlSettings.SqlAvailabilityType"
81
107
  end
82
108
  add_enum "google.cloud.clouddms.v1.CloudSqlSettings.SqlActivationPolicy" do
83
109
  value :SQL_ACTIVATION_POLICY_UNSPECIFIED, 0
@@ -99,9 +125,43 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
99
125
  value :MYSQL_8_0, 6
100
126
  value :POSTGRES_12, 7
101
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
102
159
  end
103
160
  add_message "google.cloud.clouddms.v1.StaticIpConnectivity" do
104
161
  end
162
+ add_message "google.cloud.clouddms.v1.PrivateServiceConnectConnectivity" do
163
+ optional :service_attachment, :string, 1
164
+ end
105
165
  add_message "google.cloud.clouddms.v1.ReverseSshConnectivity" do
106
166
  optional :vm_ip, :string, 1
107
167
  optional :vm_port, :int32, 2
@@ -111,6 +171,20 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
111
171
  add_message "google.cloud.clouddms.v1.VpcPeeringConnectivity" do
112
172
  optional :vpc, :string, 1
113
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
114
188
  add_message "google.cloud.clouddms.v1.DatabaseType" do
115
189
  optional :provider, :enum, 1, "google.cloud.clouddms.v1.DatabaseProvider"
116
190
  optional :engine, :enum, 2, "google.cloud.clouddms.v1.DatabaseEngine"
@@ -125,6 +199,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
125
199
  optional :phase, :enum, 7, "google.cloud.clouddms.v1.MigrationJob.Phase"
126
200
  optional :type, :enum, 8, "google.cloud.clouddms.v1.MigrationJob.Type"
127
201
  optional :dump_path, :string, 9
202
+ optional :dump_flags, :message, 17, "google.cloud.clouddms.v1.MigrationJob.DumpFlags"
128
203
  optional :source, :string, 10
129
204
  optional :destination, :string, 11
130
205
  optional :duration, :message, 12, "google.protobuf.Duration"
@@ -132,12 +207,22 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
132
207
  optional :source_database, :message, 14, "google.cloud.clouddms.v1.DatabaseType"
133
208
  optional :destination_database, :message, 15, "google.cloud.clouddms.v1.DatabaseType"
134
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
135
213
  oneof :connectivity do
136
214
  optional :reverse_ssh_connectivity, :message, 101, "google.cloud.clouddms.v1.ReverseSshConnectivity"
137
215
  optional :vpc_peering_connectivity, :message, 102, "google.cloud.clouddms.v1.VpcPeeringConnectivity"
138
216
  optional :static_ip_connectivity, :message, 103, "google.cloud.clouddms.v1.StaticIpConnectivity"
139
217
  end
140
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
141
226
  add_enum "google.cloud.clouddms.v1.MigrationJob.State" do
142
227
  value :STATE_UNSPECIFIED, 0
143
228
  value :MAINTENANCE, 1
@@ -169,6 +254,10 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
169
254
  value :ONE_TIME, 1
170
255
  value :CONTINUOUS, 2
171
256
  end
257
+ add_message "google.cloud.clouddms.v1.ConversionWorkspaceInfo" do
258
+ optional :name, :string, 1
259
+ optional :commit_id, :string, 2
260
+ end
172
261
  add_message "google.cloud.clouddms.v1.ConnectionProfile" do
173
262
  optional :name, :string, 1
174
263
  optional :create_time, :message, 2, "google.protobuf.Timestamp"
@@ -181,7 +270,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
181
270
  oneof :connection_profile do
182
271
  optional :mysql, :message, 100, "google.cloud.clouddms.v1.MySqlConnectionProfile"
183
272
  optional :postgresql, :message, 101, "google.cloud.clouddms.v1.PostgreSqlConnectionProfile"
273
+ optional :oracle, :message, 104, "google.cloud.clouddms.v1.OracleConnectionProfile"
184
274
  optional :cloudsql, :message, 102, "google.cloud.clouddms.v1.CloudSqlConnectionProfile"
275
+ optional :alloydb, :message, 105, "google.cloud.clouddms.v1.AlloyDbConnectionProfile"
185
276
  end
186
277
  end
187
278
  add_enum "google.cloud.clouddms.v1.ConnectionProfile.State" do
@@ -220,16 +311,54 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
220
311
  value :UNSUPPORTED_TABLE_DEFINITION, 18
221
312
  value :UNSUPPORTED_DEFINER, 19
222
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
223
349
  end
224
350
  add_enum "google.cloud.clouddms.v1.DatabaseEngine" do
225
351
  value :DATABASE_ENGINE_UNSPECIFIED, 0
226
352
  value :MYSQL, 1
227
353
  value :POSTGRESQL, 2
354
+ value :ORACLE, 4
228
355
  end
229
356
  add_enum "google.cloud.clouddms.v1.DatabaseProvider" do
230
357
  value :DATABASE_PROVIDER_UNSPECIFIED, 0
231
358
  value :CLOUDSQL, 1
232
359
  value :RDS, 2
360
+ value :AURORA, 3
361
+ value :ALLOYDB, 4
233
362
  end
234
363
  end
235
364
  end
@@ -242,25 +371,44 @@ module Google
242
371
  SslConfig::SslType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.SslConfig.SslType").enummodule
243
372
  MySqlConnectionProfile = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.MySqlConnectionProfile").msgclass
244
373
  PostgreSqlConnectionProfile = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.PostgreSqlConnectionProfile").msgclass
374
+ OracleConnectionProfile = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.OracleConnectionProfile").msgclass
245
375
  CloudSqlConnectionProfile = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.CloudSqlConnectionProfile").msgclass
376
+ AlloyDbConnectionProfile = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.AlloyDbConnectionProfile").msgclass
246
377
  SqlAclEntry = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.SqlAclEntry").msgclass
247
378
  SqlIpConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.SqlIpConfig").msgclass
248
379
  CloudSqlSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.CloudSqlSettings").msgclass
249
380
  CloudSqlSettings::SqlActivationPolicy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.CloudSqlSettings.SqlActivationPolicy").enummodule
250
381
  CloudSqlSettings::SqlDataDiskType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.CloudSqlSettings.SqlDataDiskType").enummodule
251
382
  CloudSqlSettings::SqlDatabaseVersion = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.CloudSqlSettings.SqlDatabaseVersion").enummodule
383
+ CloudSqlSettings::SqlAvailabilityType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.CloudSqlSettings.SqlAvailabilityType").enummodule
384
+ AlloyDbSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.AlloyDbSettings").msgclass
385
+ AlloyDbSettings::UserPassword = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.AlloyDbSettings.UserPassword").msgclass
386
+ AlloyDbSettings::PrimaryInstanceSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings").msgclass
387
+ AlloyDbSettings::PrimaryInstanceSettings::MachineConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings.MachineConfig").msgclass
388
+ AlloyDbSettings::EncryptionConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.AlloyDbSettings.EncryptionConfig").msgclass
252
389
  StaticIpConnectivity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.StaticIpConnectivity").msgclass
390
+ PrivateServiceConnectConnectivity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.PrivateServiceConnectConnectivity").msgclass
253
391
  ReverseSshConnectivity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.ReverseSshConnectivity").msgclass
254
392
  VpcPeeringConnectivity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.VpcPeeringConnectivity").msgclass
393
+ ForwardSshTunnelConnectivity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.ForwardSshTunnelConnectivity").msgclass
394
+ StaticServiceIpConnectivity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.StaticServiceIpConnectivity").msgclass
395
+ PrivateConnectivity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.PrivateConnectivity").msgclass
255
396
  DatabaseType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.DatabaseType").msgclass
256
397
  MigrationJob = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.MigrationJob").msgclass
398
+ MigrationJob::DumpFlag = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.MigrationJob.DumpFlag").msgclass
399
+ MigrationJob::DumpFlags = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.MigrationJob.DumpFlags").msgclass
257
400
  MigrationJob::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.MigrationJob.State").enummodule
258
401
  MigrationJob::Phase = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.MigrationJob.Phase").enummodule
259
402
  MigrationJob::Type = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.MigrationJob.Type").enummodule
403
+ ConversionWorkspaceInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.ConversionWorkspaceInfo").msgclass
260
404
  ConnectionProfile = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.ConnectionProfile").msgclass
261
405
  ConnectionProfile::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.ConnectionProfile.State").enummodule
262
406
  MigrationJobVerificationError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.MigrationJobVerificationError").msgclass
263
407
  MigrationJobVerificationError::ErrorCode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.MigrationJobVerificationError.ErrorCode").enummodule
408
+ PrivateConnection = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.PrivateConnection").msgclass
409
+ PrivateConnection::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.PrivateConnection.State").enummodule
410
+ VpcPeeringConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.VpcPeeringConfig").msgclass
411
+ NetworkArchitecture = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.NetworkArchitecture").enummodule
264
412
  DatabaseEngine = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.DatabaseEngine").enummodule
265
413
  DatabaseProvider = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.DatabaseProvider").enummodule
266
414
  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,252 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/cloud/clouddms/v1/conversionworkspace_resources.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'google/api/field_behavior_pb'
7
+ require 'google/api/resource_pb'
8
+ require 'google/cloud/clouddms/v1/clouddms_resources_pb'
9
+ require 'google/protobuf/struct_pb'
10
+ require 'google/protobuf/timestamp_pb'
11
+
12
+ Google::Protobuf::DescriptorPool.generated_pool.build do
13
+ add_file("google/cloud/clouddms/v1/conversionworkspace_resources.proto", :syntax => :proto3) do
14
+ add_message "google.cloud.clouddms.v1.DatabaseEngineInfo" do
15
+ optional :engine, :enum, 1, "google.cloud.clouddms.v1.DatabaseEngine"
16
+ optional :version, :string, 2
17
+ end
18
+ add_message "google.cloud.clouddms.v1.ConversionWorkspace" do
19
+ optional :name, :string, 1
20
+ optional :source, :message, 2, "google.cloud.clouddms.v1.DatabaseEngineInfo"
21
+ optional :destination, :message, 3, "google.cloud.clouddms.v1.DatabaseEngineInfo"
22
+ map :global_settings, :string, :string, 4
23
+ optional :has_uncommitted_changes, :bool, 5
24
+ optional :latest_commit_id, :string, 6
25
+ optional :latest_commit_time, :message, 7, "google.protobuf.Timestamp"
26
+ optional :create_time, :message, 9, "google.protobuf.Timestamp"
27
+ optional :update_time, :message, 10, "google.protobuf.Timestamp"
28
+ optional :display_name, :string, 11
29
+ end
30
+ add_message "google.cloud.clouddms.v1.BackgroundJobLogEntry" do
31
+ optional :id, :string, 1
32
+ optional :job_type, :enum, 2, "google.cloud.clouddms.v1.BackgroundJobType"
33
+ optional :start_time, :message, 3, "google.protobuf.Timestamp"
34
+ optional :finish_time, :message, 4, "google.protobuf.Timestamp"
35
+ optional :completion_state, :enum, 5, "google.cloud.clouddms.v1.BackgroundJobLogEntry.JobCompletionState"
36
+ optional :completion_comment, :string, 6
37
+ optional :request_autocommit, :bool, 7
38
+ oneof :job_details do
39
+ optional :seed_job_details, :message, 100, "google.cloud.clouddms.v1.BackgroundJobLogEntry.SeedJobDetails"
40
+ optional :import_rules_job_details, :message, 101, "google.cloud.clouddms.v1.BackgroundJobLogEntry.ImportRulesJobDetails"
41
+ optional :convert_job_details, :message, 102, "google.cloud.clouddms.v1.BackgroundJobLogEntry.ConvertJobDetails"
42
+ optional :apply_job_details, :message, 103, "google.cloud.clouddms.v1.BackgroundJobLogEntry.ApplyJobDetails"
43
+ end
44
+ end
45
+ add_message "google.cloud.clouddms.v1.BackgroundJobLogEntry.SeedJobDetails" do
46
+ optional :connection_profile, :string, 1
47
+ end
48
+ add_message "google.cloud.clouddms.v1.BackgroundJobLogEntry.ImportRulesJobDetails" do
49
+ repeated :files, :string, 1
50
+ optional :file_format, :enum, 2, "google.cloud.clouddms.v1.ImportRulesFileFormat"
51
+ end
52
+ add_message "google.cloud.clouddms.v1.BackgroundJobLogEntry.ConvertJobDetails" do
53
+ optional :filter, :string, 1
54
+ end
55
+ add_message "google.cloud.clouddms.v1.BackgroundJobLogEntry.ApplyJobDetails" do
56
+ optional :connection_profile, :string, 1
57
+ optional :filter, :string, 2
58
+ end
59
+ add_enum "google.cloud.clouddms.v1.BackgroundJobLogEntry.JobCompletionState" do
60
+ value :JOB_COMPLETION_STATE_UNSPECIFIED, 0
61
+ value :SUCCEEDED, 1
62
+ value :FAILED, 2
63
+ end
64
+ add_message "google.cloud.clouddms.v1.DatabaseEntity" do
65
+ optional :short_name, :string, 1
66
+ optional :parent_entity, :string, 2
67
+ optional :tree, :enum, 3, "google.cloud.clouddms.v1.DatabaseEntity.TreeType"
68
+ optional :entity_type, :enum, 4, "google.cloud.clouddms.v1.DatabaseEntityType"
69
+ repeated :mappings, :message, 5, "google.cloud.clouddms.v1.EntityMapping"
70
+ oneof :entity_body do
71
+ optional :schema, :message, 102, "google.cloud.clouddms.v1.SchemaEntity"
72
+ optional :table, :message, 103, "google.cloud.clouddms.v1.TableEntity"
73
+ optional :view, :message, 104, "google.cloud.clouddms.v1.ViewEntity"
74
+ optional :sequence, :message, 105, "google.cloud.clouddms.v1.SequenceEntity"
75
+ optional :stored_procedure, :message, 106, "google.cloud.clouddms.v1.StoredProcedureEntity"
76
+ optional :database_function, :message, 107, "google.cloud.clouddms.v1.FunctionEntity"
77
+ optional :synonym, :message, 108, "google.cloud.clouddms.v1.SynonymEntity"
78
+ optional :database_package, :message, 109, "google.cloud.clouddms.v1.PackageEntity"
79
+ end
80
+ end
81
+ add_enum "google.cloud.clouddms.v1.DatabaseEntity.TreeType" do
82
+ value :TREE_TYPE_UNSPECIFIED, 0
83
+ value :SOURCE, 1
84
+ value :DRAFT, 2
85
+ value :DESTINATION, 3
86
+ end
87
+ add_message "google.cloud.clouddms.v1.SchemaEntity" do
88
+ optional :custom_features, :message, 1, "google.protobuf.Struct"
89
+ end
90
+ add_message "google.cloud.clouddms.v1.TableEntity" do
91
+ repeated :columns, :message, 1, "google.cloud.clouddms.v1.ColumnEntity"
92
+ repeated :constraints, :message, 2, "google.cloud.clouddms.v1.ConstraintEntity"
93
+ repeated :indices, :message, 3, "google.cloud.clouddms.v1.IndexEntity"
94
+ repeated :triggers, :message, 4, "google.cloud.clouddms.v1.TriggerEntity"
95
+ optional :custom_features, :message, 5, "google.protobuf.Struct"
96
+ optional :comment, :string, 6
97
+ end
98
+ add_message "google.cloud.clouddms.v1.ColumnEntity" do
99
+ optional :name, :string, 1
100
+ optional :data_type, :string, 2
101
+ optional :charset, :string, 3
102
+ optional :collation, :string, 4
103
+ optional :length, :int64, 5
104
+ optional :precision, :int32, 6
105
+ optional :scale, :int32, 7
106
+ optional :fractional_seconds_precision, :int32, 8
107
+ optional :array, :bool, 9
108
+ optional :array_length, :int32, 10
109
+ optional :nullable, :bool, 11
110
+ optional :auto_generated, :bool, 12
111
+ optional :udt, :bool, 13
112
+ optional :custom_features, :message, 14, "google.protobuf.Struct"
113
+ repeated :set_values, :string, 15
114
+ optional :comment, :string, 16
115
+ optional :ordinal_position, :int32, 17
116
+ optional :default_value, :string, 18
117
+ end
118
+ add_message "google.cloud.clouddms.v1.ConstraintEntity" do
119
+ optional :name, :string, 1
120
+ optional :type, :string, 2
121
+ repeated :table_columns, :string, 3
122
+ optional :custom_features, :message, 4, "google.protobuf.Struct"
123
+ repeated :reference_columns, :string, 5
124
+ optional :reference_table, :string, 6
125
+ optional :table_name, :string, 7
126
+ end
127
+ add_message "google.cloud.clouddms.v1.IndexEntity" do
128
+ optional :name, :string, 1
129
+ optional :type, :string, 2
130
+ repeated :table_columns, :string, 3
131
+ optional :unique, :bool, 4
132
+ optional :custom_features, :message, 5, "google.protobuf.Struct"
133
+ end
134
+ add_message "google.cloud.clouddms.v1.TriggerEntity" do
135
+ optional :name, :string, 1
136
+ repeated :triggering_events, :string, 2
137
+ optional :trigger_type, :string, 3
138
+ optional :sql_code, :string, 4
139
+ optional :custom_features, :message, 5, "google.protobuf.Struct"
140
+ end
141
+ add_message "google.cloud.clouddms.v1.ViewEntity" do
142
+ optional :sql_code, :string, 1
143
+ optional :custom_features, :message, 2, "google.protobuf.Struct"
144
+ repeated :constraints, :message, 3, "google.cloud.clouddms.v1.ConstraintEntity"
145
+ end
146
+ add_message "google.cloud.clouddms.v1.SequenceEntity" do
147
+ optional :increment, :int64, 1
148
+ optional :start_value, :bytes, 2
149
+ optional :max_value, :bytes, 3
150
+ optional :min_value, :bytes, 4
151
+ optional :cycle, :bool, 5
152
+ optional :cache, :int64, 6
153
+ optional :custom_features, :message, 7, "google.protobuf.Struct"
154
+ end
155
+ add_message "google.cloud.clouddms.v1.StoredProcedureEntity" do
156
+ optional :sql_code, :string, 1
157
+ optional :custom_features, :message, 2, "google.protobuf.Struct"
158
+ end
159
+ add_message "google.cloud.clouddms.v1.FunctionEntity" do
160
+ optional :sql_code, :string, 1
161
+ optional :custom_features, :message, 2, "google.protobuf.Struct"
162
+ end
163
+ add_message "google.cloud.clouddms.v1.SynonymEntity" do
164
+ optional :source_entity, :string, 1
165
+ optional :source_type, :enum, 2, "google.cloud.clouddms.v1.DatabaseEntityType"
166
+ optional :custom_features, :message, 3, "google.protobuf.Struct"
167
+ end
168
+ add_message "google.cloud.clouddms.v1.PackageEntity" do
169
+ optional :package_sql_code, :string, 1
170
+ optional :package_body, :string, 2
171
+ optional :custom_features, :message, 3, "google.protobuf.Struct"
172
+ end
173
+ add_message "google.cloud.clouddms.v1.EntityMapping" do
174
+ optional :source_entity, :string, 1
175
+ optional :draft_entity, :string, 2
176
+ optional :source_type, :enum, 4, "google.cloud.clouddms.v1.DatabaseEntityType"
177
+ optional :draft_type, :enum, 5, "google.cloud.clouddms.v1.DatabaseEntityType"
178
+ repeated :mapping_log, :message, 3, "google.cloud.clouddms.v1.EntityMappingLogEntry"
179
+ end
180
+ add_message "google.cloud.clouddms.v1.EntityMappingLogEntry" do
181
+ optional :rule_id, :string, 1
182
+ optional :rule_revision_id, :string, 2
183
+ optional :mapping_comment, :string, 3
184
+ end
185
+ add_enum "google.cloud.clouddms.v1.DatabaseEntityType" do
186
+ value :DATABASE_ENTITY_TYPE_UNSPECIFIED, 0
187
+ value :DATABASE_ENTITY_TYPE_SCHEMA, 1
188
+ value :DATABASE_ENTITY_TYPE_TABLE, 2
189
+ value :DATABASE_ENTITY_TYPE_COLUMN, 3
190
+ value :DATABASE_ENTITY_TYPE_CONSTRAINT, 4
191
+ value :DATABASE_ENTITY_TYPE_INDEX, 5
192
+ value :DATABASE_ENTITY_TYPE_TRIGGER, 6
193
+ value :DATABASE_ENTITY_TYPE_VIEW, 7
194
+ value :DATABASE_ENTITY_TYPE_SEQUENCE, 8
195
+ value :DATABASE_ENTITY_TYPE_STORED_PROCEDURE, 9
196
+ value :DATABASE_ENTITY_TYPE_FUNCTION, 10
197
+ value :DATABASE_ENTITY_TYPE_SYNONYM, 11
198
+ value :DATABASE_ENTITY_TYPE_DATABASE_PACKAGE, 12
199
+ value :DATABASE_ENTITY_TYPE_UDT, 13
200
+ value :DATABASE_ENTITY_TYPE_MATERIALIZED_VIEW, 14
201
+ value :DATABASE_ENTITY_TYPE_DATABASE, 15
202
+ end
203
+ add_enum "google.cloud.clouddms.v1.BackgroundJobType" do
204
+ value :BACKGROUND_JOB_TYPE_UNSPECIFIED, 0
205
+ value :BACKGROUND_JOB_TYPE_SOURCE_SEED, 1
206
+ value :BACKGROUND_JOB_TYPE_CONVERT, 2
207
+ value :BACKGROUND_JOB_TYPE_APPLY_DESTINATION, 3
208
+ value :BACKGROUND_JOB_TYPE_IMPORT_RULES_FILE, 5
209
+ end
210
+ add_enum "google.cloud.clouddms.v1.ImportRulesFileFormat" do
211
+ value :IMPORT_RULES_FILE_FORMAT_UNSPECIFIED, 0
212
+ value :IMPORT_RULES_FILE_FORMAT_HARBOUR_BRIDGE_SESSION_FILE, 1
213
+ value :IMPORT_RULES_FILE_FORMAT_ORATOPG_CONFIG_FILE, 2
214
+ end
215
+ end
216
+ end
217
+
218
+ module Google
219
+ module Cloud
220
+ module CloudDMS
221
+ module V1
222
+ DatabaseEngineInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.DatabaseEngineInfo").msgclass
223
+ ConversionWorkspace = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.ConversionWorkspace").msgclass
224
+ BackgroundJobLogEntry = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.BackgroundJobLogEntry").msgclass
225
+ BackgroundJobLogEntry::SeedJobDetails = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.BackgroundJobLogEntry.SeedJobDetails").msgclass
226
+ BackgroundJobLogEntry::ImportRulesJobDetails = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.BackgroundJobLogEntry.ImportRulesJobDetails").msgclass
227
+ BackgroundJobLogEntry::ConvertJobDetails = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.BackgroundJobLogEntry.ConvertJobDetails").msgclass
228
+ BackgroundJobLogEntry::ApplyJobDetails = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.BackgroundJobLogEntry.ApplyJobDetails").msgclass
229
+ BackgroundJobLogEntry::JobCompletionState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.BackgroundJobLogEntry.JobCompletionState").enummodule
230
+ DatabaseEntity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.DatabaseEntity").msgclass
231
+ DatabaseEntity::TreeType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.DatabaseEntity.TreeType").enummodule
232
+ SchemaEntity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.SchemaEntity").msgclass
233
+ TableEntity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.TableEntity").msgclass
234
+ ColumnEntity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.ColumnEntity").msgclass
235
+ ConstraintEntity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.ConstraintEntity").msgclass
236
+ IndexEntity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.IndexEntity").msgclass
237
+ TriggerEntity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.TriggerEntity").msgclass
238
+ ViewEntity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.ViewEntity").msgclass
239
+ SequenceEntity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.SequenceEntity").msgclass
240
+ StoredProcedureEntity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.StoredProcedureEntity").msgclass
241
+ FunctionEntity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.FunctionEntity").msgclass
242
+ SynonymEntity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.SynonymEntity").msgclass
243
+ PackageEntity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.PackageEntity").msgclass
244
+ EntityMapping = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.EntityMapping").msgclass
245
+ EntityMappingLogEntry = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.EntityMappingLogEntry").msgclass
246
+ DatabaseEntityType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.DatabaseEntityType").enummodule
247
+ BackgroundJobType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.BackgroundJobType").enummodule
248
+ ImportRulesFileFormat = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.ImportRulesFileFormat").enummodule
249
+ end
250
+ end
251
+ end
252
+ end