| 1 |
{ |
| 2 |
"clientLibrary": { |
| 3 |
"name": "cloud.google.com/go/clouddms/apiv1", |
| 4 |
"version": "1.8.8", |
| 5 |
"language": "GO", |
| 6 |
"apis": [ |
| 7 |
{ |
| 8 |
"id": "google.cloud.clouddms.v1", |
| 9 |
"version": "v1" |
| 10 |
} |
| 11 |
] |
| 12 |
}, |
| 13 |
"snippets": [ |
| 14 |
{ |
| 15 |
"regionTag": "datamigration_v1_generated_DataMigrationService_ApplyConversionWorkspace_sync", |
| 16 |
"title": "datamigration ApplyConversionWorkspace Sample", |
| 17 |
"description": "ApplyConversionWorkspace applies draft tree onto a specific destination database.", |
| 18 |
"file": "DataMigrationClient/ApplyConversionWorkspace/main.go", |
| 19 |
"language": "GO", |
| 20 |
"clientMethod": { |
| 21 |
"shortName": "ApplyConversionWorkspace", |
| 22 |
"fullName": "google.cloud.clouddms.v1.DataMigrationClient.ApplyConversionWorkspace", |
| 23 |
"parameters": [ |
| 24 |
{ |
| 25 |
"type": "context.Context", |
| 26 |
"name": "ctx" |
| 27 |
}, |
| 28 |
{ |
| 29 |
"type": "clouddmspb.ApplyConversionWorkspaceRequest", |
| 30 |
"name": "req" |
| 31 |
}, |
| 32 |
{ |
| 33 |
"type": "...gax.CallOption", |
| 34 |
"name": "opts" |
| 35 |
} |
| 36 |
], |
| 37 |
"resultType": "ApplyConversionWorkspaceOperation", |
| 38 |
"client": { |
| 39 |
"shortName": "DataMigrationClient", |
| 40 |
"fullName": "google.cloud.clouddms.v1.DataMigrationClient" |
| 41 |
}, |
| 42 |
"method": { |
| 43 |
"shortName": "ApplyConversionWorkspace", |
| 44 |
"fullName": "google.cloud.clouddms.v1.DataMigrationService.ApplyConversionWorkspace", |
| 45 |
"service": { |
| 46 |
"shortName": "DataMigrationService", |
| 47 |
"fullName": "google.cloud.clouddms.v1.DataMigrationService" |
| 48 |
} |
| 49 |
} |
| 50 |
}, |
| 51 |
"origin": "API_DEFINITION", |
| 52 |
"segments": [ |
| 53 |
{ |
| 54 |
"start": 18, |
| 55 |
"end": 58, |
| 56 |
"type": "FULL" |
| 57 |
} |
| 58 |
] |
| 59 |
}, |
| 60 |
{ |
| 61 |
"regionTag": "datamigration_v1_generated_DataMigrationService_CancelOperation_sync", |
| 62 |
"title": "datamigration CancelOperation Sample", |
| 63 |
"description": "CancelOperation is a utility method from google.longrunning.Operations.", |
| 64 |
"file": "DataMigrationClient/CancelOperation/main.go", |
| 65 |
"language": "GO", |
| 66 |
"clientMethod": { |
| 67 |
"shortName": "CancelOperation", |
| 68 |
"fullName": "google.cloud.clouddms.v1.DataMigrationClient.CancelOperation", |
| 69 |
"parameters": [ |
| 70 |
{ |
| 71 |
"type": "context.Context", |
| 72 |
"name": "ctx" |
| 73 |
}, |
| 74 |
{ |
| 75 |
"type": "longrunningpb.CancelOperationRequest", |
| 76 |
"name": "req" |
| 77 |
}, |
| 78 |
{ |
| 79 |
"type": "...gax.CallOption", |
| 80 |
"name": "opts" |
| 81 |
} |
| 82 |
], |
| 83 |
"client": { |
| 84 |
"shortName": "DataMigrationClient", |
| 85 |
"fullName": "google.cloud.clouddms.v1.DataMigrationClient" |
| 86 |
}, |
| 87 |
"method": { |
| 88 |
"shortName": "CancelOperation", |
| 89 |
"fullName": "google.longrunning.Operations.CancelOperation", |
| 90 |
"service": { |
| 91 |
"shortName": "Operations", |
| 92 |
"fullName": "google.longrunning.Operations" |
| 93 |
} |
| 94 |
} |
| 95 |
}, |
| 96 |
"origin": "API_DEFINITION", |
| 97 |
"segments": [ |
| 98 |
{ |
| 99 |
"start": 18, |
| 100 |
"end": 51, |
| 101 |
"type": "FULL" |
| 102 |
} |
| 103 |
] |
| 104 |
}, |
| 105 |
{ |
| 106 |
"regionTag": "datamigration_v1_generated_DataMigrationService_CommitConversionWorkspace_sync", |
| 107 |
"title": "datamigration CommitConversionWorkspace Sample", |
| 108 |
"description": "CommitConversionWorkspace marks all the data in the conversion workspace as committed.", |
| 109 |
"file": "DataMigrationClient/CommitConversionWorkspace/main.go", |
| 110 |
"language": "GO", |
| 111 |
"clientMethod": { |
| 112 |
"shortName": "CommitConversionWorkspace", |
| 113 |
"fullName": "google.cloud.clouddms.v1.DataMigrationClient.CommitConversionWorkspace", |
| 114 |
"parameters": [ |
| 115 |
{ |
| 116 |
"type": "context.Context", |
| 117 |
"name": "ctx" |
| 118 |
}, |
| 119 |
{ |
| 120 |
"type": "clouddmspb.CommitConversionWorkspaceRequest", |
| 121 |
"name": "req" |
| 122 |
}, |
| 123 |
{ |
| 124 |
"type": "...gax.CallOption", |
| 125 |
"name": "opts" |
| 126 |
} |
| 127 |
], |
| 128 |
"resultType": "CommitConversionWorkspaceOperation", |
| 129 |
"client": { |
| 130 |
"shortName": "DataMigrationClient", |
| 131 |
"fullName": "google.cloud.clouddms.v1.DataMigrationClient" |
| 132 |
}, |
| 133 |
"method": { |
| 134 |
"shortName": "CommitConversionWorkspace", |
| 135 |
"fullName": "google.cloud.clouddms.v1.DataMigrationService.CommitConversionWorkspace", |
| 136 |
"service": { |
| 137 |
"shortName": "DataMigrationService", |
| 138 |
"fullName": "google.cloud.clouddms.v1.DataMigrationService" |
| 139 |
} |
| 140 |
} |
| 141 |
}, |
| 142 |
"origin": "API_DEFINITION", |
| 143 |
"segments": [ |
| 144 |
{ |
| 145 |
"start": 18, |
| 146 |
"end": 58, |
| 147 |
"type": "FULL" |
| 148 |
} |
| 149 |
] |
| 150 |
}, |
| 151 |
{ |
| 152 |
"regionTag": "datamigration_v1_generated_DataMigrationService_ConvertConversionWorkspace_sync", |
| 153 |
"title": "datamigration ConvertConversionWorkspace Sample", |
| 154 |
"description": "ConvertConversionWorkspace creates a draft tree schema for the destination database.", |
| 155 |
"file": "DataMigrationClient/ConvertConversionWorkspace/main.go", |
| 156 |
"language": "GO", |
| 157 |
"clientMethod": { |
| 158 |
"shortName": "ConvertConversionWorkspace", |
| 159 |
"fullName": "google.cloud.clouddms.v1.DataMigrationClient.ConvertConversionWorkspace", |
| 160 |
"parameters": [ |
| 161 |
{ |
| 162 |
"type": "context.Context", |
| 163 |
"name": "ctx" |
| 164 |
}, |
| 165 |
{ |
| 166 |
"type": "clouddmspb.ConvertConversionWorkspaceRequest", |
| 167 |
"name": "req" |
| 168 |
}, |
| 169 |
{ |
| 170 |
"type": "...gax.CallOption", |
| 171 |
"name": "opts" |
| 172 |
} |
| 173 |
], |
| 174 |
"resultType": "ConvertConversionWorkspaceOperation", |
| 175 |
"client": { |
| 176 |
"shortName": "DataMigrationClient", |
| 177 |
"fullName": "google.cloud.clouddms.v1.DataMigrationClient" |
| 178 |
}, |
| 179 |
"method": { |
| 180 |
"shortName": "ConvertConversionWorkspace", |
| 181 |
"fullName": "google.cloud.clouddms.v1.DataMigrationService.ConvertConversionWorkspace", |
| 182 |
"service": { |
| 183 |
"shortName": "DataMigrationService", |
| 184 |
"fullName": "google.cloud.clouddms.v1.DataMigrationService" |
| 185 |
} |
| 186 |
} |
| 187 |
}, |
| 188 |
"origin": "API_DEFINITION", |
| 189 |
"segments": [ |
| 190 |
{ |
| 191 |
"start": 18, |
| 192 |
"end": 58, |
| 193 |
"type": "FULL" |
| 194 |
} |
| 195 |
] |
| 196 |
}, |
| 197 |
{ |
| 198 |
"regionTag": "datamigration_v1_generated_DataMigrationService_CreateConnectionProfile_sync", |
| 199 |
"title": "datamigration CreateConnectionProfile Sample", |
| 200 |
"description": "CreateConnectionProfile creates a new connection profile in a given project and location.", |
| 201 |
"file": "DataMigrationClient/CreateConnectionProfile/main.go", |
| 202 |
"language": "GO", |
| 203 |
"clientMethod": { |
| 204 |
"shortName": "CreateConnectionProfile", |
| 205 |
"fullName": "google.cloud.clouddms.v1.DataMigrationClient.CreateConnectionProfile", |
| 206 |
"parameters": [ |
| 207 |
{ |
| 208 |
"type": "context.Context", |
| 209 |
"name": "ctx" |
| 210 |
}, |
| 211 |
{ |
| 212 |
"type": "clouddmspb.CreateConnectionProfileRequest", |
| 213 |
"name": "req" |
| 214 |
}, |
| 215 |
{ |
| 216 |
"type": "...gax.CallOption", |
| 217 |
"name": "opts" |
| 218 |
} |
| 219 |
], |
| 220 |
"resultType": "CreateConnectionProfileOperation", |
| 221 |
"client": { |
| 222 |
"shortName": "DataMigrationClient", |
| 223 |
"fullName": "google.cloud.clouddms.v1.DataMigrationClient" |
| 224 |
}, |
| 225 |
"method": { |
| 226 |
"shortName": "CreateConnectionProfile", |
| 227 |
"fullName": "google.cloud.clouddms.v1.DataMigrationService.CreateConnectionProfile", |
| 228 |
"service": { |
| 229 |
"shortName": "DataMigrationService", |
| 230 |
"fullName": "google.cloud.clouddms.v1.DataMigrationService" |
| 231 |
} |
| 232 |
} |
| 233 |
}, |
| 234 |
"origin": "API_DEFINITION", |
| 235 |
"segments": [ |
| 236 |
{ |
| 237 |
"start": 18, |
| 238 |
"end": 58, |
| 239 |
"type": "FULL" |
| 240 |
} |
| 241 |
] |
| 242 |
}, |
| 243 |
{ |
| 244 |
"regionTag": "datamigration_v1_generated_DataMigrationService_CreateConversionWorkspace_sync", |
| 245 |
"title": "datamigration CreateConversionWorkspace Sample", |
| 246 |
"description": "CreateConversionWorkspace creates a new conversion workspace in a given project and location.", |
| 247 |
"file": "DataMigrationClient/CreateConversionWorkspace/main.go", |
| 248 |
"language": "GO", |
| 249 |
"clientMethod": { |
| 250 |
"shortName": "CreateConversionWorkspace", |
| 251 |
"fullName": "google.cloud.clouddms.v1.DataMigrationClient.CreateConversionWorkspace", |
| 252 |
"parameters": [ |
| 253 |
{ |
| 254 |
"type": "context.Context", |
| 255 |
"name": "ctx" |
| 256 |
}, |
| 257 |
{ |
| 258 |
"type": "clouddmspb.CreateConversionWorkspaceRequest", |
| 259 |
"name": "req" |
| 260 |
}, |
| 261 |
{ |
| 262 |
"type": "...gax.CallOption", |
| 263 |
"name": "opts" |
| 264 |
} |
| 265 |
], |
| 266 |
"resultType": "CreateConversionWorkspaceOperation", |
| 267 |
"client": { |
| 268 |
"shortName": "DataMigrationClient", |
| 269 |
"fullName": "google.cloud.clouddms.v1.DataMigrationClient" |
| 270 |
}, |
| 271 |
"method": { |
| 272 |
"shortName": "CreateConversionWorkspace", |
| 273 |
"fullName": "google.cloud.clouddms.v1.DataMigrationService.CreateConversionWorkspace", |
| 274 |
"service": { |
| 275 |
"shortName": "DataMigrationService", |
| 276 |
"fullName": "google.cloud.clouddms.v1.DataMigrationService" |
| 277 |
} |
| 278 |
} |
| 279 |
}, |
| 280 |
"origin": "API_DEFINITION", |
| 281 |
"segments": [ |
| 282 |
{ |
| 283 |
"start": 18, |
| 284 |
"end": 58, |
| 285 |
"type": "FULL" |
| 286 |
} |
| 287 |
] |
| 288 |
}, |
| 289 |
{ |
| 290 |
"regionTag": "datamigration_v1_generated_DataMigrationService_CreateMappingRule_sync", |
| 291 |
"title": "datamigration CreateMappingRule Sample", |
| 292 |
"description": "CreateMappingRule creates a new mapping rule for a given conversion workspace.", |
| 293 |
"file": "DataMigrationClient/CreateMappingRule/main.go", |
| 294 |
"language": "GO", |
| 295 |
"clientMethod": { |
| 296 |
"shortName": "CreateMappingRule", |
| 297 |
"fullName": "google.cloud.clouddms.v1.DataMigrationClient.CreateMappingRule", |
| 298 |
"parameters": [ |
| 299 |
{ |
| 300 |
"type": "context.Context", |
| 301 |
"name": "ctx" |
| 302 |
}, |
| 303 |
{ |
| 304 |
"type": "clouddmspb.CreateMappingRuleRequest", |
| 305 |
"name": "req" |
| 306 |
}, |
| 307 |
{ |
| 308 |
"type": "...gax.CallOption", |
| 309 |
"name": "opts" |
| 310 |
} |
| 311 |
], |
| 312 |
"resultType": "*clouddmspb.MappingRule", |
| 313 |
"client": { |
| 314 |
"shortName": "DataMigrationClient", |
| 315 |
"fullName": "google.cloud.clouddms.v1.DataMigrationClient" |
| 316 |
}, |
| 317 |
"method": { |
| 318 |
"shortName": "CreateMappingRule", |
| 319 |
"fullName": "google.cloud.clouddms.v1.DataMigrationService.CreateMappingRule", |
| 320 |
"service": { |
| 321 |
"shortName": "DataMigrationService", |
| 322 |
"fullName": "google.cloud.clouddms.v1.DataMigrationService" |
| 323 |
} |
| 324 |
} |
| 325 |
}, |
| 326 |
"origin": "API_DEFINITION", |
| 327 |
"segments": [ |
| 328 |
{ |
| 329 |
"start": 18, |
| 330 |
"end": 53, |
| 331 |
"type": "FULL" |
| 332 |
} |
| 333 |
] |
| 334 |
}, |
| 335 |
{ |
| 336 |
"regionTag": "datamigration_v1_generated_DataMigrationService_CreateMigrationJob_sync", |
| 337 |
"title": "datamigration CreateMigrationJob Sample", |
| 338 |
"description": "CreateMigrationJob creates a new migration job in a given project and location.", |
| 339 |
"file": "DataMigrationClient/CreateMigrationJob/main.go", |
| 340 |
"language": "GO", |
| 341 |
"clientMethod": { |
| 342 |
"shortName": "CreateMigrationJob", |
| 343 |
"fullName": "google.cloud.clouddms.v1.DataMigrationClient.CreateMigrationJob", |
| 344 |
"parameters": [ |
| 345 |
{ |
| 346 |
"type": "context.Context", |
| 347 |
"name": "ctx" |
| 348 |
}, |
| 349 |
{ |
| 350 |
"type": "clouddmspb.CreateMigrationJobRequest", |
| 351 |
"name": "req" |
| 352 |
}, |
| 353 |
{ |
| 354 |
"type": "...gax.CallOption", |
| 355 |
"name": "opts" |
| 356 |
} |
| 357 |
], |
| 358 |
"resultType": "CreateMigrationJobOperation", |
| 359 |
"client": { |
| 360 |
"shortName": "DataMigrationClient", |
| 361 |
"fullName": "google.cloud.clouddms.v1.DataMigrationClient" |
| 362 |
}, |
| 363 |
"method": { |
| 364 |
"shortName": "CreateMigrationJob", |
| 365 |
"fullName": "google.cloud.clouddms.v1.DataMigrationService.CreateMigrationJob", |
| 366 |
"service": { |
| 367 |
"shortName": "DataMigrationService", |
| 368 |
"fullName": "google.cloud.clouddms.v1.DataMigrationService" |
| 369 |
} |
| 370 |
} |
| 371 |
}, |
| 372 |
"origin": "API_DEFINITION", |
| 373 |
"segments": [ |
| 374 |
{ |
| 375 |
"start": 18, |
| 376 |
"end": 58, |
| 377 |
"type": "FULL" |
| 378 |
} |
| 379 |
] |
| 380 |
}, |
| 381 |
{ |
| 382 |
"regionTag": "datamigration_v1_generated_DataMigrationService_CreatePrivateConnection_sync", |
| 383 |
"title": "datamigration CreatePrivateConnection Sample", |
| 384 |
"description": "CreatePrivateConnection creates a new private connection in a given project and location.", |
| 385 |
"file": "DataMigrationClient/CreatePrivateConnection/main.go", |
| 386 |
"language": "GO", |
| 387 |
"clientMethod": { |
| 388 |
"shortName": "CreatePrivateConnection", |
| 389 |
"fullName": "google.cloud.clouddms.v1.DataMigrationClient.CreatePrivateConnection", |
| 390 |
"parameters": [ |
| 391 |
{ |
| 392 |
"type": "context.Context", |
| 393 |
"name": "ctx" |
| 394 |
}, |
| 395 |
{ |
| 396 |
"type": "clouddmspb.CreatePrivateConnectionRequest", |
| 397 |
"name": "req" |
| 398 |
}, |
| 399 |
{ |
| 400 |
"type": "...gax.CallOption", |
| 401 |
"name": "opts" |
| 402 |
} |
| 403 |
], |
| 404 |
"resultType": "CreatePrivateConnectionOperation", |
| 405 |
"client": { |
| 406 |
"shortName": "DataMigrationClient", |
| 407 |
"fullName": "google.cloud.clouddms.v1.DataMigrationClient" |
| 408 |
}, |
| 409 |
"method": { |
| 410 |
"shortName": "CreatePrivateConnection", |
| 411 |
"fullName": "google.cloud.clouddms.v1.DataMigrationService.CreatePrivateConnection", |
| 412 |
"service": { |
| 413 |
"shortName": "DataMigrationService", |
| 414 |
"fullName": "google.cloud.clouddms.v1.DataMigrationService" |
| 415 |
} |
| 416 |
} |
| 417 |
}, |
| 418 |
"origin": "API_DEFINITION", |
| 419 |
"segments": [ |
| 420 |
{ |
| 421 |
"start": 18, |
| 422 |
"end": 58, |
| 423 |
"type": "FULL" |
| 424 |
} |
| 425 |
] |
| 426 |
}, |
| 427 |
{ |
| 428 |
"regionTag": "datamigration_v1_generated_DataMigrationService_DeleteConnectionProfile_sync", |
| 429 |
"title": "datamigration DeleteConnectionProfile Sample", |
| 430 |
"description": "DeleteConnectionProfile deletes a single Database Migration Service connection profile.\nA connection profile can only be deleted if it is not in use by any\nactive migration jobs.", |
| 431 |
"file": "DataMigrationClient/DeleteConnectionProfile/main.go", |
| 432 |
"language": "GO", |
| 433 |
"clientMethod": { |
| 434 |
"shortName": "DeleteConnectionProfile", |
| 435 |
"fullName": "google.cloud.clouddms.v1.DataMigrationClient.DeleteConnectionProfile", |
| 436 |
"parameters": [ |
| 437 |
{ |
| 438 |
"type": "context.Context", |
| 439 |
"name": "ctx" |
| 440 |
}, |
| 441 |
{ |
| 442 |
"type": "clouddmspb.DeleteConnectionProfileRequest", |
| 443 |
"name": "req" |
| 444 |
}, |
| 445 |
{ |
| 446 |
"type": "...gax.CallOption", |
| 447 |
"name": "opts" |
| 448 |
} |
| 449 |
], |
| 450 |
"resultType": "DeleteConnectionProfileOperation", |
| 451 |
"client": { |
| 452 |
"shortName": "DataMigrationClient", |
| 453 |
"fullName": "google.cloud.clouddms.v1.DataMigrationClient" |
| 454 |
}, |
| 455 |
"method": { |
| 456 |
"shortName": "DeleteConnectionProfile", |
| 457 |
"fullName": "google.cloud.clouddms.v1.DataMigrationService.DeleteConnectionProfile", |
| 458 |
"service": { |
| 459 |
"shortName": "DataMigrationService", |
| 460 |
"fullName": "google.cloud.clouddms.v1.DataMigrationService" |
| 461 |
} |
| 462 |
} |
| 463 |
}, |
| 464 |
"origin": "API_DEFINITION", |
| 465 |
"segments": [ |
| 466 |
{ |
| 467 |
"start": 18, |
| 468 |
"end": 56, |
| 469 |
"type": "FULL" |
| 470 |
} |
| 471 |
] |
| 472 |
}, |
| 473 |
{ |
| 474 |
"regionTag": "datamigration_v1_generated_DataMigrationService_DeleteConversionWorkspace_sync", |
| 475 |
"title": "datamigration DeleteConversionWorkspace Sample", |
| 476 |
"description": "DeleteConversionWorkspace deletes a single conversion workspace.", |
| 477 |
"file": "DataMigrationClient/DeleteConversionWorkspace/main.go", |
| 478 |
"language": "GO", |
| 479 |
"clientMethod": { |
| 480 |
"shortName": "DeleteConversionWorkspace", |
| 481 |
"fullName": "google.cloud.clouddms.v1.DataMigrationClient.DeleteConversionWorkspace", |
| 482 |
"parameters": [ |
| 483 |
{ |
| 484 |
"type": "context.Context", |
| 485 |
"name": "ctx" |
| 486 |
}, |
| 487 |
{ |
| 488 |
"type": "clouddmspb.DeleteConversionWorkspaceRequest", |
| 489 |
"name": "req" |
| 490 |
}, |
| 491 |
{ |
| 492 |
"type": "...gax.CallOption", |
| 493 |
"name": "opts" |
| 494 |
} |
| 495 |
], |
| 496 |
"resultType": "DeleteConversionWorkspaceOperation", |
| 497 |
"client": { |
| 498 |
"shortName": "DataMigrationClient", |
| 499 |
"fullName": "google.cloud.clouddms.v1.DataMigrationClient" |
| 500 |
}, |
| 501 |
"method": { |
| 502 |
"shortName": "DeleteConversionWorkspace", |
| 503 |
"fullName": "google.cloud.clouddms.v1.DataMigrationService.DeleteConversionWorkspace", |
| 504 |
"service": { |
| 505 |
"shortName": "DataMigrationService", |
| 506 |
"fullName": "google.cloud.clouddms.v1.DataMigrationService" |
| 507 |
} |
| 508 |
} |
| 509 |
}, |
| 510 |
"origin": "API_DEFINITION", |
| 511 |
"segments": [ |
| 512 |
{ |
| 513 |
"start": 18, |
| 514 |
"end": 56, |
| 515 |
"type": "FULL" |
| 516 |
} |
| 517 |
] |
| 518 |
}, |
| 519 |
{ |
| 520 |
"regionTag": "datamigration_v1_generated_DataMigrationService_DeleteMappingRule_sync", |
| 521 |
"title": "datamigration DeleteMappingRule Sample", |
| 522 |
"description": "DeleteMappingRule deletes a single mapping rule.", |
| 523 |
"file": "DataMigrationClient/DeleteMappingRule/main.go", |
| 524 |
"language": "GO", |
| 525 |
"clientMethod": { |
| 526 |
"shortName": "DeleteMappingRule", |
| 527 |
"fullName": "google.cloud.clouddms.v1.DataMigrationClient.DeleteMappingRule", |
| 528 |
"parameters": [ |
| 529 |
{ |
| 530 |
"type": "context.Context", |
| 531 |
"name": "ctx" |
| 532 |
}, |
| 533 |
{ |
| 534 |
"type": "clouddmspb.DeleteMappingRuleRequest", |
| 535 |
"name": "req" |
| 536 |
}, |
| 537 |
{ |
| 538 |
"type": "...gax.CallOption", |
| 539 |
"name": "opts" |
| 540 |
} |
| 541 |
], |
| 542 |
"client": { |
| 543 |
"shortName": "DataMigrationClient", |
| 544 |
"fullName": "google.cloud.clouddms.v1.DataMigrationClient" |
| 545 |
}, |
| 546 |
"method": { |
| 547 |
"shortName": "DeleteMappingRule", |
| 548 |
"fullName": "google.cloud.clouddms.v1.DataMigrationService.DeleteMappingRule", |
| 549 |
"service": { |
| 550 |
"shortName": "DataMigrationService", |
| 551 |
"fullName": "google.cloud.clouddms.v1.DataMigrationService" |
| 552 |
} |
| 553 |
} |
| 554 |
}, |
| 555 |
"origin": "API_DEFINITION", |
| 556 |
"segments": [ |
| 557 |
{ |
| 558 |
"start": 18, |
| 559 |
"end": 51, |
| 560 |
"type": "FULL" |
| 561 |
} |
| 562 |
] |
| 563 |
}, |
| 564 |
{ |
| 565 |
"regionTag": "datamigration_v1_generated_DataMigrationService_DeleteMigrationJob_sync", |
| 566 |
"title": "datamigration DeleteMigrationJob Sample", |
| 567 |
"description": "DeleteMigrationJob deletes a single migration job.", |
| 568 |
"file": "DataMigrationClient/DeleteMigrationJob/main.go", |
| 569 |
"language": "GO", |
| 570 |
"clientMethod": { |
| 571 |
"shortName": "DeleteMigrationJob", |
| 572 |
"fullName": "google.cloud.clouddms.v1.DataMigrationClient.DeleteMigrationJob", |
| 573 |
"parameters": [ |
| 574 |
{ |
| 575 |
"type": "context.Context", |
| 576 |
"name": "ctx" |
| 577 |
}, |
| 578 |
{ |
| 579 |
"type": "clouddmspb.DeleteMigrationJobRequest", |
| 580 |
"name": "req" |
| 581 |
}, |
| 582 |
{ |
| 583 |
"type": "...gax.CallOption", |
| 584 |
"name": "opts" |
| 585 |
} |
| 586 |
], |
| 587 |
"resultType": "DeleteMigrationJobOperation", |
| 588 |
"client": { |
| 589 |
"shortName": "DataMigrationClient", |
| 590 |
"fullName": "google.cloud.clouddms.v1.DataMigrationClient" |
| 591 |
}, |
| 592 |
"method": { |
| 593 |
"shortName": "DeleteMigrationJob", |
| 594 |
"fullName": "google.cloud.clouddms.v1.DataMigrationService.DeleteMigrationJob", |
| 595 |
"service": { |
| 596 |
"shortName": "DataMigrationService", |
| 597 |
"fullName": "google.cloud.clouddms.v1.DataMigrationService" |
| 598 |
} |
| 599 |
} |
| 600 |
}, |
| 601 |
"origin": "API_DEFINITION", |
| 602 |
"segments": [ |
| 603 |
{ |
| 604 |
"start": 18, |
| 605 |
"end": 56, |
| 606 |
"type": "FULL" |
| 607 |
} |
| 608 |
] |
| 609 |
}, |
| 610 |
{ |
| 611 |
"regionTag": "datamigration_v1_generated_DataMigrationService_DeleteOperation_sync", |
| 612 |
"title": "datamigration DeleteOperation Sample", |
| 613 |
"description": "DeleteOperation is a utility method from google.longrunning.Operations.", |
| 614 |
"file": "DataMigrationClient/DeleteOperation/main.go", |
| 615 |
"language": "GO", |
| 616 |
"clientMethod": { |
| 617 |
"shortName": "DeleteOperation", |
| 618 |
"fullName": "google.cloud.clouddms.v1.DataMigrationClient.DeleteOperation", |
| 619 |
"parameters": [ |
| 620 |
{ |
| 621 |
"type": "context.Context", |
| 622 |
"name": "ctx" |
| 623 |
}, |
| 624 |
{ |
| 625 |
"type": "longrunningpb.DeleteOperationRequest", |
| 626 |
"name": "req" |
| 627 |
}, |
| 628 |
{ |
| 629 |
"type": "...gax.CallOption", |
| 630 |
"name": "opts" |
| 631 |
} |
| 632 |
], |
| 633 |
"client": { |
| 634 |
"shortName": "DataMigrationClient", |
| 635 |
"fullName": "google.cloud.clouddms.v1.DataMigrationClient" |
| 636 |
}, |
| 637 |
"method": { |
| 638 |
"shortName": "DeleteOperation", |
| 639 |
"fullName": "google.longrunning.Operations.DeleteOperation", |
| 640 |
"service": { |
| 641 |
"shortName": "Operations", |
| 642 |
"fullName": "google.longrunning.Operations" |
| 643 |
} |
| 644 |
} |
| 645 |
}, |
| 646 |
"origin": "API_DEFINITION", |
| 647 |
"segments": [ |
| 648 |
{ |
| 649 |
"start": 18, |
| 650 |
"end": 51, |
| 651 |
"type": "FULL" |
| 652 |
} |
| 653 |
] |
| 654 |
}, |
| 655 |
{ |
| 656 |
"regionTag": "datamigration_v1_generated_DataMigrationService_DeletePrivateConnection_sync", |
| 657 |
"title": "datamigration DeletePrivateConnection Sample", |
| 658 |
"description": "DeletePrivateConnection deletes a single Database Migration Service private connection.", |
| 659 |
"file": "DataMigrationClient/DeletePrivateConnection/main.go", |
| 660 |
"language": "GO", |
| 661 |
"clientMethod": { |
| 662 |
"shortName": "DeletePrivateConnection", |
| 663 |
"fullName": "google.cloud.clouddms.v1.DataMigrationClient.DeletePrivateConnection", |
| 664 |
"parameters": [ |
| 665 |
{ |
| 666 |
"type": "context.Context", |
| 667 |
"name": "ctx" |
| 668 |
}, |
| 669 |
{ |
| 670 |
"type": "clouddmspb.DeletePrivateConnectionRequest", |
| 671 |
"name": "req" |
| 672 |
}, |
| 673 |
{ |
| 674 |
"type": "...gax.CallOption", |
| 675 |
"name": "opts" |
| 676 |
} |
| 677 |
], |
| 678 |
"resultType": "DeletePrivateConnectionOperation", |
| 679 |
"client": { |
| 680 |
"shortName": "DataMigrationClient", |
| 681 |
"fullName": "google.cloud.clouddms.v1.DataMigrationClient" |
| 682 |
}, |
| 683 |
"method": { |
| 684 |
"shortName": "DeletePrivateConnection", |
| 685 |
"fullName": "google.cloud.clouddms.v1.DataMigrationService.DeletePrivateConnection", |
| 686 |
"service": { |
| 687 |
"shortName": "DataMigrationService", |
| 688 |
"fullName": "google.cloud.clouddms.v1.DataMigrationService" |
| 689 |
} |
| 690 |
} |
| 691 |
}, |
| 692 |
"origin": "API_DEFINITION", |
| 693 |
"segments": [ |
| 694 |
{ |
| 695 |
"start": 18, |
| 696 |
"end": 56, |
| 697 |
"type": "FULL" |
| 698 |
} |
| 699 |
] |
| 700 |
}, |
| 701 |
{ |
| 702 |
"regionTag": "datamigration_v1_generated_DataMigrationService_DescribeConversionWorkspaceRevisions_sync", |
| 703 |
"title": "datamigration DescribeConversionWorkspaceRevisions Sample", |
| 704 |
"description": "DescribeConversionWorkspaceRevisions retrieves a list of committed revisions of a specific conversion\nworkspace.", |
| 705 |
"file": "DataMigrationClient/DescribeConversionWorkspaceRevisions/main.go", |
| 706 |
"language": "GO", |
| 707 |
"clientMethod": { |
| 708 |
"shortName": "DescribeConversionWorkspaceRevisions", |
| 709 |
"fullName": "google.cloud.clouddms.v1.DataMigrationClient.DescribeConversionWorkspaceRevisions", |
| 710 |
"parameters": [ |
| 711 |
{ |
| 712 |
"type": "context.Context", |
| 713 |
"name": "ctx" |
| 714 |
}, |
| 715 |
{ |
| 716 |
"type": "clouddmspb.DescribeConversionWorkspaceRevisionsRequest", |
| 717 |
"name": "req" |
| 718 |
}, |
| 719 |
{ |
| 720 |
"type": "...gax.CallOption", |
| 721 |
"name": "opts" |
| 722 |
} |
| 723 |
], |
| 724 |
"resultType": "*clouddmspb.DescribeConversionWorkspaceRevisionsResponse", |
| 725 |
"client": { |
| 726 |
"shortName": "DataMigrationClient", |
| 727 |
"fullName": "google.cloud.clouddms.v1.DataMigrationClient" |
| 728 |
}, |
| 729 |
"method": { |
| 730 |
"shortName": "DescribeConversionWorkspaceRevisions", |
| 731 |
"fullName": "google.cloud.clouddms.v1.DataMigrationService.DescribeConversionWorkspaceRevisions", |
| 732 |
"service": { |
| 733 |
"shortName": "DataMigrationService", |
| 734 |
"fullName": "google.cloud.clouddms.v1.DataMigrationService" |
| 735 |
} |
| 736 |
} |
| 737 |
}, |
| 738 |
"origin": "API_DEFINITION", |
| 739 |
"segments": [ |
| 740 |
{ |
| 741 |
"start": 18, |
| 742 |
"end": 53, |
| 743 |
"type": "FULL" |
| 744 |
} |
| 745 |
] |
| 746 |
}, |
| 747 |
{ |
| 748 |
"regionTag": "datamigration_v1_generated_DataMigrationService_DescribeDatabaseEntities_sync", |
| 749 |
"title": "datamigration DescribeDatabaseEntities Sample", |
| 750 |
"description": "DescribeDatabaseEntities describes the database entities tree for a specific conversion workspace\nand a specific tree type.\n\nDatabase entities are not resources like conversion workspaces or mapping\nrules, and they can't be created, updated or deleted. Instead, they are\nsimple data objects describing the structure of the client database.", |
| 751 |
"file": "DataMigrationClient/DescribeDatabaseEntities/main.go", |
| 752 |
"language": "GO", |
| 753 |
"clientMethod": { |
| 754 |
"shortName": "DescribeDatabaseEntities", |
| 755 |
"fullName": "google.cloud.clouddms.v1.DataMigrationClient.DescribeDatabaseEntities", |
| 756 |
"parameters": [ |
| 757 |
{ |
| 758 |
"type": "context.Context", |
| 759 |
"name": "ctx" |
| 760 |
}, |
| 761 |
{ |
| 762 |
"type": "clouddmspb.DescribeDatabaseEntitiesRequest", |
| 763 |
"name": "req" |
| 764 |
}, |
| 765 |
{ |
| 766 |
"type": "...gax.CallOption", |
| 767 |
"name": "opts" |
| 768 |
} |
| 769 |
], |
| 770 |
"resultType": "DatabaseEntityIterator", |
| 771 |
"client": { |
| 772 |
"shortName": "DataMigrationClient", |
| 773 |
"fullName": "google.cloud.clouddms.v1.DataMigrationClient" |
| 774 |
}, |
| 775 |
"method": { |
| 776 |
"shortName": "DescribeDatabaseEntities", |
| 777 |
"fullName": "google.cloud.clouddms.v1.DataMigrationService.DescribeDatabaseEntities", |
| 778 |
"service": { |
| 779 |
"shortName": "DataMigrationService", |
| 780 |
"fullName": "google.cloud.clouddms.v1.DataMigrationService" |
| 781 |
} |
| 782 |
} |
| 783 |
}, |
| 784 |
"origin": "API_DEFINITION", |
| 785 |
"segments": [ |
| 786 |
{ |
| 787 |
"start": 18, |
| 788 |
"end": 66, |
| 789 |
"type": "FULL" |
| 790 |
} |
| 791 |
] |
| 792 |
}, |
| 793 |
{ |
| 794 |
"regionTag": "datamigration_v1_generated_DataMigrationService_FetchStaticIps_sync", |
| 795 |
"title": "datamigration FetchStaticIps Sample", |
| 796 |
"description": "FetchStaticIps fetches a set of static IP addresses that need to be allowlisted by the\ncustomer when using the static-IP connectivity method.", |
| 797 |
"file": "DataMigrationClient/FetchStaticIps/main.go", |
| 798 |
"language": "GO", |
| 799 |
"clientMethod": { |
| 800 |
"shortName": "FetchStaticIps", |
| 801 |
"fullName": "google.cloud.clouddms.v1.DataMigrationClient.FetchStaticIps", |
| 802 |
"parameters": [ |
| 803 |
{ |
| 804 |
"type": "context.Context", |
| 805 |
"name": "ctx" |
| 806 |
}, |
| 807 |
{ |
| 808 |
"type": "clouddmspb.FetchStaticIpsRequest", |
| 809 |
"name": "req" |
| 810 |
}, |
| 811 |
{ |
| 812 |
"type": "...gax.CallOption", |
| 813 |
"name": "opts" |
| 814 |
} |
| 815 |
], |
| 816 |
"resultType": "StringIterator", |
| 817 |
"client": { |
| 818 |
"shortName": "DataMigrationClient", |
| 819 |
"fullName": "google.cloud.clouddms.v1.DataMigrationClient" |
| 820 |
}, |
| 821 |
"method": { |
| 822 |
"shortName": "FetchStaticIps", |
| 823 |
"fullName": "google.cloud.clouddms.v1.DataMigrationService.FetchStaticIps", |
| 824 |
"service": { |
| 825 |
"shortName": "DataMigrationService", |
| 826 |
"fullName": "google.cloud.clouddms.v1.DataMigrationService" |
| 827 |
} |
| 828 |
} |
| 829 |
}, |
| 830 |
"origin": "API_DEFINITION", |
| 831 |
"segments": [ |
| 832 |
{ |
| 833 |
"start": 18, |
| 834 |
"end": 66, |
| 835 |
"type": "FULL" |
| 836 |
} |
| 837 |
] |
| 838 |
}, |
| 839 |
{ |
| 840 |
"regionTag": "datamigration_v1_generated_DataMigrationService_GenerateSshScript_sync", |
| 841 |
"title": "datamigration GenerateSshScript Sample", |
| 842 |
"description": "GenerateSshScript generate a SSH configuration script to configure the reverse SSH\nconnectivity.", |
| 843 |
"file": "DataMigrationClient/GenerateSshScript/main.go", |
| 844 |
"language": "GO", |
| 845 |
"clientMethod": { |
| 846 |
"shortName": "GenerateSshScript", |
| 847 |
"fullName": "google.cloud.clouddms.v1.DataMigrationClient.GenerateSshScript", |
| 848 |
"parameters": [ |
| 849 |
{ |
| 850 |
"type": "context.Context", |
| 851 |
"name": "ctx" |
| 852 |
}, |
| 853 |
{ |
| 854 |
"type": "clouddmspb.GenerateSshScriptRequest", |
| 855 |
"name": "req" |
| 856 |
}, |
| 857 |
{ |
| 858 |
"type": "...gax.CallOption", |
| 859 |
"name": "opts" |
| 860 |
} |
| 861 |
], |
| 862 |
"resultType": "*clouddmspb.SshScript", |
| 863 |
"client": { |
| 864 |
"shortName": "DataMigrationClient", |
| 865 |
"fullName": "google.cloud.clouddms.v1.DataMigrationClient" |
| 866 |
}, |
| 867 |
"method": { |
| 868 |
"shortName": "GenerateSshScript", |
| 869 |
"fullName": "google.cloud.clouddms.v1.DataMigrationService.GenerateSshScript", |
| 870 |
"service": { |
| 871 |
"shortName": "DataMigrationService", |
| 872 |
"fullName": "google.cloud.clouddms.v1.DataMigrationService" |
| 873 |
} |
| 874 |
} |
| 875 |
}, |
| 876 |
"origin": "API_DEFINITION", |
| 877 |
"segments": [ |
| 878 |
{ |
| 879 |
"start": 18, |
| 880 |
"end": 53, |
| 881 |
"type": "FULL" |
| 882 |
} |
| 883 |
] |
| 884 |
}, |
| 885 |
{ |
| 886 |
"regionTag": "datamigration_v1_generated_DataMigrationService_GenerateTcpProxyScript_sync", |
| 887 |
"title": "datamigration GenerateTcpProxyScript Sample", |
| 888 |
"description": "GenerateTcpProxyScript generate a TCP Proxy configuration script to configure a cloud-hosted VM\nrunning a TCP Proxy.", |
| 889 |
"file": "DataMigrationClient/GenerateTcpProxyScript/main.go", |
| 890 |
"language": "GO", |
| 891 |
"clientMethod": { |
| 892 |
"shortName": "GenerateTcpProxyScript", |
| 893 |
"fullName": "google.cloud.clouddms.v1.DataMigrationClient.GenerateTcpProxyScript", |
| 894 |
"parameters": [ |
| 895 |
{ |
| 896 |
"type": "context.Context", |
| 897 |
"name": "ctx" |
| 898 |
}, |
| 899 |
{ |
| 900 |
"type": "clouddmspb.GenerateTcpProxyScriptRequest", |
| 901 |
"name": "req" |
| 902 |
}, |
| 903 |
{ |
| 904 |
"type": "...gax.CallOption", |
| 905 |
"name": "opts" |
| 906 |
} |
| 907 |
], |
| 908 |
"resultType": "*clouddmspb.TcpProxyScript", |
| 909 |
"client": { |
| 910 |
"shortName": "DataMigrationClient", |
| 911 |
"fullName": "google.cloud.clouddms.v1.DataMigrationClient" |
| 912 |
}, |
| 913 |
"method": { |
| 914 |
"shortName": "GenerateTcpProxyScript", |
| 915 |
"fullName": "google.cloud.clouddms.v1.DataMigrationService.GenerateTcpProxyScript", |
| 916 |
"service": { |
| 917 |
"shortName": "DataMigrationService", |
| 918 |
"fullName": "google.cloud.clouddms.v1.DataMigrationService" |
| 919 |
} |
| 920 |
} |
| 921 |
}, |
| 922 |
"origin": "API_DEFINITION", |
| 923 |
"segments": [ |
| 924 |
{ |
| 925 |
"start": 18, |
| 926 |
"end": 53, |
| 927 |
"type": "FULL" |
| 928 |
} |
| 929 |
] |
| 930 |
}, |
| 931 |
{ |
| 932 |
"regionTag": "datamigration_v1_generated_DataMigrationService_GetConnectionProfile_sync", |
| 933 |
"title": "datamigration GetConnectionProfile Sample", |
| 934 |
"description": "GetConnectionProfile gets details of a single connection profile.", |
| 935 |
"file": "DataMigrationClient/GetConnectionProfile/main.go", |
| 936 |
"language": "GO", |
| 937 |
"clientMethod": { |
| 938 |
"shortName": "GetConnectionProfile", |
| 939 |
"fullName": "google.cloud.clouddms.v1.DataMigrationClient.GetConnectionProfile", |
| 940 |
"parameters": [ |
| 941 |
{ |
| 942 |
"type": "context.Context", |
| 943 |
"name": "ctx" |
| 944 |
}, |
| 945 |
{ |
| 946 |
"type": "clouddmspb.GetConnectionProfileRequest", |
| 947 |
"name": "req" |
| 948 |
}, |
| 949 |
{ |
| 950 |
"type": "...gax.CallOption", |
| 951 |
"name": "opts" |
| 952 |
} |
| 953 |
], |
| 954 |
"resultType": "*clouddmspb.ConnectionProfile", |
| 955 |
"client": { |
| 956 |
"shortName": "DataMigrationClient", |
| 957 |
"fullName": "google.cloud.clouddms.v1.DataMigrationClient" |
| 958 |
}, |
| 959 |
"method": { |
| 960 |
"shortName": "GetConnectionProfile", |
| 961 |
"fullName": "google.cloud.clouddms.v1.DataMigrationService.GetConnectionProfile", |
| 962 |
"service": { |
| 963 |
"shortName": "DataMigrationService", |
| 964 |
"fullName": "google.cloud.clouddms.v1.DataMigrationService" |
| 965 |
} |
| 966 |
} |
| 967 |
}, |
| 968 |
"origin": "API_DEFINITION", |
| 969 |
"segments": [ |
| 970 |
{ |
| 971 |
"start": 18, |
| 972 |
"end": 53, |
| 973 |
"type": "FULL" |
| 974 |
} |
| 975 |
] |
| 976 |
}, |
| 977 |
{ |
| 978 |
"regionTag": "datamigration_v1_generated_DataMigrationService_GetConversionWorkspace_sync", |
| 979 |
"title": "datamigration GetConversionWorkspace Sample", |
| 980 |
"description": "GetConversionWorkspace gets details of a single conversion workspace.", |
| 981 |
"file": "DataMigrationClient/GetConversionWorkspace/main.go", |
| 982 |
"language": "GO", |
| 983 |
"clientMethod": { |
| 984 |
"shortName": "GetConversionWorkspace", |
| 985 |
"fullName": "google.cloud.clouddms.v1.DataMigrationClient.GetConversionWorkspace", |
| 986 |
"parameters": [ |
| 987 |
{ |
| 988 |
"type": "context.Context", |
| 989 |
"name": "ctx" |
| 990 |
}, |
| 991 |
{ |
| 992 |
"type": "clouddmspb.GetConversionWorkspaceRequest", |
| 993 |
"name": "req" |
| 994 |
}, |
| 995 |
{ |
| 996 |
"type": "...gax.CallOption", |
| 997 |
"name": "opts" |
| 998 |
} |
| 999 |
], |
| 1000 |
"resultType": "*clouddmspb.ConversionWorkspace", |
| 1001 |
"client": { |
| 1002 |
"shortName": "DataMigrationClient", |
| 1003 |
"fullName": "google.cloud.clouddms.v1.DataMigrationClient" |
| 1004 |
}, |
| 1005 |
"method": { |
| 1006 |
"shortName": "GetConversionWorkspace", |
| 1007 |
"fullName": "google.cloud.clouddms.v1.DataMigrationService.GetConversionWorkspace", |
| 1008 |
"service": { |
| 1009 |
"shortName": "DataMigrationService", |
| 1010 |
"fullName": "google.cloud.clouddms.v1.DataMigrationService" |
| 1011 |
} |
| 1012 |
} |
| 1013 |
}, |
| 1014 |
"origin": "API_DEFINITION", |
| 1015 |
"segments": [ |
| 1016 |
{ |
| 1017 |
"start": 18, |
| 1018 |
"end": 53, |
| 1019 |
"type": "FULL" |
| 1020 |
} |
| 1021 |
] |
| 1022 |
}, |
| 1023 |
{ |
| 1024 |
"regionTag": "datamigration_v1_generated_DataMigrationService_GetIamPolicy_sync", |
| 1025 |
"title": "datamigration GetIamPolicy Sample", |
| 1026 |
"description": "GetIamPolicy gets the access control policy for a resource. Returns an empty policy\nif the resource exists and does not have a policy set.", |
| 1027 |
"file": "DataMigrationClient/GetIamPolicy/main.go", |
| 1028 |
"language": "GO", |
| 1029 |
"clientMethod": { |
| 1030 |
"shortName": "GetIamPolicy", |
| 1031 |
"fullName": "google.cloud.clouddms.v1.DataMigrationClient.GetIamPolicy", |
| 1032 |
"parameters": [ |
| 1033 |
{ |
| 1034 |
"type": "context.Context", |
| 1035 |
"name": "ctx" |
| 1036 |
}, |
| 1037 |
{ |
| 1038 |
"type": "iampb.GetIamPolicyRequest", |
| 1039 |
"name": "req" |
| 1040 |
}, |
| 1041 |
{ |
| 1042 |
"type": "...gax.CallOption", |
| 1043 |
"name": "opts" |
| 1044 |
} |
| 1045 |
], |
| 1046 |
"resultType": "*iampb.Policy", |
| 1047 |
"client": { |
| 1048 |
"shortName": "DataMigrationClient", |
| 1049 |
"fullName": "google.cloud.clouddms.v1.DataMigrationClient" |
| 1050 |
}, |
| 1051 |
"method": { |
| 1052 |
"shortName": "GetIamPolicy", |
| 1053 |
"fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", |
| 1054 |
"service": { |
| 1055 |
"shortName": "IAMPolicy", |
| 1056 |
"fullName": "google.iam.v1.IAMPolicy" |
| 1057 |
} |
| 1058 |
} |
| 1059 |
}, |
| 1060 |
"origin": "API_DEFINITION", |
| 1061 |
"segments": [ |
| 1062 |
{ |
| 1063 |
"start": 18, |
| 1064 |
"end": 53, |
| 1065 |
"type": "FULL" |
| 1066 |
} |
| 1067 |
] |
| 1068 |
}, |
| 1069 |
{ |
| 1070 |
"regionTag": "datamigration_v1_generated_DataMigrationService_GetLocation_sync", |
| 1071 |
"title": "datamigration GetLocation Sample", |
| 1072 |
"description": "GetLocation gets information about a location.", |
| 1073 |
"file": "DataMigrationClient/GetLocation/main.go", |
| 1074 |
"language": "GO", |
| 1075 |
"clientMethod": { |
| 1076 |
"shortName": "GetLocation", |
| 1077 |
"fullName": "google.cloud.clouddms.v1.DataMigrationClient.GetLocation", |
| 1078 |
"parameters": [ |
| 1079 |
{ |
| 1080 |
"type": "context.Context", |
| 1081 |
"name": "ctx" |
| 1082 |
}, |
| 1083 |
{ |
| 1084 |
"type": "locationpb.GetLocationRequest", |
| 1085 |
"name": "req" |
| 1086 |
}, |
| 1087 |
{ |
| 1088 |
"type": "...gax.CallOption", |
| 1089 |
"name": "opts" |
| 1090 |
} |
| 1091 |
], |
| 1092 |
"resultType": "*locationpb.Location", |
| 1093 |
"client": { |
| 1094 |
"shortName": "DataMigrationClient", |
| 1095 |
"fullName": "google.cloud.clouddms.v1.DataMigrationClient" |
| 1096 |
}, |
| 1097 |
"method": { |
| 1098 |
"shortName": "GetLocation", |
| 1099 |
"fullName": "google.cloud.location.Locations.GetLocation", |
| 1100 |
"service": { |
| 1101 |
"shortName": "Locations", |
| 1102 |
"fullName": "google.cloud.location.Locations" |
| 1103 |
} |
| 1104 |
} |
| 1105 |
}, |
| 1106 |
"origin": "API_DEFINITION", |
| 1107 |
"segments": [ |
| 1108 |
{ |
| 1109 |
"start": 18, |
| 1110 |
"end": 53, |
| 1111 |
"type": "FULL" |
| 1112 |
} |
| 1113 |
] |
| 1114 |
}, |
| 1115 |
{ |
| 1116 |
"regionTag": "datamigration_v1_generated_DataMigrationService_GetMappingRule_sync", |
| 1117 |
"title": "datamigration GetMappingRule Sample", |
| 1118 |
"description": "GetMappingRule gets the details of a mapping rule.", |
| 1119 |
"file": "DataMigrationClient/GetMappingRule/main.go", |
| 1120 |
"language": "GO", |
| 1121 |
"clientMethod": { |
| 1122 |
"shortName": "GetMappingRule", |
| 1123 |
"fullName": "google.cloud.clouddms.v1.DataMigrationClient.GetMappingRule", |
| 1124 |
"parameters": [ |
| 1125 |
{ |
| 1126 |
"type": "context.Context", |
| 1127 |
"name": "ctx" |
| 1128 |
}, |
| 1129 |
{ |
| 1130 |
"type": "clouddmspb.GetMappingRuleRequest", |
| 1131 |
"name": "req" |
| 1132 |
}, |
| 1133 |
{ |
| 1134 |
"type": "...gax.CallOption", |
| 1135 |
"name": "opts" |
| 1136 |
} |
| 1137 |
], |
| 1138 |
"resultType": "*clouddmspb.MappingRule", |
| 1139 |
"client": { |
| 1140 |
"shortName": "DataMigrationClient", |
| 1141 |
"fullName": "google.cloud.clouddms.v1.DataMigrationClient" |
| 1142 |
}, |
| 1143 |
"method": { |
| 1144 |
"shortName": "GetMappingRule", |
| 1145 |
"fullName": "google.cloud.clouddms.v1.DataMigrationService.GetMappingRule", |
| 1146 |
"service": { |
| 1147 |
"shortName": "DataMigrationService", |
| 1148 |
"fullName": "google.cloud.clouddms.v1.DataMigrationService" |
| 1149 |
} |
| 1150 |
} |
| 1151 |
}, |
| 1152 |
"origin": "API_DEFINITION", |
| 1153 |
"segments": [ |
| 1154 |
{ |
| 1155 |
"start": 18, |
| 1156 |
"end": 53, |
| 1157 |
"type": "FULL" |
| 1158 |
} |
| 1159 |
] |
| 1160 |
}, |
| 1161 |
{ |
| 1162 |
"regionTag": "datamigration_v1_generated_DataMigrationService_GetMigrationJob_sync", |
| 1163 |
"title": "datamigration GetMigrationJob Sample", |
| 1164 |
"description": "GetMigrationJob gets details of a single migration job.", |
| 1165 |
"file": "DataMigrationClient/GetMigrationJob/main.go", |
| 1166 |
"language": "GO", |
| 1167 |
"clientMethod": { |
| 1168 |
"shortName": "GetMigrationJob", |
| 1169 |
"fullName": "google.cloud.clouddms.v1.DataMigrationClient.GetMigrationJob", |
| 1170 |
"parameters": [ |
| 1171 |
{ |
| 1172 |
"type": "context.Context", |
| 1173 |
"name": "ctx" |
| 1174 |
}, |
| 1175 |
{ |
| 1176 |
"type": "clouddmspb.GetMigrationJobRequest", |
| 1177 |
"name": "req" |
| 1178 |
}, |
| 1179 |
{ |
| 1180 |
"type": "...gax.CallOption", |
| 1181 |
"name": "opts" |
| 1182 |
} |
| 1183 |
], |
| 1184 |
"resultType": "*clouddmspb.MigrationJob", |
| 1185 |
"client": { |
| 1186 |
"shortName": "DataMigrationClient", |
| 1187 |
"fullName": "google.cloud.clouddms.v1.DataMigrationClient" |
| 1188 |
}, |
| 1189 |
"method": { |
| 1190 |
"shortName": "GetMigrationJob", |
| 1191 |
"fullName": "google.cloud.clouddms.v1.DataMigrationService.GetMigrationJob", |
| 1192 |
"service": { |
| 1193 |
"shortName": "DataMigrationService", |
| 1194 |
"fullName": "google.cloud.clouddms.v1.DataMigrationService" |
| 1195 |
} |
| 1196 |
} |
| 1197 |
}, |
| 1198 |
"origin": "API_DEFINITION", |
| 1199 |
"segments": [ |
| 1200 |
{ |
| 1201 |
"start": 18, |
| 1202 |
"end": 53, |
| 1203 |
"type": "FULL" |
| 1204 |
} |
| 1205 |
] |
| 1206 |
}, |
| 1207 |
{ |
| 1208 |
"regionTag": "datamigration_v1_generated_DataMigrationService_GetOperation_sync", |
| 1209 |
"title": "datamigration GetOperation Sample", |
| 1210 |
"description": "GetOperation is a utility method from google.longrunning.Operations.", |
| 1211 |
"file": "DataMigrationClient/GetOperation/main.go", |
| 1212 |
"language": "GO", |
| 1213 |
"clientMethod": { |
| 1214 |
"shortName": "GetOperation", |
| 1215 |
"fullName": "google.cloud.clouddms.v1.DataMigrationClient.GetOperation", |
| 1216 |
"parameters": [ |
| 1217 |
{ |
| 1218 |
"type": "context.Context", |
| 1219 |
"name": "ctx" |
| 1220 |
}, |
| 1221 |
{ |
| 1222 |
"type": "longrunningpb.GetOperationRequest", |
| 1223 |
"name": "req" |
| 1224 |
}, |
| 1225 |
{ |
| 1226 |
"type": "...gax.CallOption", |
| 1227 |
"name": "opts" |
| 1228 |
} |
| 1229 |
], |
| 1230 |
"resultType": "*longrunningpb.Operation", |
| 1231 |
"client": { |
| 1232 |
"shortName": "DataMigrationClient", |
| 1233 |
"fullName": "google.cloud.clouddms.v1.DataMigrationClient" |
| 1234 |
}, |
| 1235 |
"method": { |
| 1236 |
"shortName": "GetOperation", |
| 1237 |
"fullName": "google.longrunning.Operations.GetOperation", |
| 1238 |
"service": { |
| 1239 |
"shortName": "Operations", |
| 1240 |
"fullName": "google.longrunning.Operations" |
| 1241 |
} |
| 1242 |
} |
| 1243 |
}, |
| 1244 |
"origin": "API_DEFINITION", |
| 1245 |
"segments": [ |
| 1246 |
{ |
| 1247 |
"start": 18, |
| 1248 |
"end": 53, |
| 1249 |
"type": "FULL" |
| 1250 |
} |
| 1251 |
] |
| 1252 |
}, |
| 1253 |
{ |
| 1254 |
"regionTag": "datamigration_v1_generated_DataMigrationService_GetPrivateConnection_sync", |
| 1255 |
"title": "datamigration GetPrivateConnection Sample", |
| 1256 |
"description": "GetPrivateConnection gets details of a single private connection.", |
| 1257 |
"file": "DataMigrationClient/GetPrivateConnection/main.go", |
| 1258 |
"language": "GO", |
| 1259 |
"clientMethod": { |
| 1260 |
"shortName": "GetPrivateConnection", |
| 1261 |
"fullName": "google.cloud.clouddms.v1.DataMigrationClient.GetPrivateConnection", |
| 1262 |
"parameters": [ |
| 1263 |
{ |
| 1264 |
"type": "context.Context", |
| 1265 |
"name": "ctx" |
| 1266 |
}, |
| 1267 |
{ |
| 1268 |
"type": "clouddmspb.GetPrivateConnectionRequest", |
| 1269 |
"name": "req" |
| 1270 |
}, |
| 1271 |
{ |
| 1272 |
"type": "...gax.CallOption", |
| 1273 |
"name": "opts" |
| 1274 |
} |
| 1275 |
], |
| 1276 |
"resultType": "*clouddmspb.PrivateConnection", |
| 1277 |
"client": { |
| 1278 |
"shortName": "DataMigrationClient", |
| 1279 |
"fullName": "google.cloud.clouddms.v1.DataMigrationClient" |
| 1280 |
}, |
| 1281 |
"method": { |
| 1282 |
"shortName": "GetPrivateConnection", |
| 1283 |
"fullName": "google.cloud.clouddms.v1.DataMigrationService.GetPrivateConnection", |
| 1284 |
"service": { |
| 1285 |
"shortName": "DataMigrationService", |
| 1286 |
"fullName": "google.cloud.clouddms.v1.DataMigrationService" |
| 1287 |
} |
| 1288 |
} |
| 1289 |
}, |
| 1290 |
"origin": "API_DEFINITION", |
| 1291 |
"segments": [ |
| 1292 |
{ |
| 1293 |
"start": 18, |
| 1294 |
"end": 53, |
| 1295 |
"type": "FULL" |
| 1296 |
} |
| 1297 |
] |
| 1298 |
}, |
| 1299 |
{ |
| 1300 |
"regionTag": "datamigration_v1_generated_DataMigrationService_ImportMappingRules_sync", |
| 1301 |
"title": "datamigration ImportMappingRules Sample", |
| 1302 |
"description": "ImportMappingRules imports the mapping rules for a given conversion workspace.\nSupports various formats of external rules files.", |
| 1303 |
"file": "DataMigrationClient/ImportMappingRules/main.go", |
| 1304 |
"language": "GO", |
| 1305 |
"clientMethod": { |
| 1306 |
"shortName": "ImportMappingRules", |
| 1307 |
"fullName": "google.cloud.clouddms.v1.DataMigrationClient.ImportMappingRules", |
| 1308 |
"parameters": [ |
| 1309 |
{ |
| 1310 |
"type": "context.Context", |
| 1311 |
"name": "ctx" |
| 1312 |
}, |
| 1313 |
{ |
| 1314 |
"type": "clouddmspb.ImportMappingRulesRequest", |
| 1315 |
"name": "req" |
| 1316 |
}, |
| 1317 |
{ |
| 1318 |
"type": "...gax.CallOption", |
| 1319 |
"name": "opts" |
| 1320 |
} |
| 1321 |
], |
| 1322 |
"resultType": "ImportMappingRulesOperation", |
| 1323 |
"client": { |
| 1324 |
"shortName": "DataMigrationClient", |
| 1325 |
"fullName": "google.cloud.clouddms.v1.DataMigrationClient" |
| 1326 |
}, |
| 1327 |
"method": { |
| 1328 |
"shortName": "ImportMappingRules", |
| 1329 |
"fullName": "google.cloud.clouddms.v1.DataMigrationService.ImportMappingRules", |
| 1330 |
"service": { |
| 1331 |
"shortName": "DataMigrationService", |
| 1332 |
"fullName": "google.cloud.clouddms.v1.DataMigrationService" |
| 1333 |
} |
| 1334 |
} |
| 1335 |
}, |
| 1336 |
"origin": "API_DEFINITION", |
| 1337 |
"segments": [ |
| 1338 |
{ |
| 1339 |
"start": 18, |
| 1340 |
"end": 58, |
| 1341 |
"type": "FULL" |
| 1342 |
} |
| 1343 |
] |
| 1344 |
}, |
| 1345 |
{ |
| 1346 |
"regionTag": "datamigration_v1_generated_DataMigrationService_ListConnectionProfiles_sync", |
| 1347 |
"title": "datamigration ListConnectionProfiles Sample", |
| 1348 |
"description": "ListConnectionProfiles retrieves a list of all connection profiles in a given project and\nlocation.", |
| 1349 |
"file": "DataMigrationClient/ListConnectionProfiles/main.go", |
| 1350 |
"language": "GO", |
| 1351 |
"clientMethod": { |
| 1352 |
"shortName": "ListConnectionProfiles", |
| 1353 |
"fullName": "google.cloud.clouddms.v1.DataMigrationClient.ListConnectionProfiles", |
| 1354 |
"parameters": [ |
| 1355 |
{ |
| 1356 |
"type": "context.Context", |
| 1357 |
"name": "ctx" |
| 1358 |
}, |
| 1359 |
{ |
| 1360 |
"type": "clouddmspb.ListConnectionProfilesRequest", |
| 1361 |
"name": "req" |
| 1362 |
}, |
| 1363 |
{ |
| 1364 |
"type": "...gax.CallOption", |
| 1365 |
"name": "opts" |
| 1366 |
} |
| 1367 |
], |
| 1368 |
"resultType": "ConnectionProfileIterator", |
| 1369 |
"client": { |
| 1370 |
"shortName": "DataMigrationClient", |
| 1371 |
"fullName": "google.cloud.clouddms.v1.DataMigrationClient" |
| 1372 |
}, |
| 1373 |
"method": { |
| 1374 |
"shortName": "ListConnectionProfiles", |
| 1375 |
"fullName": "google.cloud.clouddms.v1.DataMigrationService.ListConnectionProfiles", |
| 1376 |
"service": { |
| 1377 |
"shortName": "DataMigrationService", |
| 1378 |
"fullName": "google.cloud.clouddms.v1.DataMigrationService" |
| 1379 |
} |
| 1380 |
} |
| 1381 |
}, |
| 1382 |
"origin": "API_DEFINITION", |
| 1383 |
"segments": [ |
| 1384 |
{ |
| 1385 |
"start": 18, |
| 1386 |
"end": 66, |
| 1387 |
"type": "FULL" |
| 1388 |
} |
| 1389 |
] |
| 1390 |
}, |
| 1391 |
{ |
| 1392 |
"regionTag": "datamigration_v1_generated_DataMigrationService_ListConversionWorkspaces_sync", |
| 1393 |
"title": "datamigration ListConversionWorkspaces Sample", |
| 1394 |
"description": "ListConversionWorkspaces lists conversion workspaces in a given project and location.", |
| 1395 |
"file": "DataMigrationClient/ListConversionWorkspaces/main.go", |
| 1396 |
"language": "GO", |
| 1397 |
"clientMethod": { |
| 1398 |
"shortName": "ListConversionWorkspaces", |
| 1399 |
"fullName": "google.cloud.clouddms.v1.DataMigrationClient.ListConversionWorkspaces", |
| 1400 |
"parameters": [ |
| 1401 |
{ |
| 1402 |
"type": "context.Context", |
| 1403 |
"name": "ctx" |
| 1404 |
}, |
| 1405 |
{ |
| 1406 |
"type": "clouddmspb.ListConversionWorkspacesRequest", |
| 1407 |
"name": "req" |
| 1408 |
}, |
| 1409 |
{ |
| 1410 |
"type": "...gax.CallOption", |
| 1411 |
"name": "opts" |
| 1412 |
} |
| 1413 |
], |
| 1414 |
"resultType": "ConversionWorkspaceIterator", |
| 1415 |
"client": { |
| 1416 |
"shortName": "DataMigrationClient", |
| 1417 |
"fullName": "google.cloud.clouddms.v1.DataMigrationClient" |
| 1418 |
}, |
| 1419 |
"method": { |
| 1420 |
"shortName": "ListConversionWorkspaces", |
| 1421 |
"fullName": "google.cloud.clouddms.v1.DataMigrationService.ListConversionWorkspaces", |
| 1422 |
"service": { |
| 1423 |
"shortName": "DataMigrationService", |
| 1424 |
"fullName": "google.cloud.clouddms.v1.DataMigrationService" |
| 1425 |
} |
| 1426 |
} |
| 1427 |
}, |
| 1428 |
"origin": "API_DEFINITION", |
| 1429 |
"segments": [ |
| 1430 |
{ |
| 1431 |
"start": 18, |
| 1432 |
"end": 66, |
| 1433 |
"type": "FULL" |
| 1434 |
} |
| 1435 |
] |
| 1436 |
}, |
| 1437 |
{ |
| 1438 |
"regionTag": "datamigration_v1_generated_DataMigrationService_ListLocations_sync", |
| 1439 |
"title": "datamigration ListLocations Sample", |
| 1440 |
"description": "ListLocations lists information about the supported locations for this service.", |
| 1441 |
"file": "DataMigrationClient/ListLocations/main.go", |
| 1442 |
"language": "GO", |
| 1443 |
"clientMethod": { |
| 1444 |
"shortName": "ListLocations", |
| 1445 |
"fullName": "google.cloud.clouddms.v1.DataMigrationClient.ListLocations", |
| 1446 |
"parameters": [ |
| 1447 |
{ |
| 1448 |
"type": "context.Context", |
| 1449 |
"name": "ctx" |
| 1450 |
}, |
| 1451 |
{ |
| 1452 |
"type": "locationpb.ListLocationsRequest", |
| 1453 |
"name": "req" |
| 1454 |
}, |
| 1455 |
{ |
| 1456 |
"type": "...gax.CallOption", |
| 1457 |
"name": "opts" |
| 1458 |
} |
| 1459 |
], |
| 1460 |
"resultType": "LocationIterator", |
| 1461 |
"client": { |
| 1462 |
"shortName": "DataMigrationClient", |
| 1463 |
"fullName": "google.cloud.clouddms.v1.DataMigrationClient" |
| 1464 |
}, |
| 1465 |
"method": { |
| 1466 |
"shortName": "ListLocations", |
| 1467 |
"fullName": "google.cloud.location.Locations.ListLocations", |
| 1468 |
"service": { |
| 1469 |
"shortName": "Locations", |
| 1470 |
"fullName": "google.cloud.location.Locations" |
| 1471 |
} |
| 1472 |
} |
| 1473 |
}, |
| 1474 |
"origin": "API_DEFINITION", |
| 1475 |
"segments": [ |
| 1476 |
{ |
| 1477 |
"start": 18, |
| 1478 |
"end": 66, |
| 1479 |
"type": "FULL" |
| 1480 |
} |
| 1481 |
] |
| 1482 |
}, |
| 1483 |
{ |
| 1484 |
"regionTag": "datamigration_v1_generated_DataMigrationService_ListMappingRules_sync", |
| 1485 |
"title": "datamigration ListMappingRules Sample", |
| 1486 |
"description": "ListMappingRules lists the mapping rules for a specific conversion workspace.", |
| 1487 |
"file": "DataMigrationClient/ListMappingRules/main.go", |
| 1488 |
"language": "GO", |
| 1489 |
"clientMethod": { |
| 1490 |
"shortName": "ListMappingRules", |
| 1491 |
"fullName": "google.cloud.clouddms.v1.DataMigrationClient.ListMappingRules", |
| 1492 |
"parameters": [ |
| 1493 |
{ |
| 1494 |
"type": "context.Context", |
| 1495 |
"name": "ctx" |
| 1496 |
}, |
| 1497 |
{ |
| 1498 |
"type": "clouddmspb.ListMappingRulesRequest", |
| 1499 |
"name": "req" |
| 1500 |
}, |
| 1501 |
{ |
| 1502 |
"type": "...gax.CallOption", |
| 1503 |
"name": "opts" |
| 1504 |
} |
| 1505 |
], |
| 1506 |
"resultType": "MappingRuleIterator", |
| 1507 |
"client": { |
| 1508 |
"shortName": "DataMigrationClient", |
| 1509 |
"fullName": "google.cloud.clouddms.v1.DataMigrationClient" |
| 1510 |
}, |
| 1511 |
"method": { |
| 1512 |
"shortName": "ListMappingRules", |
| 1513 |
"fullName": "google.cloud.clouddms.v1.DataMigrationService.ListMappingRules", |
| 1514 |
"service": { |
| 1515 |
"shortName": "DataMigrationService", |
| 1516 |
"fullName": "google.cloud.clouddms.v1.DataMigrationService" |
| 1517 |
} |
| 1518 |
} |
| 1519 |
}, |
| 1520 |
"origin": "API_DEFINITION", |
| 1521 |
"segments": [ |
| 1522 |
{ |
| 1523 |
"start": 18, |
| 1524 |
"end": 66, |
| 1525 |
"type": "FULL" |
| 1526 |
} |
| 1527 |
] |
| 1528 |
}, |
| 1529 |
{ |
| 1530 |
"regionTag": "datamigration_v1_generated_DataMigrationService_ListMigrationJobs_sync", |
| 1531 |
"title": "datamigration ListMigrationJobs Sample", |
| 1532 |
"description": "ListMigrationJobs lists migration jobs in a given project and location.", |
| 1533 |
"file": "DataMigrationClient/ListMigrationJobs/main.go", |
| 1534 |
"language": "GO", |
| 1535 |
"clientMethod": { |
| 1536 |
"shortName": "ListMigrationJobs", |
| 1537 |
"fullName": "google.cloud.clouddms.v1.DataMigrationClient.ListMigrationJobs", |
| 1538 |
"parameters": [ |
| 1539 |
{ |
| 1540 |
"type": "context.Context", |
| 1541 |
"name": "ctx" |
| 1542 |
}, |
| 1543 |
{ |
| 1544 |
"type": "clouddmspb.ListMigrationJobsRequest", |
| 1545 |
"name": "req" |
| 1546 |
}, |
| 1547 |
{ |
| 1548 |
"type": "...gax.CallOption", |
| 1549 |
"name": "opts" |
| 1550 |
} |
| 1551 |
], |
| 1552 |
"resultType": "MigrationJobIterator", |
| 1553 |
"client": { |
| 1554 |
"shortName": "DataMigrationClient", |
| 1555 |
"fullName": "google.cloud.clouddms.v1.DataMigrationClient" |
| 1556 |
}, |
| 1557 |
"method": { |
| 1558 |
"shortName": "ListMigrationJobs", |
| 1559 |
"fullName": "google.cloud.clouddms.v1.DataMigrationService.ListMigrationJobs", |
| 1560 |
"service": { |
| 1561 |
"shortName": "DataMigrationService", |
| 1562 |
"fullName": "google.cloud.clouddms.v1.DataMigrationService" |
| 1563 |
} |
| 1564 |
} |
| 1565 |
}, |
| 1566 |
"origin": "API_DEFINITION", |
| 1567 |
"segments": [ |
| 1568 |
{ |
| 1569 |
"start": 18, |
| 1570 |
"end": 66, |
| 1571 |
"type": "FULL" |
| 1572 |
} |
| 1573 |
] |
| 1574 |
}, |
| 1575 |
{ |
| 1576 |
"regionTag": "datamigration_v1_generated_DataMigrationService_ListOperations_sync", |
| 1577 |
"title": "datamigration ListOperations Sample", |
| 1578 |
"description": "ListOperations is a utility method from google.longrunning.Operations.", |
| 1579 |
"file": "DataMigrationClient/ListOperations/main.go", |
| 1580 |
"language": "GO", |
| 1581 |
"clientMethod": { |
| 1582 |
"shortName": "ListOperations", |
| 1583 |
"fullName": "google.cloud.clouddms.v1.DataMigrationClient.ListOperations", |
| 1584 |
"parameters": [ |
| 1585 |
{ |
| 1586 |
"type": "context.Context", |
| 1587 |
"name": "ctx" |
| 1588 |
}, |
| 1589 |
{ |
| 1590 |
"type": "longrunningpb.ListOperationsRequest", |
| 1591 |
"name": "req" |
| 1592 |
}, |
| 1593 |
{ |
| 1594 |
"type": "...gax.CallOption", |
| 1595 |
"name": "opts" |
| 1596 |
} |
| 1597 |
], |
| 1598 |
"resultType": "OperationIterator", |
| 1599 |
"client": { |
| 1600 |
"shortName": "DataMigrationClient", |
| 1601 |
"fullName": "google.cloud.clouddms.v1.DataMigrationClient" |
| 1602 |
}, |
| 1603 |
"method": { |
| 1604 |
"shortName": "ListOperations", |
| 1605 |
"fullName": "google.longrunning.Operations.ListOperations", |
| 1606 |
"service": { |
| 1607 |
"shortName": "Operations", |
| 1608 |
"fullName": "google.longrunning.Operations" |
| 1609 |
} |
| 1610 |
} |
| 1611 |
}, |
| 1612 |
"origin": "API_DEFINITION", |
| 1613 |
"segments": [ |
| 1614 |
{ |
| 1615 |
"start": 18, |
| 1616 |
"end": 66, |
| 1617 |
"type": "FULL" |
| 1618 |
} |
| 1619 |
] |
| 1620 |
}, |
| 1621 |
{ |
| 1622 |
"regionTag": "datamigration_v1_generated_DataMigrationService_ListPrivateConnections_sync", |
| 1623 |
"title": "datamigration ListPrivateConnections Sample", |
| 1624 |
"description": "ListPrivateConnections retrieves a list of private connections in a given project and location.", |
| 1625 |
"file": "DataMigrationClient/ListPrivateConnections/main.go", |
| 1626 |
"language": "GO", |
| 1627 |
"clientMethod": { |
| 1628 |
"shortName": "ListPrivateConnections", |
| 1629 |
"fullName": "google.cloud.clouddms.v1.DataMigrationClient.ListPrivateConnections", |
| 1630 |
"parameters": [ |
| 1631 |
{ |
| 1632 |
"type": "context.Context", |
| 1633 |
"name": "ctx" |
| 1634 |
}, |
| 1635 |
{ |
| 1636 |
"type": "clouddmspb.ListPrivateConnectionsRequest", |
| 1637 |
"name": "req" |
| 1638 |
}, |
| 1639 |
{ |
| 1640 |
"type": "...gax.CallOption", |
| 1641 |
"name": "opts" |
| 1642 |
} |
| 1643 |
], |
| 1644 |
"resultType": "PrivateConnectionIterator", |
| 1645 |
"client": { |
| 1646 |
"shortName": "DataMigrationClient", |
| 1647 |
"fullName": "google.cloud.clouddms.v1.DataMigrationClient" |
| 1648 |
}, |
| 1649 |
"method": { |
| 1650 |
"shortName": "ListPrivateConnections", |
| 1651 |
"fullName": "google.cloud.clouddms.v1.DataMigrationService.ListPrivateConnections", |
| 1652 |
"service": { |
| 1653 |
"shortName": "DataMigrationService", |
| 1654 |
"fullName": "google.cloud.clouddms.v1.DataMigrationService" |
| 1655 |
} |
| 1656 |
} |
| 1657 |
}, |
| 1658 |
"origin": "API_DEFINITION", |
| 1659 |
"segments": [ |
| 1660 |
{ |
| 1661 |
"start": 18, |
| 1662 |
"end": 66, |
| 1663 |
"type": "FULL" |
| 1664 |
} |
| 1665 |
] |
| 1666 |
}, |
| 1667 |
{ |
| 1668 |
"regionTag": "datamigration_v1_generated_DataMigrationService_PromoteMigrationJob_sync", |
| 1669 |
"title": "datamigration PromoteMigrationJob Sample", |
| 1670 |
"description": "PromoteMigrationJob promote a migration job, stopping replication to the destination and\npromoting the destination to be a standalone database.", |
| 1671 |
"file": "DataMigrationClient/PromoteMigrationJob/main.go", |
| 1672 |
"language": "GO", |
| 1673 |
"clientMethod": { |
| 1674 |
"shortName": "PromoteMigrationJob", |
| 1675 |
"fullName": "google.cloud.clouddms.v1.DataMigrationClient.PromoteMigrationJob", |
| 1676 |
"parameters": [ |
| 1677 |
{ |
| 1678 |
"type": "context.Context", |
| 1679 |
"name": "ctx" |
| 1680 |
}, |
| 1681 |
{ |
| 1682 |
"type": "clouddmspb.PromoteMigrationJobRequest", |
| 1683 |
"name": "req" |
| 1684 |
}, |
| 1685 |
{ |
| 1686 |
"type": "...gax.CallOption", |
| 1687 |
"name": "opts" |
| 1688 |
} |
| 1689 |
], |
| 1690 |
"resultType": "PromoteMigrationJobOperation", |
| 1691 |
"client": { |
| 1692 |
"shortName": "DataMigrationClient", |
| 1693 |
"fullName": "google.cloud.clouddms.v1.DataMigrationClient" |
| 1694 |
}, |
| 1695 |
"method": { |
| 1696 |
"shortName": "PromoteMigrationJob", |
| 1697 |
"fullName": "google.cloud.clouddms.v1.DataMigrationService.PromoteMigrationJob", |
| 1698 |
"service": { |
| 1699 |
"shortName": "DataMigrationService", |
| 1700 |
"fullName": "google.cloud.clouddms.v1.DataMigrationService" |
| 1701 |
} |
| 1702 |
} |
| 1703 |
}, |
| 1704 |
"origin": "API_DEFINITION", |
| 1705 |
"segments": [ |
| 1706 |
{ |
| 1707 |
"start": 18, |
| 1708 |
"end": 58, |
| 1709 |
"type": "FULL" |
| 1710 |
} |
| 1711 |
] |
| 1712 |
}, |
| 1713 |
{ |
| 1714 |
"regionTag": "datamigration_v1_generated_DataMigrationService_RestartMigrationJob_sync", |
| 1715 |
"title": "datamigration RestartMigrationJob Sample", |
| 1716 |
"description": "RestartMigrationJob restart a stopped or failed migration job, resetting the destination\ninstance to its original state and starting the migration process from\nscratch.", |
| 1717 |
"file": "DataMigrationClient/RestartMigrationJob/main.go", |
| 1718 |
"language": "GO", |
| 1719 |
"clientMethod": { |
| 1720 |
"shortName": "RestartMigrationJob", |
| 1721 |
"fullName": "google.cloud.clouddms.v1.DataMigrationClient.RestartMigrationJob", |
| 1722 |
"parameters": [ |
| 1723 |
{ |
| 1724 |
"type": "context.Context", |
| 1725 |
"name": "ctx" |
| 1726 |
}, |
| 1727 |
{ |
| 1728 |
"type": "clouddmspb.RestartMigrationJobRequest", |
| 1729 |
"name": "req" |
| 1730 |
}, |
| 1731 |
{ |
| 1732 |
"type": "...gax.CallOption", |
| 1733 |
"name": "opts" |
| 1734 |
} |
| 1735 |
], |
| 1736 |
"resultType": "RestartMigrationJobOperation", |
| 1737 |
"client": { |
| 1738 |
"shortName": "DataMigrationClient", |
| 1739 |
"fullName": "google.cloud.clouddms.v1.DataMigrationClient" |
| 1740 |
}, |
| 1741 |
"method": { |
| 1742 |
"shortName": "RestartMigrationJob", |
| 1743 |
"fullName": "google.cloud.clouddms.v1.DataMigrationService.RestartMigrationJob", |
| 1744 |
"service": { |
| 1745 |
"shortName": "DataMigrationService", |
| 1746 |
"fullName": "google.cloud.clouddms.v1.DataMigrationService" |
| 1747 |
} |
| 1748 |
} |
| 1749 |
}, |
| 1750 |
"origin": "API_DEFINITION", |
| 1751 |
"segments": [ |
| 1752 |
{ |
| 1753 |
"start": 18, |
| 1754 |
"end": 58, |
| 1755 |
"type": "FULL" |
| 1756 |
} |
| 1757 |
] |
| 1758 |
}, |
| 1759 |
{ |
| 1760 |
"regionTag": "datamigration_v1_generated_DataMigrationService_ResumeMigrationJob_sync", |
| 1761 |
"title": "datamigration ResumeMigrationJob Sample", |
| 1762 |
"description": "ResumeMigrationJob resume a migration job that is currently stopped and is resumable (was\nstopped during CDC phase).", |
| 1763 |
"file": "DataMigrationClient/ResumeMigrationJob/main.go", |
| 1764 |
"language": "GO", |
| 1765 |
"clientMethod": { |
| 1766 |
"shortName": "ResumeMigrationJob", |
| 1767 |
"fullName": "google.cloud.clouddms.v1.DataMigrationClient.ResumeMigrationJob", |
| 1768 |
"parameters": [ |
| 1769 |
{ |
| 1770 |
"type": "context.Context", |
| 1771 |
"name": "ctx" |
| 1772 |
}, |
| 1773 |
{ |
| 1774 |
"type": "clouddmspb.ResumeMigrationJobRequest", |
| 1775 |
"name": "req" |
| 1776 |
}, |
| 1777 |
{ |
| 1778 |
"type": "...gax.CallOption", |
| 1779 |
"name": "opts" |
| 1780 |
} |
| 1781 |
], |
| 1782 |
"resultType": "ResumeMigrationJobOperation", |
| 1783 |
"client": { |
| 1784 |
"shortName": "DataMigrationClient", |
| 1785 |
"fullName": "google.cloud.clouddms.v1.DataMigrationClient" |
| 1786 |
}, |
| 1787 |
"method": { |
| 1788 |
"shortName": "ResumeMigrationJob", |
| 1789 |
"fullName": "google.cloud.clouddms.v1.DataMigrationService.ResumeMigrationJob", |
| 1790 |
"service": { |
| 1791 |
"shortName": "DataMigrationService", |
| 1792 |
"fullName": "google.cloud.clouddms.v1.DataMigrationService" |
| 1793 |
} |
| 1794 |
} |
| 1795 |
}, |
| 1796 |
"origin": "API_DEFINITION", |
| 1797 |
"segments": [ |
| 1798 |
{ |
| 1799 |
"start": 18, |
| 1800 |
"end": 58, |
| 1801 |
"type": "FULL" |
| 1802 |
} |
| 1803 |
] |
| 1804 |
}, |
| 1805 |
{ |
| 1806 |
"regionTag": "datamigration_v1_generated_DataMigrationService_RollbackConversionWorkspace_sync", |
| 1807 |
"title": "datamigration RollbackConversionWorkspace Sample", |
| 1808 |
"description": "RollbackConversionWorkspace rolls back a conversion workspace to the last committed snapshot.", |
| 1809 |
"file": "DataMigrationClient/RollbackConversionWorkspace/main.go", |
| 1810 |
"language": "GO", |
| 1811 |
"clientMethod": { |
| 1812 |
"shortName": "RollbackConversionWorkspace", |
| 1813 |
"fullName": "google.cloud.clouddms.v1.DataMigrationClient.RollbackConversionWorkspace", |
| 1814 |
"parameters": [ |
| 1815 |
{ |
| 1816 |
"type": "context.Context", |
| 1817 |
"name": "ctx" |
| 1818 |
}, |
| 1819 |
{ |
| 1820 |
"type": "clouddmspb.RollbackConversionWorkspaceRequest", |
| 1821 |
"name": "req" |
| 1822 |
}, |
| 1823 |
{ |
| 1824 |
"type": "...gax.CallOption", |
| 1825 |
"name": "opts" |
| 1826 |
} |
| 1827 |
], |
| 1828 |
"resultType": "RollbackConversionWorkspaceOperation", |
| 1829 |
"client": { |
| 1830 |
"shortName": "DataMigrationClient", |
| 1831 |
"fullName": "google.cloud.clouddms.v1.DataMigrationClient" |
| 1832 |
}, |
| 1833 |
"method": { |
| 1834 |
"shortName": "RollbackConversionWorkspace", |
| 1835 |
"fullName": "google.cloud.clouddms.v1.DataMigrationService.RollbackConversionWorkspace", |
| 1836 |
"service": { |
| 1837 |
"shortName": "DataMigrationService", |
| 1838 |
"fullName": "google.cloud.clouddms.v1.DataMigrationService" |
| 1839 |
} |
| 1840 |
} |
| 1841 |
}, |
| 1842 |
"origin": "API_DEFINITION", |
| 1843 |
"segments": [ |
| 1844 |
{ |
| 1845 |
"start": 18, |
| 1846 |
"end": 58, |
| 1847 |
"type": "FULL" |
| 1848 |
} |
| 1849 |
] |
| 1850 |
}, |
| 1851 |
{ |
| 1852 |
"regionTag": "datamigration_v1_generated_DataMigrationService_SearchBackgroundJobs_sync", |
| 1853 |
"title": "datamigration SearchBackgroundJobs Sample", |
| 1854 |
"description": "SearchBackgroundJobs searches/lists the background jobs for a specific\nconversion workspace.\n\nThe background jobs are not resources like conversion workspaces or\nmapping rules, and they can't be created, updated or deleted.\nInstead, they are a way to expose the data plane jobs log.", |
| 1855 |
"file": "DataMigrationClient/SearchBackgroundJobs/main.go", |
| 1856 |
"language": "GO", |
| 1857 |
"clientMethod": { |
| 1858 |
"shortName": "SearchBackgroundJobs", |
| 1859 |
"fullName": "google.cloud.clouddms.v1.DataMigrationClient.SearchBackgroundJobs", |
| 1860 |
"parameters": [ |
| 1861 |
{ |
| 1862 |
"type": "context.Context", |
| 1863 |
"name": "ctx" |
| 1864 |
}, |
| 1865 |
{ |
| 1866 |
"type": "clouddmspb.SearchBackgroundJobsRequest", |
| 1867 |
"name": "req" |
| 1868 |
}, |
| 1869 |
{ |
| 1870 |
"type": "...gax.CallOption", |
| 1871 |
"name": "opts" |
| 1872 |
} |
| 1873 |
], |
| 1874 |
"resultType": "*clouddmspb.SearchBackgroundJobsResponse", |
| 1875 |
"client": { |
| 1876 |
"shortName": "DataMigrationClient", |
| 1877 |
"fullName": "google.cloud.clouddms.v1.DataMigrationClient" |
| 1878 |
}, |
| 1879 |
"method": { |
| 1880 |
"shortName": "SearchBackgroundJobs", |
| 1881 |
"fullName": "google.cloud.clouddms.v1.DataMigrationService.SearchBackgroundJobs", |
| 1882 |
"service": { |
| 1883 |
"shortName": "DataMigrationService", |
| 1884 |
"fullName": "google.cloud.clouddms.v1.DataMigrationService" |
| 1885 |
} |
| 1886 |
} |
| 1887 |
}, |
| 1888 |
"origin": "API_DEFINITION", |
| 1889 |
"segments": [ |
| 1890 |
{ |
| 1891 |
"start": 18, |
| 1892 |
"end": 53, |
| 1893 |
"type": "FULL" |
| 1894 |
} |
| 1895 |
] |
| 1896 |
}, |
| 1897 |
{ |
| 1898 |
"regionTag": "datamigration_v1_generated_DataMigrationService_SeedConversionWorkspace_sync", |
| 1899 |
"title": "datamigration SeedConversionWorkspace Sample", |
| 1900 |
"description": "SeedConversionWorkspace imports a snapshot of the source database into the\nconversion workspace.", |
| 1901 |
"file": "DataMigrationClient/SeedConversionWorkspace/main.go", |
| 1902 |
"language": "GO", |
| 1903 |
"clientMethod": { |
| 1904 |
"shortName": "SeedConversionWorkspace", |
| 1905 |
"fullName": "google.cloud.clouddms.v1.DataMigrationClient.SeedConversionWorkspace", |
| 1906 |
"parameters": [ |
| 1907 |
{ |
| 1908 |
"type": "context.Context", |
| 1909 |
"name": "ctx" |
| 1910 |
}, |
| 1911 |
{ |
| 1912 |
"type": "clouddmspb.SeedConversionWorkspaceRequest", |
| 1913 |
"name": "req" |
| 1914 |
}, |
| 1915 |
{ |
| 1916 |
"type": "...gax.CallOption", |
| 1917 |
"name": "opts" |
| 1918 |
} |
| 1919 |
], |
| 1920 |
"resultType": "SeedConversionWorkspaceOperation", |
| 1921 |
"client": { |
| 1922 |
"shortName": "DataMigrationClient", |
| 1923 |
"fullName": "google.cloud.clouddms.v1.DataMigrationClient" |
| 1924 |
}, |
| 1925 |
"method": { |
| 1926 |
"shortName": "SeedConversionWorkspace", |
| 1927 |
"fullName": "google.cloud.clouddms.v1.DataMigrationService.SeedConversionWorkspace", |
| 1928 |
"service": { |
| 1929 |
"shortName": "DataMigrationService", |
| 1930 |
"fullName": "google.cloud.clouddms.v1.DataMigrationService" |
| 1931 |
} |
| 1932 |
} |
| 1933 |
}, |
| 1934 |
"origin": "API_DEFINITION", |
| 1935 |
"segments": [ |
| 1936 |
{ |
| 1937 |
"start": 18, |
| 1938 |
"end": 58, |
| 1939 |
"type": "FULL" |
| 1940 |
} |
| 1941 |
] |
| 1942 |
}, |
| 1943 |
{ |
| 1944 |
"regionTag": "datamigration_v1_generated_DataMigrationService_SetIamPolicy_sync", |
| 1945 |
"title": "datamigration SetIamPolicy Sample", |
| 1946 |
"description": "SetIamPolicy sets the access control policy on the specified resource. Replaces\nany existing policy.\n\nCan return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`\nerrors.", |
| 1947 |
"file": "DataMigrationClient/SetIamPolicy/main.go", |
| 1948 |
"language": "GO", |
| 1949 |
"clientMethod": { |
| 1950 |
"shortName": "SetIamPolicy", |
| 1951 |
"fullName": "google.cloud.clouddms.v1.DataMigrationClient.SetIamPolicy", |
| 1952 |
"parameters": [ |
| 1953 |
{ |
| 1954 |
"type": "context.Context", |
| 1955 |
"name": "ctx" |
| 1956 |
}, |
| 1957 |
{ |
| 1958 |
"type": "iampb.SetIamPolicyRequest", |
| 1959 |
"name": "req" |
| 1960 |
}, |
| 1961 |
{ |
| 1962 |
"type": "...gax.CallOption", |
| 1963 |
"name": "opts" |
| 1964 |
} |
| 1965 |
], |
| 1966 |
"resultType": "*iampb.Policy", |
| 1967 |
"client": { |
| 1968 |
"shortName": "DataMigrationClient", |
| 1969 |
"fullName": "google.cloud.clouddms.v1.DataMigrationClient" |
| 1970 |
}, |
| 1971 |
"method": { |
| 1972 |
"shortName": "SetIamPolicy", |
| 1973 |
"fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", |
| 1974 |
"service": { |
| 1975 |
"shortName": "IAMPolicy", |
| 1976 |
"fullName": "google.iam.v1.IAMPolicy" |
| 1977 |
} |
| 1978 |
} |
| 1979 |
}, |
| 1980 |
"origin": "API_DEFINITION", |
| 1981 |
"segments": [ |
| 1982 |
{ |
| 1983 |
"start": 18, |
| 1984 |
"end": 53, |
| 1985 |
"type": "FULL" |
| 1986 |
} |
| 1987 |
] |
| 1988 |
}, |
| 1989 |
{ |
| 1990 |
"regionTag": "datamigration_v1_generated_DataMigrationService_StartMigrationJob_sync", |
| 1991 |
"title": "datamigration StartMigrationJob Sample", |
| 1992 |
"description": "StartMigrationJob start an already created migration job.", |
| 1993 |
"file": "DataMigrationClient/StartMigrationJob/main.go", |
| 1994 |
"language": "GO", |
| 1995 |
"clientMethod": { |
| 1996 |
"shortName": "StartMigrationJob", |
| 1997 |
"fullName": "google.cloud.clouddms.v1.DataMigrationClient.StartMigrationJob", |
| 1998 |
"parameters": [ |
| 1999 |
{ |
| 2000 |
"type": "context.Context", |
| 2001 |
"name": "ctx" |
| 2002 |
}, |
| 2003 |
{ |
| 2004 |
"type": "clouddmspb.StartMigrationJobRequest", |
| 2005 |
"name": "req" |
| 2006 |
}, |
| 2007 |
{ |
| 2008 |
"type": "...gax.CallOption", |
| 2009 |
"name": "opts" |
| 2010 |
} |
| 2011 |
], |
| 2012 |
"resultType": "StartMigrationJobOperation", |
| 2013 |
"client": { |
| 2014 |
"shortName": "DataMigrationClient", |
| 2015 |
"fullName": "google.cloud.clouddms.v1.DataMigrationClient" |
| 2016 |
}, |
| 2017 |
"method": { |
| 2018 |
"shortName": "StartMigrationJob", |
| 2019 |
"fullName": "google.cloud.clouddms.v1.DataMigrationService.StartMigrationJob", |
| 2020 |
"service": { |
| 2021 |
"shortName": "DataMigrationService", |
| 2022 |
"fullName": "google.cloud.clouddms.v1.DataMigrationService" |
| 2023 |
} |
| 2024 |
} |
| 2025 |
}, |
| 2026 |
"origin": "API_DEFINITION", |
| 2027 |
"segments": [ |
| 2028 |
{ |
| 2029 |
"start": 18, |
| 2030 |
"end": 58, |
| 2031 |
"type": "FULL" |
| 2032 |
} |
| 2033 |
] |
| 2034 |
}, |
| 2035 |
{ |
| 2036 |
"regionTag": "datamigration_v1_generated_DataMigrationService_StopMigrationJob_sync", |
| 2037 |
"title": "datamigration StopMigrationJob Sample", |
| 2038 |
"description": "StopMigrationJob stops a running migration job.", |
| 2039 |
"file": "DataMigrationClient/StopMigrationJob/main.go", |
| 2040 |
"language": "GO", |
| 2041 |
"clientMethod": { |
| 2042 |
"shortName": "StopMigrationJob", |
| 2043 |
"fullName": "google.cloud.clouddms.v1.DataMigrationClient.StopMigrationJob", |
| 2044 |
"parameters": [ |
| 2045 |
{ |
| 2046 |
"type": "context.Context", |
| 2047 |
"name": "ctx" |
| 2048 |
}, |
| 2049 |
{ |
| 2050 |
"type": "clouddmspb.StopMigrationJobRequest", |
| 2051 |
"name": "req" |
| 2052 |
}, |
| 2053 |
{ |
| 2054 |
"type": "...gax.CallOption", |
| 2055 |
"name": "opts" |
| 2056 |
} |
| 2057 |
], |
| 2058 |
"resultType": "StopMigrationJobOperation", |
| 2059 |
"client": { |
| 2060 |
"shortName": "DataMigrationClient", |
| 2061 |
"fullName": "google.cloud.clouddms.v1.DataMigrationClient" |
| 2062 |
}, |
| 2063 |
"method": { |
| 2064 |
"shortName": "StopMigrationJob", |
| 2065 |
"fullName": "google.cloud.clouddms.v1.DataMigrationService.StopMigrationJob", |
| 2066 |
"service": { |
| 2067 |
"shortName": "DataMigrationService", |
| 2068 |
"fullName": "google.cloud.clouddms.v1.DataMigrationService" |
| 2069 |
} |
| 2070 |
} |
| 2071 |
}, |
| 2072 |
"origin": "API_DEFINITION", |
| 2073 |
"segments": [ |
| 2074 |
{ |
| 2075 |
"start": 18, |
| 2076 |
"end": 58, |
| 2077 |
"type": "FULL" |
| 2078 |
} |
| 2079 |
] |
| 2080 |
}, |
| 2081 |
{ |
| 2082 |
"regionTag": "datamigration_v1_generated_DataMigrationService_TestIamPermissions_sync", |
| 2083 |
"title": "datamigration TestIamPermissions Sample", |
| 2084 |
"description": "TestIamPermissions returns permissions that a caller has on the specified resource. If the\nresource does not exist, this will return an empty set of\npermissions, not a `NOT_FOUND` error.\n\nNote: This operation is designed to be used for building\npermission-aware UIs and command-line tools, not for authorization\nchecking. This operation may \"fail open\" without warning.", |
| 2085 |
"file": "DataMigrationClient/TestIamPermissions/main.go", |
| 2086 |
"language": "GO", |
| 2087 |
"clientMethod": { |
| 2088 |
"shortName": "TestIamPermissions", |
| 2089 |
"fullName": "google.cloud.clouddms.v1.DataMigrationClient.TestIamPermissions", |
| 2090 |
"parameters": [ |
| 2091 |
{ |
| 2092 |
"type": "context.Context", |
| 2093 |
"name": "ctx" |
| 2094 |
}, |
| 2095 |
{ |
| 2096 |
"type": "iampb.TestIamPermissionsRequest", |
| 2097 |
"name": "req" |
| 2098 |
}, |
| 2099 |
{ |
| 2100 |
"type": "...gax.CallOption", |
| 2101 |
"name": "opts" |
| 2102 |
} |
| 2103 |
], |
| 2104 |
"resultType": "*iampb.TestIamPermissionsResponse", |
| 2105 |
"client": { |
| 2106 |
"shortName": "DataMigrationClient", |
| 2107 |
"fullName": "google.cloud.clouddms.v1.DataMigrationClient" |
| 2108 |
}, |
| 2109 |
"method": { |
| 2110 |
"shortName": "TestIamPermissions", |
| 2111 |
"fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", |
| 2112 |
"service": { |
| 2113 |
"shortName": "IAMPolicy", |
| 2114 |
"fullName": "google.iam.v1.IAMPolicy" |
| 2115 |
} |
| 2116 |
} |
| 2117 |
}, |
| 2118 |
"origin": "API_DEFINITION", |
| 2119 |
"segments": [ |
| 2120 |
{ |
| 2121 |
"start": 18, |
| 2122 |
"end": 53, |
| 2123 |
"type": "FULL" |
| 2124 |
} |
| 2125 |
] |
| 2126 |
}, |
| 2127 |
{ |
| 2128 |
"regionTag": "datamigration_v1_generated_DataMigrationService_UpdateConnectionProfile_sync", |
| 2129 |
"title": "datamigration UpdateConnectionProfile Sample", |
| 2130 |
"description": "UpdateConnectionProfile update the configuration of a single connection profile.", |
| 2131 |
"file": "DataMigrationClient/UpdateConnectionProfile/main.go", |
| 2132 |
"language": "GO", |
| 2133 |
"clientMethod": { |
| 2134 |
"shortName": "UpdateConnectionProfile", |
| 2135 |
"fullName": "google.cloud.clouddms.v1.DataMigrationClient.UpdateConnectionProfile", |
| 2136 |
"parameters": [ |
| 2137 |
{ |
| 2138 |
"type": "context.Context", |
| 2139 |
"name": "ctx" |
| 2140 |
}, |
| 2141 |
{ |
| 2142 |
"type": "clouddmspb.UpdateConnectionProfileRequest", |
| 2143 |
"name": "req" |
| 2144 |
}, |
| 2145 |
{ |
| 2146 |
"type": "...gax.CallOption", |
| 2147 |
"name": "opts" |
| 2148 |
} |
| 2149 |
], |
| 2150 |
"resultType": "UpdateConnectionProfileOperation", |
| 2151 |
"client": { |
| 2152 |
"shortName": "DataMigrationClient", |
| 2153 |
"fullName": "google.cloud.clouddms.v1.DataMigrationClient" |
| 2154 |
}, |
| 2155 |
"method": { |
| 2156 |
"shortName": "UpdateConnectionProfile", |
| 2157 |
"fullName": "google.cloud.clouddms.v1.DataMigrationService.UpdateConnectionProfile", |
| 2158 |
"service": { |
| 2159 |
"shortName": "DataMigrationService", |
| 2160 |
"fullName": "google.cloud.clouddms.v1.DataMigrationService" |
| 2161 |
} |
| 2162 |
} |
| 2163 |
}, |
| 2164 |
"origin": "API_DEFINITION", |
| 2165 |
"segments": [ |
| 2166 |
{ |
| 2167 |
"start": 18, |
| 2168 |
"end": 58, |
| 2169 |
"type": "FULL" |
| 2170 |
} |
| 2171 |
] |
| 2172 |
}, |
| 2173 |
{ |
| 2174 |
"regionTag": "datamigration_v1_generated_DataMigrationService_UpdateConversionWorkspace_sync", |
| 2175 |
"title": "datamigration UpdateConversionWorkspace Sample", |
| 2176 |
"description": "UpdateConversionWorkspace updates the parameters of a single conversion workspace.", |
| 2177 |
"file": "DataMigrationClient/UpdateConversionWorkspace/main.go", |
| 2178 |
"language": "GO", |
| 2179 |
"clientMethod": { |
| 2180 |
"shortName": "UpdateConversionWorkspace", |
| 2181 |
"fullName": "google.cloud.clouddms.v1.DataMigrationClient.UpdateConversionWorkspace", |
| 2182 |
"parameters": [ |
| 2183 |
{ |
| 2184 |
"type": "context.Context", |
| 2185 |
"name": "ctx" |
| 2186 |
}, |
| 2187 |
{ |
| 2188 |
"type": "clouddmspb.UpdateConversionWorkspaceRequest", |
| 2189 |
"name": "req" |
| 2190 |
}, |
| 2191 |
{ |
| 2192 |
"type": "...gax.CallOption", |
| 2193 |
"name": "opts" |
| 2194 |
} |
| 2195 |
], |
| 2196 |
"resultType": "UpdateConversionWorkspaceOperation", |
| 2197 |
"client": { |
| 2198 |
"shortName": "DataMigrationClient", |
| 2199 |
"fullName": "google.cloud.clouddms.v1.DataMigrationClient" |
| 2200 |
}, |
| 2201 |
"method": { |
| 2202 |
"shortName": "UpdateConversionWorkspace", |
| 2203 |
"fullName": "google.cloud.clouddms.v1.DataMigrationService.UpdateConversionWorkspace", |
| 2204 |
"service": { |
| 2205 |
"shortName": "DataMigrationService", |
| 2206 |
"fullName": "google.cloud.clouddms.v1.DataMigrationService" |
| 2207 |
} |
| 2208 |
} |
| 2209 |
}, |
| 2210 |
"origin": "API_DEFINITION", |
| 2211 |
"segments": [ |
| 2212 |
{ |
| 2213 |
"start": 18, |
| 2214 |
"end": 58, |
| 2215 |
"type": "FULL" |
| 2216 |
} |
| 2217 |
] |
| 2218 |
}, |
| 2219 |
{ |
| 2220 |
"regionTag": "datamigration_v1_generated_DataMigrationService_UpdateMigrationJob_sync", |
| 2221 |
"title": "datamigration UpdateMigrationJob Sample", |
| 2222 |
"description": "UpdateMigrationJob updates the parameters of a single migration job.", |
| 2223 |
"file": "DataMigrationClient/UpdateMigrationJob/main.go", |
| 2224 |
"language": "GO", |
| 2225 |
"clientMethod": { |
| 2226 |
"shortName": "UpdateMigrationJob", |
| 2227 |
"fullName": "google.cloud.clouddms.v1.DataMigrationClient.UpdateMigrationJob", |
| 2228 |
"parameters": [ |
| 2229 |
{ |
| 2230 |
"type": "context.Context", |
| 2231 |
"name": "ctx" |
| 2232 |
}, |
| 2233 |
{ |
| 2234 |
"type": "clouddmspb.UpdateMigrationJobRequest", |
| 2235 |
"name": "req" |
| 2236 |
}, |
| 2237 |
{ |
| 2238 |
"type": "...gax.CallOption", |
| 2239 |
"name": "opts" |
| 2240 |
} |
| 2241 |
], |
| 2242 |
"resultType": "UpdateMigrationJobOperation", |
| 2243 |
"client": { |
| 2244 |
"shortName": "DataMigrationClient", |
| 2245 |
"fullName": "google.cloud.clouddms.v1.DataMigrationClient" |
| 2246 |
}, |
| 2247 |
"method": { |
| 2248 |
"shortName": "UpdateMigrationJob", |
| 2249 |
"fullName": "google.cloud.clouddms.v1.DataMigrationService.UpdateMigrationJob", |
| 2250 |
"service": { |
| 2251 |
"shortName": "DataMigrationService", |
| 2252 |
"fullName": "google.cloud.clouddms.v1.DataMigrationService" |
| 2253 |
} |
| 2254 |
} |
| 2255 |
}, |
| 2256 |
"origin": "API_DEFINITION", |
| 2257 |
"segments": [ |
| 2258 |
{ |
| 2259 |
"start": 18, |
| 2260 |
"end": 58, |
| 2261 |
"type": "FULL" |
| 2262 |
} |
| 2263 |
] |
| 2264 |
}, |
| 2265 |
{ |
| 2266 |
"regionTag": "datamigration_v1_generated_DataMigrationService_VerifyMigrationJob_sync", |
| 2267 |
"title": "datamigration VerifyMigrationJob Sample", |
| 2268 |
"description": "VerifyMigrationJob verify a migration job, making sure the destination can reach the source\nand that all configuration and prerequisites are met.", |
| 2269 |
"file": "DataMigrationClient/VerifyMigrationJob/main.go", |
| 2270 |
"language": "GO", |
| 2271 |
"clientMethod": { |
| 2272 |
"shortName": "VerifyMigrationJob", |
| 2273 |
"fullName": "google.cloud.clouddms.v1.DataMigrationClient.VerifyMigrationJob", |
| 2274 |
"parameters": [ |
| 2275 |
{ |
| 2276 |
"type": "context.Context", |
| 2277 |
"name": "ctx" |
| 2278 |
}, |
| 2279 |
{ |
| 2280 |
"type": "clouddmspb.VerifyMigrationJobRequest", |
| 2281 |
"name": "req" |
| 2282 |
}, |
| 2283 |
{ |
| 2284 |
"type": "...gax.CallOption", |
| 2285 |
"name": "opts" |
| 2286 |
} |
| 2287 |
], |
| 2288 |
"resultType": "VerifyMigrationJobOperation", |
| 2289 |
"client": { |
| 2290 |
"shortName": "DataMigrationClient", |
| 2291 |
"fullName": "google.cloud.clouddms.v1.DataMigrationClient" |
| 2292 |
}, |
| 2293 |
"method": { |
| 2294 |
"shortName": "VerifyMigrationJob", |
| 2295 |
"fullName": "google.cloud.clouddms.v1.DataMigrationService.VerifyMigrationJob", |
| 2296 |
"service": { |
| 2297 |
"shortName": "DataMigrationService", |
| 2298 |
"fullName": "google.cloud.clouddms.v1.DataMigrationService" |
| 2299 |
} |
| 2300 |
} |
| 2301 |
}, |
| 2302 |
"origin": "API_DEFINITION", |
| 2303 |
"segments": [ |
| 2304 |
{ |
| 2305 |
"start": 18, |
| 2306 |
"end": 58, |
| 2307 |
"type": "FULL" |
| 2308 |
} |
| 2309 |
] |
| 2310 |
} |
| 2311 |
] |
| 2312 |
} |