google-cloud-cloud_dms-v1 0.1.5 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/AUTHENTICATION.md +1 -1
- data/README.md +14 -9
- data/lib/google/cloud/cloud_dms/v1/data_migration_service/client.rb +2317 -204
- data/lib/google/cloud/cloud_dms/v1/data_migration_service/operations.rb +17 -16
- data/lib/google/cloud/cloud_dms/v1/data_migration_service/paths.rb +55 -0
- data/lib/google/cloud/cloud_dms/v1/data_migration_service.rb +1 -1
- data/lib/google/cloud/cloud_dms/v1/version.rb +1 -1
- data/lib/google/cloud/cloud_dms/v1.rb +3 -1
- data/lib/google/cloud/clouddms/v1/clouddms_pb.rb +170 -1
- data/lib/google/cloud/clouddms/v1/clouddms_resources_pb.rb +151 -2
- data/lib/google/cloud/clouddms/v1/clouddms_services_pb.rb +54 -1
- data/lib/google/cloud/clouddms/v1/conversionworkspace_resources_pb.rb +252 -0
- data/proto_docs/google/api/client.rb +381 -0
- data/proto_docs/google/api/launch_stage.rb +71 -0
- data/proto_docs/google/cloud/clouddms/v1/clouddms.rb +545 -35
- data/proto_docs/google/cloud/clouddms/v1/clouddms_resources.rb +505 -38
- data/proto_docs/google/cloud/clouddms/v1/conversionworkspace_resources.rb +663 -0
- data/proto_docs/google/protobuf/any.rb +3 -3
- data/proto_docs/google/protobuf/empty.rb +0 -2
- data/proto_docs/google/protobuf/struct.rb +96 -0
- data/proto_docs/google/rpc/status.rb +4 -2
- metadata +58 -13
@@ -21,15 +21,15 @@ module Google
|
|
21
21
|
module Cloud
|
22
22
|
module CloudDMS
|
23
23
|
module V1
|
24
|
-
#
|
24
|
+
# Retrieves a list of all migration jobs in a given project and location.
|
25
25
|
# @!attribute [rw] parent
|
26
26
|
# @return [::String]
|
27
|
-
# Required. The parent
|
27
|
+
# Required. The parent which owns this collection of migrationJobs.
|
28
28
|
# @!attribute [rw] page_size
|
29
29
|
# @return [::Integer]
|
30
30
|
# The maximum number of migration jobs to return. The service may return
|
31
31
|
# fewer than this value. If unspecified, at most 50 migration jobs will be
|
32
|
-
# returned. The maximum value is 1000; values above 1000
|
32
|
+
# returned. The maximum value is 1000; values above 1000 are coerced to
|
33
33
|
# 1000.
|
34
34
|
# @!attribute [rw] page_token
|
35
35
|
# @return [::String]
|
@@ -64,7 +64,7 @@ module Google
|
|
64
64
|
# The list of migration jobs objects.
|
65
65
|
# @!attribute [rw] next_page_token
|
66
66
|
# @return [::String]
|
67
|
-
# A token
|
67
|
+
# A token which can be sent as `page_token` to retrieve the next page.
|
68
68
|
# If this field is omitted, there are no subsequent pages.
|
69
69
|
# @!attribute [rw] unreachable
|
70
70
|
# @return [::Array<::String>]
|
@@ -87,7 +87,7 @@ module Google
|
|
87
87
|
# in the specified project and region.
|
88
88
|
# @!attribute [rw] parent
|
89
89
|
# @return [::String]
|
90
|
-
# Required. The parent
|
90
|
+
# Required. The parent which owns this collection of migration jobs.
|
91
91
|
# @!attribute [rw] migration_job_id
|
92
92
|
# @return [::String]
|
93
93
|
# Required. The ID of the instance to create.
|
@@ -98,12 +98,12 @@ module Google
|
|
98
98
|
# object.
|
99
99
|
# @!attribute [rw] request_id
|
100
100
|
# @return [::String]
|
101
|
-
# A unique
|
102
|
-
# requests with the same
|
101
|
+
# A unique ID used to identify the request. If the server receives two
|
102
|
+
# requests with the same ID, then the second request is ignored.
|
103
103
|
#
|
104
104
|
# It is recommended to always set this value to a UUID.
|
105
105
|
#
|
106
|
-
# The
|
106
|
+
# The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores
|
107
107
|
# (_), and hyphens (-). The maximum length is 40 characters.
|
108
108
|
class CreateMigrationJobRequest
|
109
109
|
include ::Google::Protobuf::MessageExts
|
@@ -113,19 +113,19 @@ module Google
|
|
113
113
|
# Request message for 'UpdateMigrationJob' request.
|
114
114
|
# @!attribute [rw] update_mask
|
115
115
|
# @return [::Google::Protobuf::FieldMask]
|
116
|
-
# Required. Field mask is used to specify the fields to be overwritten
|
117
|
-
#
|
116
|
+
# Required. Field mask is used to specify the fields to be overwritten by the
|
117
|
+
# update in the conversion workspace resource.
|
118
118
|
# @!attribute [rw] migration_job
|
119
119
|
# @return [::Google::Cloud::CloudDMS::V1::MigrationJob]
|
120
120
|
# Required. The migration job parameters to update.
|
121
121
|
# @!attribute [rw] request_id
|
122
122
|
# @return [::String]
|
123
|
-
# A unique
|
124
|
-
# requests with the same
|
123
|
+
# A unique ID used to identify the request. If the server receives two
|
124
|
+
# requests with the same ID, then the second request is ignored.
|
125
125
|
#
|
126
126
|
# It is recommended to always set this value to a UUID.
|
127
127
|
#
|
128
|
-
# The
|
128
|
+
# The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores
|
129
129
|
# (_), and hyphens (-). The maximum length is 40 characters.
|
130
130
|
class UpdateMigrationJobRequest
|
131
131
|
include ::Google::Protobuf::MessageExts
|
@@ -138,12 +138,12 @@ module Google
|
|
138
138
|
# Required. Name of the migration job resource to delete.
|
139
139
|
# @!attribute [rw] request_id
|
140
140
|
# @return [::String]
|
141
|
-
# A unique
|
142
|
-
# requests with the same
|
141
|
+
# A unique ID used to identify the request. If the server receives two
|
142
|
+
# requests with the same ID, then the second request is ignored.
|
143
143
|
#
|
144
144
|
# It is recommended to always set this value to a UUID.
|
145
145
|
#
|
146
|
-
# The
|
146
|
+
# The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores
|
147
147
|
# (_), and hyphens (-). The maximum length is 40 characters.
|
148
148
|
# @!attribute [rw] force
|
149
149
|
# @return [::Boolean]
|
@@ -224,7 +224,7 @@ module Google
|
|
224
224
|
# The VM selection configuration
|
225
225
|
# @!attribute [rw] vm_port
|
226
226
|
# @return [::Integer]
|
227
|
-
# The port that will be open on the bastion host
|
227
|
+
# The port that will be open on the bastion host.
|
228
228
|
class GenerateSshScriptRequest
|
229
229
|
include ::Google::Protobuf::MessageExts
|
230
230
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -266,12 +266,12 @@ module Google
|
|
266
266
|
# Request message for 'ListConnectionProfiles' request.
|
267
267
|
# @!attribute [rw] parent
|
268
268
|
# @return [::String]
|
269
|
-
# Required. The parent
|
269
|
+
# Required. The parent which owns this collection of connection profiles.
|
270
270
|
# @!attribute [rw] page_size
|
271
271
|
# @return [::Integer]
|
272
272
|
# The maximum number of connection profiles to return. The service may return
|
273
273
|
# fewer than this value. If unspecified, at most 50 connection profiles will
|
274
|
-
# be returned. The maximum value is 1000; values above 1000
|
274
|
+
# be returned. The maximum value is 1000; values above 1000 are coerced
|
275
275
|
# to 1000.
|
276
276
|
# @!attribute [rw] page_token
|
277
277
|
# @return [::String]
|
@@ -293,7 +293,7 @@ module Google
|
|
293
293
|
# connect with a specific username.
|
294
294
|
# @!attribute [rw] order_by
|
295
295
|
# @return [::String]
|
296
|
-
#
|
296
|
+
# A comma-separated list of fields to order results according to.
|
297
297
|
class ListConnectionProfilesRequest
|
298
298
|
include ::Google::Protobuf::MessageExts
|
299
299
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -305,7 +305,7 @@ module Google
|
|
305
305
|
# The response list of connection profiles.
|
306
306
|
# @!attribute [rw] next_page_token
|
307
307
|
# @return [::String]
|
308
|
-
# A token
|
308
|
+
# A token which can be sent as `page_token` to retrieve the next page.
|
309
309
|
# If this field is omitted, there are no subsequent pages.
|
310
310
|
# @!attribute [rw] unreachable
|
311
311
|
# @return [::Array<::String>]
|
@@ -327,7 +327,7 @@ module Google
|
|
327
327
|
# Request message for 'CreateConnectionProfile' request.
|
328
328
|
# @!attribute [rw] parent
|
329
329
|
# @return [::String]
|
330
|
-
# Required. The parent
|
330
|
+
# Required. The parent which owns this collection of connection profiles.
|
331
331
|
# @!attribute [rw] connection_profile_id
|
332
332
|
# @return [::String]
|
333
333
|
# Required. The connection profile identifier.
|
@@ -336,13 +336,23 @@ module Google
|
|
336
336
|
# Required. The create request body including the connection profile data
|
337
337
|
# @!attribute [rw] request_id
|
338
338
|
# @return [::String]
|
339
|
-
# A unique
|
340
|
-
# requests with the same
|
339
|
+
# Optional. A unique ID used to identify the request. If the server receives
|
340
|
+
# two requests with the same ID, then the second request is ignored.
|
341
341
|
#
|
342
342
|
# It is recommended to always set this value to a UUID.
|
343
343
|
#
|
344
|
-
# The
|
344
|
+
# The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores
|
345
345
|
# (_), and hyphens (-). The maximum length is 40 characters.
|
346
|
+
# @!attribute [rw] validate_only
|
347
|
+
# @return [::Boolean]
|
348
|
+
# Optional. Only validate the connection profile, but don't create any
|
349
|
+
# resources. The default is false. Only supported for Oracle connection
|
350
|
+
# profiles.
|
351
|
+
# @!attribute [rw] skip_validation
|
352
|
+
# @return [::Boolean]
|
353
|
+
# Optional. Create the connection profile without validating it.
|
354
|
+
# The default is false.
|
355
|
+
# Only supported for Oracle connection profiles.
|
346
356
|
class CreateConnectionProfileRequest
|
347
357
|
include ::Google::Protobuf::MessageExts
|
348
358
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -351,20 +361,30 @@ module Google
|
|
351
361
|
# Request message for 'UpdateConnectionProfile' request.
|
352
362
|
# @!attribute [rw] update_mask
|
353
363
|
# @return [::Google::Protobuf::FieldMask]
|
354
|
-
# Required. Field mask is used to specify the fields to be overwritten
|
355
|
-
#
|
364
|
+
# Required. Field mask is used to specify the fields to be overwritten by the
|
365
|
+
# update in the conversion workspace resource.
|
356
366
|
# @!attribute [rw] connection_profile
|
357
367
|
# @return [::Google::Cloud::CloudDMS::V1::ConnectionProfile]
|
358
368
|
# Required. The connection profile parameters to update.
|
359
369
|
# @!attribute [rw] request_id
|
360
370
|
# @return [::String]
|
361
|
-
# A unique
|
362
|
-
# requests with the same
|
371
|
+
# Optional. A unique ID used to identify the request. If the server receives
|
372
|
+
# two requests with the same ID, then the second request is ignored.
|
363
373
|
#
|
364
374
|
# It is recommended to always set this value to a UUID.
|
365
375
|
#
|
366
|
-
# The
|
376
|
+
# The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores
|
367
377
|
# (_), and hyphens (-). The maximum length is 40 characters.
|
378
|
+
# @!attribute [rw] validate_only
|
379
|
+
# @return [::Boolean]
|
380
|
+
# Optional. Only validate the connection profile, but don't update any
|
381
|
+
# resources. The default is false. Only supported for Oracle connection
|
382
|
+
# profiles.
|
383
|
+
# @!attribute [rw] skip_validation
|
384
|
+
# @return [::Boolean]
|
385
|
+
# Optional. Update the connection profile without validating it.
|
386
|
+
# The default is false.
|
387
|
+
# Only supported for Oracle connection profiles.
|
368
388
|
class UpdateConnectionProfileRequest
|
369
389
|
include ::Google::Protobuf::MessageExts
|
370
390
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -376,12 +396,12 @@ module Google
|
|
376
396
|
# Required. Name of the connection profile resource to delete.
|
377
397
|
# @!attribute [rw] request_id
|
378
398
|
# @return [::String]
|
379
|
-
# A unique
|
380
|
-
# requests with the same
|
399
|
+
# A unique ID used to identify the request. If the server receives two
|
400
|
+
# requests with the same ID, then the second request is ignored.
|
381
401
|
#
|
382
402
|
# It is recommended to always set this value to a UUID.
|
383
403
|
#
|
384
|
-
# The
|
404
|
+
# The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores
|
385
405
|
# (_), and hyphens (-). The maximum length is 40 characters.
|
386
406
|
# @!attribute [rw] force
|
387
407
|
# @return [::Boolean]
|
@@ -392,6 +412,111 @@ module Google
|
|
392
412
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
393
413
|
end
|
394
414
|
|
415
|
+
# Request message to create a new private connection in the specified project
|
416
|
+
# and region.
|
417
|
+
# @!attribute [rw] parent
|
418
|
+
# @return [::String]
|
419
|
+
# Required. The parent that owns the collection of PrivateConnections.
|
420
|
+
# @!attribute [rw] private_connection_id
|
421
|
+
# @return [::String]
|
422
|
+
# Required. The private connection identifier.
|
423
|
+
# @!attribute [rw] private_connection
|
424
|
+
# @return [::Google::Cloud::CloudDMS::V1::PrivateConnection]
|
425
|
+
# Required. The private connection resource to create.
|
426
|
+
# @!attribute [rw] request_id
|
427
|
+
# @return [::String]
|
428
|
+
# Optional. A unique ID used to identify the request. If the server receives
|
429
|
+
# two requests with the same ID, then the second request is ignored.
|
430
|
+
#
|
431
|
+
# It is recommended to always set this value to a UUID.
|
432
|
+
#
|
433
|
+
# The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores
|
434
|
+
# (_), and hyphens (-). The maximum length is 40 characters.
|
435
|
+
# @!attribute [rw] skip_validation
|
436
|
+
# @return [::Boolean]
|
437
|
+
# Optional. If set to true, will skip validations.
|
438
|
+
class CreatePrivateConnectionRequest
|
439
|
+
include ::Google::Protobuf::MessageExts
|
440
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
441
|
+
end
|
442
|
+
|
443
|
+
# Request message to retrieve a list of private connections in a given project
|
444
|
+
# and location.
|
445
|
+
# @!attribute [rw] parent
|
446
|
+
# @return [::String]
|
447
|
+
# Required. The parent that owns the collection of private connections.
|
448
|
+
# @!attribute [rw] page_size
|
449
|
+
# @return [::Integer]
|
450
|
+
# Maximum number of private connections to return.
|
451
|
+
# If unspecified, at most 50 private connections that are returned.
|
452
|
+
# The maximum value is 1000; values above 1000 are coerced to 1000.
|
453
|
+
# @!attribute [rw] page_token
|
454
|
+
# @return [::String]
|
455
|
+
# Page token received from a previous `ListPrivateConnections` call.
|
456
|
+
# Provide this to retrieve the subsequent page.
|
457
|
+
#
|
458
|
+
# When paginating, all other parameters provided to
|
459
|
+
# `ListPrivateConnections` must match the call that provided the page
|
460
|
+
# token.
|
461
|
+
# @!attribute [rw] filter
|
462
|
+
# @return [::String]
|
463
|
+
# A filter expression that filters private connections listed in the
|
464
|
+
# response. The expression must specify the field name, a comparison
|
465
|
+
# operator, and the value that you want to use for filtering. The value must
|
466
|
+
# be a string, a number, or a boolean. The comparison operator must be either
|
467
|
+
# =, !=, >, or <. For example, list private connections created this year by
|
468
|
+
# specifying **createTime %gt; 2021-01-01T00:00:00.000000000Z**.
|
469
|
+
# @!attribute [rw] order_by
|
470
|
+
# @return [::String]
|
471
|
+
# Order by fields for the result.
|
472
|
+
class ListPrivateConnectionsRequest
|
473
|
+
include ::Google::Protobuf::MessageExts
|
474
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
475
|
+
end
|
476
|
+
|
477
|
+
# Response message for 'ListPrivateConnections' request.
|
478
|
+
# @!attribute [rw] private_connections
|
479
|
+
# @return [::Array<::Google::Cloud::CloudDMS::V1::PrivateConnection>]
|
480
|
+
# List of private connections.
|
481
|
+
# @!attribute [rw] next_page_token
|
482
|
+
# @return [::String]
|
483
|
+
# A token which can be sent as `page_token` to retrieve the next page.
|
484
|
+
# If this field is omitted, there are no subsequent pages.
|
485
|
+
# @!attribute [rw] unreachable
|
486
|
+
# @return [::Array<::String>]
|
487
|
+
# Locations that could not be reached.
|
488
|
+
class ListPrivateConnectionsResponse
|
489
|
+
include ::Google::Protobuf::MessageExts
|
490
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
491
|
+
end
|
492
|
+
|
493
|
+
# Request message to delete a private connection.
|
494
|
+
# @!attribute [rw] name
|
495
|
+
# @return [::String]
|
496
|
+
# Required. The name of the private connection to delete.
|
497
|
+
# @!attribute [rw] request_id
|
498
|
+
# @return [::String]
|
499
|
+
# Optional. A unique ID used to identify the request. If the server receives
|
500
|
+
# two requests with the same ID, then the second request is ignored.
|
501
|
+
#
|
502
|
+
# It is recommended to always set this value to a UUID.
|
503
|
+
#
|
504
|
+
# The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores
|
505
|
+
# (_), and hyphens (-). The maximum length is 40 characters.
|
506
|
+
class DeletePrivateConnectionRequest
|
507
|
+
include ::Google::Protobuf::MessageExts
|
508
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
509
|
+
end
|
510
|
+
|
511
|
+
# Request message to get a private connection resource.
|
512
|
+
# @!attribute [rw] name
|
513
|
+
# @return [::String]
|
514
|
+
# Required. The name of the private connection to get.
|
515
|
+
class GetPrivateConnectionRequest
|
516
|
+
include ::Google::Protobuf::MessageExts
|
517
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
518
|
+
end
|
519
|
+
|
395
520
|
# Represents the metadata of the long-running operation.
|
396
521
|
# @!attribute [r] create_time
|
397
522
|
# @return [::Google::Protobuf::Timestamp]
|
@@ -412,8 +537,9 @@ module Google
|
|
412
537
|
# @return [::Boolean]
|
413
538
|
# Output only. Identifies whether the user has requested cancellation
|
414
539
|
# of the operation. Operations that have successfully been cancelled
|
415
|
-
# have [Operation.error][] value with a
|
416
|
-
# corresponding to
|
540
|
+
# have [Operation.error][] value with a
|
541
|
+
# {::Google::Rpc::Status#code google.rpc.Status.code} of 1, corresponding to
|
542
|
+
# `Code.CANCELLED`.
|
417
543
|
# @!attribute [r] api_version
|
418
544
|
# @return [::String]
|
419
545
|
# Output only. API version used to start the operation.
|
@@ -421,6 +547,390 @@ module Google
|
|
421
547
|
include ::Google::Protobuf::MessageExts
|
422
548
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
423
549
|
end
|
550
|
+
|
551
|
+
# Retrieve a list of all conversion workspaces in a given project and location.
|
552
|
+
# @!attribute [rw] parent
|
553
|
+
# @return [::String]
|
554
|
+
# Required. The parent which owns this collection of conversion workspaces.
|
555
|
+
# @!attribute [rw] page_size
|
556
|
+
# @return [::Integer]
|
557
|
+
# The maximum number of conversion workspaces to return. The service may
|
558
|
+
# return fewer than this value. If unspecified, at most 50 sets are returned.
|
559
|
+
# @!attribute [rw] page_token
|
560
|
+
# @return [::String]
|
561
|
+
# The nextPageToken value received in the previous call to
|
562
|
+
# conversionWorkspaces.list, used in the subsequent request to retrieve the
|
563
|
+
# next page of results. On first call this should be left blank. When
|
564
|
+
# paginating, all other parameters provided to conversionWorkspaces.list must
|
565
|
+
# match the call that provided the page token.
|
566
|
+
# @!attribute [rw] filter
|
567
|
+
# @return [::String]
|
568
|
+
# A filter expression that filters conversion workspaces listed in the
|
569
|
+
# response. The expression must specify the field name, a comparison
|
570
|
+
# operator, and the value that you want to use for filtering. The value must
|
571
|
+
# be a string, a number, or a boolean. The comparison operator must be either
|
572
|
+
# =, !=, >, or <. For example, list conversion workspaces created this year
|
573
|
+
# by specifying **createTime %gt; 2020-01-01T00:00:00.000000000Z.** You can
|
574
|
+
# also filter nested fields. For example, you could specify
|
575
|
+
# **source.version = "12.c.1"** to select all conversion workspaces with
|
576
|
+
# source database version equal to 12.c.1.
|
577
|
+
class ListConversionWorkspacesRequest
|
578
|
+
include ::Google::Protobuf::MessageExts
|
579
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
580
|
+
end
|
581
|
+
|
582
|
+
# Response message for 'ListConversionWorkspaces' request.
|
583
|
+
# @!attribute [rw] conversion_workspaces
|
584
|
+
# @return [::Array<::Google::Cloud::CloudDMS::V1::ConversionWorkspace>]
|
585
|
+
# The list of conversion workspace objects.
|
586
|
+
# @!attribute [rw] next_page_token
|
587
|
+
# @return [::String]
|
588
|
+
# A token which can be sent as `page_token` to retrieve the next page.
|
589
|
+
# If this field is omitted, there are no subsequent pages.
|
590
|
+
# @!attribute [rw] unreachable
|
591
|
+
# @return [::Array<::String>]
|
592
|
+
# Locations that could not be reached.
|
593
|
+
class ListConversionWorkspacesResponse
|
594
|
+
include ::Google::Protobuf::MessageExts
|
595
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
596
|
+
end
|
597
|
+
|
598
|
+
# Request message for 'GetConversionWorkspace' request.
|
599
|
+
# @!attribute [rw] name
|
600
|
+
# @return [::String]
|
601
|
+
# Required. Name of the conversion workspace resource to get.
|
602
|
+
class GetConversionWorkspaceRequest
|
603
|
+
include ::Google::Protobuf::MessageExts
|
604
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
605
|
+
end
|
606
|
+
|
607
|
+
# Request message to create a new Conversion Workspace
|
608
|
+
# in the specified project and region.
|
609
|
+
# @!attribute [rw] parent
|
610
|
+
# @return [::String]
|
611
|
+
# Required. The parent which owns this collection of conversion workspaces.
|
612
|
+
# @!attribute [rw] conversion_workspace_id
|
613
|
+
# @return [::String]
|
614
|
+
# Required. The ID of the conversion workspace to create.
|
615
|
+
# @!attribute [rw] conversion_workspace
|
616
|
+
# @return [::Google::Cloud::CloudDMS::V1::ConversionWorkspace]
|
617
|
+
# Required. Represents a conversion workspace object.
|
618
|
+
# @!attribute [rw] request_id
|
619
|
+
# @return [::String]
|
620
|
+
# A unique ID used to identify the request. If the server receives two
|
621
|
+
# requests with the same ID, then the second request is ignored.
|
622
|
+
#
|
623
|
+
# It is recommended to always set this value to a UUID.
|
624
|
+
#
|
625
|
+
# The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores
|
626
|
+
# (_), and hyphens (-). The maximum length is 40 characters.
|
627
|
+
class CreateConversionWorkspaceRequest
|
628
|
+
include ::Google::Protobuf::MessageExts
|
629
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
630
|
+
end
|
631
|
+
|
632
|
+
# Request message for 'UpdateConversionWorkspace' request.
|
633
|
+
# @!attribute [rw] update_mask
|
634
|
+
# @return [::Google::Protobuf::FieldMask]
|
635
|
+
# Required. Field mask is used to specify the fields to be overwritten by the
|
636
|
+
# update in the conversion workspace resource.
|
637
|
+
# @!attribute [rw] conversion_workspace
|
638
|
+
# @return [::Google::Cloud::CloudDMS::V1::ConversionWorkspace]
|
639
|
+
# Required. The conversion workspace parameters to update.
|
640
|
+
# @!attribute [rw] request_id
|
641
|
+
# @return [::String]
|
642
|
+
# A unique ID used to identify the request. If the server receives two
|
643
|
+
# requests with the same ID, then the second request is ignored.
|
644
|
+
#
|
645
|
+
# It is recommended to always set this value to a UUID.
|
646
|
+
#
|
647
|
+
# The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores
|
648
|
+
# (_), and hyphens (-). The maximum length is 40 characters.
|
649
|
+
class UpdateConversionWorkspaceRequest
|
650
|
+
include ::Google::Protobuf::MessageExts
|
651
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
652
|
+
end
|
653
|
+
|
654
|
+
# Request message for 'DeleteConversionWorkspace' request.
|
655
|
+
# @!attribute [rw] name
|
656
|
+
# @return [::String]
|
657
|
+
# Required. Name of the conversion workspace resource to delete.
|
658
|
+
# @!attribute [rw] request_id
|
659
|
+
# @return [::String]
|
660
|
+
# A unique ID used to identify the request. If the server receives two
|
661
|
+
# requests with the same ID, then the second request is ignored.
|
662
|
+
#
|
663
|
+
# It is recommended to always set this value to a UUID.
|
664
|
+
#
|
665
|
+
# The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores
|
666
|
+
# (_), and hyphens (-). The maximum length is 40 characters.
|
667
|
+
class DeleteConversionWorkspaceRequest
|
668
|
+
include ::Google::Protobuf::MessageExts
|
669
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
670
|
+
end
|
671
|
+
|
672
|
+
# Request message for 'CommitConversionWorkspace' request.
|
673
|
+
# @!attribute [rw] name
|
674
|
+
# @return [::String]
|
675
|
+
# Required. Name of the conversion workspace resource to commit.
|
676
|
+
# @!attribute [rw] commit_name
|
677
|
+
# @return [::String]
|
678
|
+
# Optional. Optional name of the commit.
|
679
|
+
class CommitConversionWorkspaceRequest
|
680
|
+
include ::Google::Protobuf::MessageExts
|
681
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
682
|
+
end
|
683
|
+
|
684
|
+
# Request message for 'RollbackConversionWorkspace' request.
|
685
|
+
# @!attribute [rw] name
|
686
|
+
# @return [::String]
|
687
|
+
# Required. Name of the conversion workspace resource to roll back to.
|
688
|
+
class RollbackConversionWorkspaceRequest
|
689
|
+
include ::Google::Protobuf::MessageExts
|
690
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
691
|
+
end
|
692
|
+
|
693
|
+
# Request message for 'ApplyConversionWorkspace' request.
|
694
|
+
# @!attribute [rw] name
|
695
|
+
# @return [::String]
|
696
|
+
# Required. The name of the conversion workspace resource for which to apply
|
697
|
+
# the draft tree. Must be in the form of:
|
698
|
+
# projects/\\{project}/locations/\\{location}/conversionWorkspaces/\\{conversion_workspace}.
|
699
|
+
# @!attribute [rw] filter
|
700
|
+
# @return [::String]
|
701
|
+
# Filter which entities to apply. Leaving this field empty will apply all of
|
702
|
+
# the entities. Supports Google AIP 160 based filtering.
|
703
|
+
# @!attribute [rw] connection_profile
|
704
|
+
# @return [::String]
|
705
|
+
# Fully qualified (Uri) name of the destination connection profile.
|
706
|
+
class ApplyConversionWorkspaceRequest
|
707
|
+
include ::Google::Protobuf::MessageExts
|
708
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
709
|
+
end
|
710
|
+
|
711
|
+
# Request message for 'SeedConversionWorkspace' request.
|
712
|
+
# @!attribute [rw] name
|
713
|
+
# @return [::String]
|
714
|
+
# Name of the conversion workspace resource to seed with new database
|
715
|
+
# structure, in the form of:
|
716
|
+
# projects/\\{project}/locations/\\{location}/conversionWorkspaces/\\{conversion_workspace}.
|
717
|
+
# @!attribute [rw] auto_commit
|
718
|
+
# @return [::Boolean]
|
719
|
+
# Should the conversion workspace be committed automatically after the
|
720
|
+
# seed operation.
|
721
|
+
# @!attribute [rw] source_connection_profile
|
722
|
+
# @return [::String]
|
723
|
+
# Fully qualified (Uri) name of the source connection profile.
|
724
|
+
# @!attribute [rw] destination_connection_profile
|
725
|
+
# @return [::String]
|
726
|
+
# Fully qualified (Uri) name of the destination connection profile.
|
727
|
+
class SeedConversionWorkspaceRequest
|
728
|
+
include ::Google::Protobuf::MessageExts
|
729
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
730
|
+
end
|
731
|
+
|
732
|
+
# Request message for 'ConvertConversionWorkspace' request.
|
733
|
+
# @!attribute [rw] name
|
734
|
+
# @return [::String]
|
735
|
+
# Name of the conversion workspace resource to convert in the form of:
|
736
|
+
# projects/\\{project}/locations/\\{location}/conversionWorkspaces/\\{conversion_workspace}.
|
737
|
+
# @!attribute [rw] auto_commit
|
738
|
+
# @return [::Boolean]
|
739
|
+
# Specifies whether the conversion workspace is to be committed automatically
|
740
|
+
# after the conversion.
|
741
|
+
# @!attribute [rw] filter
|
742
|
+
# @return [::String]
|
743
|
+
# Filter the entities to convert. Leaving this field empty will convert all
|
744
|
+
# of the entities. Supports Google AIP-160 style filtering.
|
745
|
+
class ConvertConversionWorkspaceRequest
|
746
|
+
include ::Google::Protobuf::MessageExts
|
747
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
748
|
+
end
|
749
|
+
|
750
|
+
# Request message for 'ImportMappingRules' request.
|
751
|
+
# @!attribute [rw] parent
|
752
|
+
# @return [::String]
|
753
|
+
# Required. Name of the conversion workspace resource to import the rules to
|
754
|
+
# in the form of:
|
755
|
+
# projects/\\{project}/locations/\\{location}/conversionWorkspaces/\\{conversion_workspace}.
|
756
|
+
# @!attribute [rw] rules_format
|
757
|
+
# @return [::Google::Cloud::CloudDMS::V1::ImportRulesFileFormat]
|
758
|
+
# The format of the rules content file.
|
759
|
+
# @!attribute [rw] rules_files
|
760
|
+
# @return [::Array<::Google::Cloud::CloudDMS::V1::ImportMappingRulesRequest::RulesFile>]
|
761
|
+
# One or more rules files.
|
762
|
+
# @!attribute [rw] auto_commit
|
763
|
+
# @return [::Boolean]
|
764
|
+
# Should the conversion workspace be committed automatically after the
|
765
|
+
# import operation.
|
766
|
+
class ImportMappingRulesRequest
|
767
|
+
include ::Google::Protobuf::MessageExts
|
768
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
769
|
+
|
770
|
+
# Details of a single rules file.
|
771
|
+
# @!attribute [rw] rules_source_filename
|
772
|
+
# @return [::String]
|
773
|
+
# The filename of the rules that needs to be converted. The filename is
|
774
|
+
# used mainly so that future logs of the import rules job contain it, and
|
775
|
+
# can therefore be searched by it.
|
776
|
+
# @!attribute [rw] rules_content
|
777
|
+
# @return [::String]
|
778
|
+
# The text content of the rules that needs to be converted.
|
779
|
+
class RulesFile
|
780
|
+
include ::Google::Protobuf::MessageExts
|
781
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
782
|
+
end
|
783
|
+
end
|
784
|
+
|
785
|
+
# Request message for 'DescribeDatabaseEntities' request.
|
786
|
+
# @!attribute [rw] conversion_workspace
|
787
|
+
# @return [::String]
|
788
|
+
# Required. Name of the conversion workspace resource whose database entities
|
789
|
+
# are described. Must be in the form of:
|
790
|
+
# projects/\\{project}/locations/\\{location}/conversionWorkspaces/\\{conversion_workspace}.
|
791
|
+
# @!attribute [rw] page_size
|
792
|
+
# @return [::Integer]
|
793
|
+
# The maximum number of entities to return. The service may return
|
794
|
+
# fewer entities than the value specifies.
|
795
|
+
# @!attribute [rw] page_token
|
796
|
+
# @return [::String]
|
797
|
+
# The nextPageToken value received in the previous call to
|
798
|
+
# conversionWorkspace.describeDatabaseEntities, used in the subsequent
|
799
|
+
# request to retrieve the next page of results. On first call this should be
|
800
|
+
# left blank. When paginating, all other parameters provided to
|
801
|
+
# conversionWorkspace.describeDatabaseEntities must match the call that
|
802
|
+
# provided the page token.
|
803
|
+
# @!attribute [rw] tree
|
804
|
+
# @return [::Google::Cloud::CloudDMS::V1::DescribeDatabaseEntitiesRequest::DBTreeType]
|
805
|
+
# The tree to fetch.
|
806
|
+
# @!attribute [rw] uncommitted
|
807
|
+
# @return [::Boolean]
|
808
|
+
# Whether to retrieve the latest committed version of the entities or the
|
809
|
+
# latest version. This field is ignored if a specific commit_id is specified.
|
810
|
+
# @!attribute [rw] commit_id
|
811
|
+
# @return [::String]
|
812
|
+
# Request a specific commit ID. If not specified, the entities from the
|
813
|
+
# latest commit are returned.
|
814
|
+
# @!attribute [rw] filter
|
815
|
+
# @return [::String]
|
816
|
+
# Filter the returned entities based on AIP-160 standard.
|
817
|
+
class DescribeDatabaseEntitiesRequest
|
818
|
+
include ::Google::Protobuf::MessageExts
|
819
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
820
|
+
|
821
|
+
# The type of a tree to return
|
822
|
+
module DBTreeType
|
823
|
+
# Unspecified tree type.
|
824
|
+
DB_TREE_TYPE_UNSPECIFIED = 0
|
825
|
+
|
826
|
+
# The source database tree.
|
827
|
+
SOURCE_TREE = 1
|
828
|
+
|
829
|
+
# The draft database tree.
|
830
|
+
DRAFT_TREE = 2
|
831
|
+
|
832
|
+
# The destination database tree.
|
833
|
+
DESTINATION_TREE = 3
|
834
|
+
end
|
835
|
+
end
|
836
|
+
|
837
|
+
# Response message for 'DescribeDatabaseEntities' request.
|
838
|
+
# @!attribute [rw] database_entities
|
839
|
+
# @return [::Array<::Google::Cloud::CloudDMS::V1::DatabaseEntity>]
|
840
|
+
# The list of database entities for the conversion workspace.
|
841
|
+
# @!attribute [rw] next_page_token
|
842
|
+
# @return [::String]
|
843
|
+
# A token which can be sent as `page_token` to retrieve the next page.
|
844
|
+
# If this field is omitted, there are no subsequent pages.
|
845
|
+
class DescribeDatabaseEntitiesResponse
|
846
|
+
include ::Google::Protobuf::MessageExts
|
847
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
848
|
+
end
|
849
|
+
|
850
|
+
# Request message for 'SearchBackgroundJobs' request.
|
851
|
+
# @!attribute [rw] conversion_workspace
|
852
|
+
# @return [::String]
|
853
|
+
# Required. Name of the conversion workspace resource whose jobs are listed,
|
854
|
+
# in the form of:
|
855
|
+
# projects/\\{project}/locations/\\{location}/conversionWorkspaces/\\{conversion_workspace}.
|
856
|
+
# @!attribute [rw] return_most_recent_per_job_type
|
857
|
+
# @return [::Boolean]
|
858
|
+
# Optional. Whether or not to return just the most recent job per job type,
|
859
|
+
# @!attribute [rw] max_size
|
860
|
+
# @return [::Integer]
|
861
|
+
# Optional. The maximum number of jobs to return. The service may return
|
862
|
+
# fewer than this value. If unspecified, at most 100 jobs are
|
863
|
+
# returned. The maximum value is 100; values above 100 are coerced to
|
864
|
+
# 100.
|
865
|
+
# @!attribute [rw] completed_until_time
|
866
|
+
# @return [::Google::Protobuf::Timestamp]
|
867
|
+
# Optional. If provided, only returns jobs that completed until (not
|
868
|
+
# including) the given timestamp.
|
869
|
+
class SearchBackgroundJobsRequest
|
870
|
+
include ::Google::Protobuf::MessageExts
|
871
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
872
|
+
end
|
873
|
+
|
874
|
+
# Response message for 'SearchBackgroundJobs' request.
|
875
|
+
# @!attribute [rw] jobs
|
876
|
+
# @return [::Array<::Google::Cloud::CloudDMS::V1::BackgroundJobLogEntry>]
|
877
|
+
# The list of conversion workspace mapping rules.
|
878
|
+
class SearchBackgroundJobsResponse
|
879
|
+
include ::Google::Protobuf::MessageExts
|
880
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
881
|
+
end
|
882
|
+
|
883
|
+
# Request message for 'DescribeConversionWorkspaceRevisions' request.
|
884
|
+
# @!attribute [rw] conversion_workspace
|
885
|
+
# @return [::String]
|
886
|
+
# Required. Name of the conversion workspace resource whose revisions are
|
887
|
+
# listed. Must be in the form of:
|
888
|
+
# projects/\\{project}/locations/\\{location}/conversionWorkspaces/\\{conversion_workspace}.
|
889
|
+
# @!attribute [rw] commit_id
|
890
|
+
# @return [::String]
|
891
|
+
# Optional. Optional filter to request a specific commit ID.
|
892
|
+
class DescribeConversionWorkspaceRevisionsRequest
|
893
|
+
include ::Google::Protobuf::MessageExts
|
894
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
895
|
+
end
|
896
|
+
|
897
|
+
# Response message for 'DescribeConversionWorkspaceRevisions' request.
|
898
|
+
# @!attribute [rw] revisions
|
899
|
+
# @return [::Array<::Google::Cloud::CloudDMS::V1::ConversionWorkspace>]
|
900
|
+
# The list of conversion workspace revisions.
|
901
|
+
class DescribeConversionWorkspaceRevisionsResponse
|
902
|
+
include ::Google::Protobuf::MessageExts
|
903
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
904
|
+
end
|
905
|
+
|
906
|
+
# Request message for 'FetchStaticIps' request.
|
907
|
+
# @!attribute [rw] name
|
908
|
+
# @return [::String]
|
909
|
+
# Required. The resource name for the location for which static IPs should be
|
910
|
+
# returned. Must be in the format `projects/*/locations/*`.
|
911
|
+
# @!attribute [rw] page_size
|
912
|
+
# @return [::Integer]
|
913
|
+
# Maximum number of IPs to return.
|
914
|
+
# @!attribute [rw] page_token
|
915
|
+
# @return [::String]
|
916
|
+
# A page token, received from a previous `FetchStaticIps` call.
|
917
|
+
class FetchStaticIpsRequest
|
918
|
+
include ::Google::Protobuf::MessageExts
|
919
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
920
|
+
end
|
921
|
+
|
922
|
+
# Response message for a 'FetchStaticIps' request.
|
923
|
+
# @!attribute [rw] static_ips
|
924
|
+
# @return [::Array<::String>]
|
925
|
+
# List of static IPs.
|
926
|
+
# @!attribute [rw] next_page_token
|
927
|
+
# @return [::String]
|
928
|
+
# A token that can be sent as `page_token` to retrieve the next page.
|
929
|
+
# If this field is omitted, there are no subsequent pages.
|
930
|
+
class FetchStaticIpsResponse
|
931
|
+
include ::Google::Protobuf::MessageExts
|
932
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
933
|
+
end
|
424
934
|
end
|
425
935
|
end
|
426
936
|
end
|