@google-cloud/dms 2.3.0 → 3.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -303,6 +303,22 @@
303
303
  }
304
304
  ]
305
305
  },
306
+ "GenerateTcpProxyScript": {
307
+ "requestType": "GenerateTcpProxyScriptRequest",
308
+ "responseType": "TcpProxyScript",
309
+ "options": {
310
+ "(google.api.http).post": "/v1/{migration_job=projects/*/locations/*/migrationJobs/*}:generateTcpProxyScript",
311
+ "(google.api.http).body": "*"
312
+ },
313
+ "parsedOptions": [
314
+ {
315
+ "(google.api.http)": {
316
+ "post": "/v1/{migration_job=projects/*/locations/*/migrationJobs/*}:generateTcpProxyScript",
317
+ "body": "*"
318
+ }
319
+ }
320
+ ]
321
+ },
306
322
  "ListConnectionProfiles": {
307
323
  "requestType": "ListConnectionProfilesRequest",
308
324
  "responseType": "ListConnectionProfilesResponse",
@@ -629,6 +645,80 @@
629
645
  }
630
646
  ]
631
647
  },
648
+ "CreateMappingRule": {
649
+ "requestType": "CreateMappingRuleRequest",
650
+ "responseType": "MappingRule",
651
+ "options": {
652
+ "(google.api.http).post": "/v1/{parent=projects/*/locations/*/conversionWorkspaces/*}/mappingRules",
653
+ "(google.api.http).body": "mapping_rule",
654
+ "(google.api.method_signature)": "parent,mapping_rule,mapping_rule_id"
655
+ },
656
+ "parsedOptions": [
657
+ {
658
+ "(google.api.http)": {
659
+ "post": "/v1/{parent=projects/*/locations/*/conversionWorkspaces/*}/mappingRules",
660
+ "body": "mapping_rule"
661
+ }
662
+ },
663
+ {
664
+ "(google.api.method_signature)": "parent,mapping_rule,mapping_rule_id"
665
+ }
666
+ ]
667
+ },
668
+ "DeleteMappingRule": {
669
+ "requestType": "DeleteMappingRuleRequest",
670
+ "responseType": "google.protobuf.Empty",
671
+ "options": {
672
+ "(google.api.http).delete": "/v1/{name=projects/*/locations/*/conversionWorkspaces/*/mappingRules/*}",
673
+ "(google.api.method_signature)": "name"
674
+ },
675
+ "parsedOptions": [
676
+ {
677
+ "(google.api.http)": {
678
+ "delete": "/v1/{name=projects/*/locations/*/conversionWorkspaces/*/mappingRules/*}"
679
+ }
680
+ },
681
+ {
682
+ "(google.api.method_signature)": "name"
683
+ }
684
+ ]
685
+ },
686
+ "ListMappingRules": {
687
+ "requestType": "ListMappingRulesRequest",
688
+ "responseType": "ListMappingRulesResponse",
689
+ "options": {
690
+ "(google.api.http).get": "/v1/{parent=projects/*/locations/*/conversionWorkspaces/*}/mappingRules",
691
+ "(google.api.method_signature)": "parent"
692
+ },
693
+ "parsedOptions": [
694
+ {
695
+ "(google.api.http)": {
696
+ "get": "/v1/{parent=projects/*/locations/*/conversionWorkspaces/*}/mappingRules"
697
+ }
698
+ },
699
+ {
700
+ "(google.api.method_signature)": "parent"
701
+ }
702
+ ]
703
+ },
704
+ "GetMappingRule": {
705
+ "requestType": "GetMappingRuleRequest",
706
+ "responseType": "MappingRule",
707
+ "options": {
708
+ "(google.api.http).get": "/v1/{name=projects/*/locations/*/conversionWorkspaces/*/mappingRules/*}",
709
+ "(google.api.method_signature)": "name"
710
+ },
711
+ "parsedOptions": [
712
+ {
713
+ "(google.api.http)": {
714
+ "get": "/v1/{name=projects/*/locations/*/conversionWorkspaces/*/mappingRules/*}"
715
+ }
716
+ },
717
+ {
718
+ "(google.api.method_signature)": "name"
719
+ }
720
+ ]
721
+ },
632
722
  "SeedConversionWorkspace": {
633
723
  "requestType": "SeedConversionWorkspaceRequest",
634
724
  "responseType": "google.longrunning.Operation",
@@ -919,7 +1009,10 @@
919
1009
  },
920
1010
  "requestId": {
921
1011
  "type": "string",
922
- "id": 4
1012
+ "id": 4,
1013
+ "options": {
1014
+ "(google.api.field_behavior)": "OPTIONAL"
1015
+ }
923
1016
  }
924
1017
  }
925
1018
  },
@@ -973,6 +1066,13 @@
973
1066
  "options": {
974
1067
  "(google.api.resource_reference).type": "datamigration.googleapis.com/MigrationJob"
975
1068
  }
1069
+ },
1070
+ "skipValidation": {
1071
+ "type": "bool",
1072
+ "id": 2,
1073
+ "options": {
1074
+ "(google.api.field_behavior)": "OPTIONAL"
1075
+ }
976
1076
  }
977
1077
  }
978
1078
  },
@@ -1017,6 +1117,20 @@
1017
1117
  "options": {
1018
1118
  "(google.api.resource_reference).type": "datamigration.googleapis.com/MigrationJob"
1019
1119
  }
1120
+ },
1121
+ "updateMask": {
1122
+ "type": "google.protobuf.FieldMask",
1123
+ "id": 2,
1124
+ "options": {
1125
+ "(google.api.field_behavior)": "OPTIONAL"
1126
+ }
1127
+ },
1128
+ "migrationJob": {
1129
+ "type": "MigrationJob",
1130
+ "id": 3,
1131
+ "options": {
1132
+ "(google.api.field_behavior)": "OPTIONAL"
1133
+ }
1020
1134
  }
1021
1135
  }
1022
1136
  },
@@ -1028,6 +1142,13 @@
1028
1142
  "options": {
1029
1143
  "(google.api.resource_reference).type": "datamigration.googleapis.com/MigrationJob"
1030
1144
  }
1145
+ },
1146
+ "skipValidation": {
1147
+ "type": "bool",
1148
+ "id": 2,
1149
+ "options": {
1150
+ "(google.api.field_behavior)": "OPTIONAL"
1151
+ }
1031
1152
  }
1032
1153
  }
1033
1154
  },
@@ -1107,6 +1228,53 @@
1107
1228
  }
1108
1229
  }
1109
1230
  },
1231
+ "GenerateTcpProxyScriptRequest": {
1232
+ "fields": {
1233
+ "migrationJob": {
1234
+ "type": "string",
1235
+ "id": 1,
1236
+ "options": {
1237
+ "(google.api.resource_reference).type": "datamigration.googleapis.com/MigrationJob"
1238
+ }
1239
+ },
1240
+ "vmName": {
1241
+ "type": "string",
1242
+ "id": 2,
1243
+ "options": {
1244
+ "(google.api.field_behavior)": "REQUIRED"
1245
+ }
1246
+ },
1247
+ "vmMachineType": {
1248
+ "type": "string",
1249
+ "id": 3,
1250
+ "options": {
1251
+ "(google.api.field_behavior)": "REQUIRED"
1252
+ }
1253
+ },
1254
+ "vmZone": {
1255
+ "type": "string",
1256
+ "id": 4,
1257
+ "options": {
1258
+ "(google.api.field_behavior)": "OPTIONAL"
1259
+ }
1260
+ },
1261
+ "vmSubnet": {
1262
+ "type": "string",
1263
+ "id": 5,
1264
+ "options": {
1265
+ "(google.api.field_behavior)": "REQUIRED"
1266
+ }
1267
+ }
1268
+ }
1269
+ },
1270
+ "TcpProxyScript": {
1271
+ "fields": {
1272
+ "script": {
1273
+ "type": "string",
1274
+ "id": 1
1275
+ }
1276
+ }
1277
+ },
1110
1278
  "ListConnectionProfilesRequest": {
1111
1279
  "fields": {
1112
1280
  "parent": {
@@ -1172,7 +1340,7 @@
1172
1340
  "id": 1,
1173
1341
  "options": {
1174
1342
  "(google.api.field_behavior)": "REQUIRED",
1175
- "(google.api.resource_reference).type": "datamigration.googleapis.com/ConnectionProfile"
1343
+ "(google.api.resource_reference).child_type": "datamigration.googleapis.com/ConnectionProfile"
1176
1344
  }
1177
1345
  },
1178
1346
  "connectionProfileId": {
@@ -1560,6 +1728,10 @@
1560
1728
  "requestId": {
1561
1729
  "type": "string",
1562
1730
  "id": 2
1731
+ },
1732
+ "force": {
1733
+ "type": "bool",
1734
+ "id": 3
1563
1735
  }
1564
1736
  }
1565
1737
  },
@@ -1615,9 +1787,71 @@
1615
1787
  "type": "string",
1616
1788
  "id": 2
1617
1789
  },
1790
+ "dryRun": {
1791
+ "type": "bool",
1792
+ "id": 3,
1793
+ "options": {
1794
+ "(google.api.field_behavior)": "OPTIONAL"
1795
+ }
1796
+ },
1797
+ "autoCommit": {
1798
+ "type": "bool",
1799
+ "id": 4,
1800
+ "options": {
1801
+ "(google.api.field_behavior)": "OPTIONAL"
1802
+ }
1803
+ },
1618
1804
  "connectionProfile": {
1619
1805
  "type": "string",
1620
- "id": 100
1806
+ "id": 100,
1807
+ "options": {
1808
+ "(google.api.field_behavior)": "OPTIONAL"
1809
+ }
1810
+ }
1811
+ }
1812
+ },
1813
+ "ListMappingRulesRequest": {
1814
+ "fields": {
1815
+ "parent": {
1816
+ "type": "string",
1817
+ "id": 1,
1818
+ "options": {
1819
+ "(google.api.field_behavior)": "REQUIRED",
1820
+ "(google.api.resource_reference).type": "datamigration.googleapis.com/ConversionWorkspace"
1821
+ }
1822
+ },
1823
+ "pageSize": {
1824
+ "type": "int32",
1825
+ "id": 2
1826
+ },
1827
+ "pageToken": {
1828
+ "type": "string",
1829
+ "id": 3
1830
+ }
1831
+ }
1832
+ },
1833
+ "ListMappingRulesResponse": {
1834
+ "fields": {
1835
+ "mappingRules": {
1836
+ "rule": "repeated",
1837
+ "type": "MappingRule",
1838
+ "id": 1
1839
+ },
1840
+ "nextPageToken": {
1841
+ "type": "string",
1842
+ "id": 2
1843
+ }
1844
+ }
1845
+ },
1846
+ "GetMappingRuleRequest": {
1847
+ "fields": {
1848
+ "name": {
1849
+ "type": "string",
1850
+ "id": 1,
1851
+ "options": {
1852
+ "(google.api.field_behavior)": "REQUIRED",
1853
+ "(google.api.resource_reference).type": "datamigration.googleapis.com/MappingRule"
1854
+ }
1621
1855
  }
1622
1856
  }
1623
1857
  },
@@ -1644,11 +1878,17 @@
1644
1878
  },
1645
1879
  "sourceConnectionProfile": {
1646
1880
  "type": "string",
1647
- "id": 100
1881
+ "id": 100,
1882
+ "options": {
1883
+ "(google.api.field_behavior)": "OPTIONAL"
1884
+ }
1648
1885
  },
1649
1886
  "destinationConnectionProfile": {
1650
1887
  "type": "string",
1651
- "id": 101
1888
+ "id": 101,
1889
+ "options": {
1890
+ "(google.api.field_behavior)": "OPTIONAL"
1891
+ }
1652
1892
  }
1653
1893
  }
1654
1894
  },
@@ -1663,11 +1903,24 @@
1663
1903
  },
1664
1904
  "autoCommit": {
1665
1905
  "type": "bool",
1666
- "id": 4
1906
+ "id": 4,
1907
+ "options": {
1908
+ "(google.api.field_behavior)": "OPTIONAL"
1909
+ }
1667
1910
  },
1668
1911
  "filter": {
1669
1912
  "type": "string",
1670
- "id": 5
1913
+ "id": 5,
1914
+ "options": {
1915
+ "(google.api.field_behavior)": "OPTIONAL"
1916
+ }
1917
+ },
1918
+ "convertFullPath": {
1919
+ "type": "bool",
1920
+ "id": 6,
1921
+ "options": {
1922
+ "(google.api.field_behavior)": "OPTIONAL"
1923
+ }
1671
1924
  }
1672
1925
  }
1673
1926
  },
@@ -1683,16 +1936,25 @@
1683
1936
  },
1684
1937
  "rulesFormat": {
1685
1938
  "type": "ImportRulesFileFormat",
1686
- "id": 2
1939
+ "id": 2,
1940
+ "options": {
1941
+ "(google.api.field_behavior)": "REQUIRED"
1942
+ }
1687
1943
  },
1688
1944
  "rulesFiles": {
1689
1945
  "rule": "repeated",
1690
1946
  "type": "RulesFile",
1691
- "id": 3
1947
+ "id": 3,
1948
+ "options": {
1949
+ "(google.api.field_behavior)": "REQUIRED"
1950
+ }
1692
1951
  },
1693
1952
  "autoCommit": {
1694
1953
  "type": "bool",
1695
- "id": 6
1954
+ "id": 6,
1955
+ "options": {
1956
+ "(google.api.field_behavior)": "REQUIRED"
1957
+ }
1696
1958
  }
1697
1959
  },
1698
1960
  "nested": {
@@ -1700,11 +1962,17 @@
1700
1962
  "fields": {
1701
1963
  "rulesSourceFilename": {
1702
1964
  "type": "string",
1703
- "id": 1
1965
+ "id": 1,
1966
+ "options": {
1967
+ "(google.api.field_behavior)": "REQUIRED"
1968
+ }
1704
1969
  },
1705
1970
  "rulesContent": {
1706
1971
  "type": "string",
1707
- "id": 2
1972
+ "id": 2,
1973
+ "options": {
1974
+ "(google.api.field_behavior)": "REQUIRED"
1975
+ }
1708
1976
  }
1709
1977
  }
1710
1978
  }
@@ -1722,27 +1990,52 @@
1722
1990
  },
1723
1991
  "pageSize": {
1724
1992
  "type": "int32",
1725
- "id": 3
1993
+ "id": 3,
1994
+ "options": {
1995
+ "(google.api.field_behavior)": "OPTIONAL"
1996
+ }
1726
1997
  },
1727
1998
  "pageToken": {
1728
1999
  "type": "string",
1729
- "id": 4
2000
+ "id": 4,
2001
+ "options": {
2002
+ "(google.api.field_behavior)": "OPTIONAL"
2003
+ }
1730
2004
  },
1731
2005
  "tree": {
1732
2006
  "type": "DBTreeType",
1733
- "id": 6
2007
+ "id": 6,
2008
+ "options": {
2009
+ "(google.api.field_behavior)": "REQUIRED"
2010
+ }
1734
2011
  },
1735
2012
  "uncommitted": {
1736
2013
  "type": "bool",
1737
- "id": 11
2014
+ "id": 11,
2015
+ "options": {
2016
+ "(google.api.field_behavior)": "OPTIONAL"
2017
+ }
1738
2018
  },
1739
2019
  "commitId": {
1740
2020
  "type": "string",
1741
- "id": 12
2021
+ "id": 12,
2022
+ "options": {
2023
+ "(google.api.field_behavior)": "OPTIONAL"
2024
+ }
1742
2025
  },
1743
2026
  "filter": {
1744
2027
  "type": "string",
1745
- "id": 13
2028
+ "id": 13,
2029
+ "options": {
2030
+ "(google.api.field_behavior)": "OPTIONAL"
2031
+ }
2032
+ },
2033
+ "view": {
2034
+ "type": "DatabaseEntityView",
2035
+ "id": 14,
2036
+ "options": {
2037
+ "(google.api.field_behavior)": "OPTIONAL"
2038
+ }
1746
2039
  }
1747
2040
  },
1748
2041
  "nested": {
@@ -1839,6 +2132,55 @@
1839
2132
  }
1840
2133
  }
1841
2134
  },
2135
+ "CreateMappingRuleRequest": {
2136
+ "fields": {
2137
+ "parent": {
2138
+ "type": "string",
2139
+ "id": 1,
2140
+ "options": {
2141
+ "(google.api.field_behavior)": "REQUIRED",
2142
+ "(google.api.resource_reference).child_type": "datamigration.googleapis.com/MappingRule"
2143
+ }
2144
+ },
2145
+ "mappingRuleId": {
2146
+ "type": "string",
2147
+ "id": 2,
2148
+ "options": {
2149
+ "(google.api.field_behavior)": "REQUIRED"
2150
+ }
2151
+ },
2152
+ "mappingRule": {
2153
+ "type": "MappingRule",
2154
+ "id": 3,
2155
+ "options": {
2156
+ "(google.api.field_behavior)": "REQUIRED"
2157
+ }
2158
+ },
2159
+ "requestId": {
2160
+ "type": "string",
2161
+ "id": 4
2162
+ }
2163
+ }
2164
+ },
2165
+ "DeleteMappingRuleRequest": {
2166
+ "fields": {
2167
+ "name": {
2168
+ "type": "string",
2169
+ "id": 1,
2170
+ "options": {
2171
+ "(google.api.field_behavior)": "REQUIRED",
2172
+ "(google.api.resource_reference).child_type": "datamigration.googleapis.com/MappingRule"
2173
+ }
2174
+ },
2175
+ "requestId": {
2176
+ "type": "string",
2177
+ "id": 2,
2178
+ "options": {
2179
+ "(google.api.field_behavior)": "OPTIONAL"
2180
+ }
2181
+ }
2182
+ }
2183
+ },
1842
2184
  "FetchStaticIpsRequest": {
1843
2185
  "fields": {
1844
2186
  "name": {
@@ -1872,6 +2214,14 @@
1872
2214
  }
1873
2215
  }
1874
2216
  },
2217
+ "DatabaseEntityView": {
2218
+ "values": {
2219
+ "DATABASE_ENTITY_VIEW_UNSPECIFIED": 0,
2220
+ "DATABASE_ENTITY_VIEW_BASIC": 1,
2221
+ "DATABASE_ENTITY_VIEW_FULL": 2,
2222
+ "DATABASE_ENTITY_VIEW_ROOT_SUMMARY": 3
2223
+ }
2224
+ },
1875
2225
  "SslConfig": {
1876
2226
  "fields": {
1877
2227
  "type": {
@@ -2090,6 +2440,10 @@
2090
2440
  "(google.api.field_behavior)": "REQUIRED"
2091
2441
  }
2092
2442
  },
2443
+ "ssl": {
2444
+ "type": "SslConfig",
2445
+ "id": 7
2446
+ },
2093
2447
  "staticServiceIpConnectivity": {
2094
2448
  "type": "StaticServiceIpConnectivity",
2095
2449
  "id": 100
@@ -2307,6 +2661,13 @@
2307
2661
  "options": {
2308
2662
  "(google.api.field_behavior)": "OPTIONAL"
2309
2663
  }
2664
+ },
2665
+ "edition": {
2666
+ "type": "Edition",
2667
+ "id": 19,
2668
+ "options": {
2669
+ "(google.api.field_behavior)": "OPTIONAL"
2670
+ }
2310
2671
  }
2311
2672
  },
2312
2673
  "nested": {
@@ -2335,7 +2696,8 @@
2335
2696
  "MYSQL_8_0": 6,
2336
2697
  "POSTGRES_12": 7,
2337
2698
  "POSTGRES_13": 8,
2338
- "POSTGRES_14": 17
2699
+ "POSTGRES_14": 17,
2700
+ "POSTGRES_15": 18
2339
2701
  }
2340
2702
  },
2341
2703
  "SqlAvailabilityType": {
@@ -2344,6 +2706,13 @@
2344
2706
  "ZONAL": 1,
2345
2707
  "REGIONAL": 2
2346
2708
  }
2709
+ },
2710
+ "Edition": {
2711
+ "values": {
2712
+ "EDITION_UNSPECIFIED": 0,
2713
+ "ENTERPRISE": 2,
2714
+ "ENTERPRISE_PLUS": 3
2715
+ }
2347
2716
  }
2348
2717
  }
2349
2718
  },
@@ -2704,6 +3073,13 @@
2704
3073
  "cmekKeyName": {
2705
3074
  "type": "string",
2706
3075
  "id": 21
3076
+ },
3077
+ "performanceConfig": {
3078
+ "type": "PerformanceConfig",
3079
+ "id": 22,
3080
+ "options": {
3081
+ "(google.api.field_behavior)": "OPTIONAL"
3082
+ }
2707
3083
  }
2708
3084
  },
2709
3085
  "nested": {
@@ -2764,6 +3140,24 @@
2764
3140
  "id": 1
2765
3141
  }
2766
3142
  }
3143
+ },
3144
+ "PerformanceConfig": {
3145
+ "fields": {
3146
+ "dumpParallelLevel": {
3147
+ "type": "DumpParallelLevel",
3148
+ "id": 1
3149
+ }
3150
+ },
3151
+ "nested": {
3152
+ "DumpParallelLevel": {
3153
+ "values": {
3154
+ "DUMP_PARALLEL_LEVEL_UNSPECIFIED": 0,
3155
+ "MIN": 1,
3156
+ "OPTIMAL": 2,
3157
+ "MAX": 3
3158
+ }
3159
+ }
3160
+ }
2767
3161
  }
2768
3162
  }
2769
3163
  },
@@ -2921,11 +3315,14 @@
2921
3315
  "UNSUPPORTED_TABLE_DEFINITION": 18,
2922
3316
  "UNSUPPORTED_DEFINER": 19,
2923
3317
  "CANT_RESTART_RUNNING_MIGRATION": 21,
3318
+ "SOURCE_ALREADY_SETUP": 23,
2924
3319
  "TABLES_WITH_LIMITED_SUPPORT": 24,
2925
3320
  "UNSUPPORTED_DATABASE_LOCALE": 25,
2926
3321
  "UNSUPPORTED_DATABASE_FDW_CONFIG": 26,
2927
3322
  "ERROR_RDBMS": 27,
2928
- "SOURCE_SIZE_EXCEEDS_THRESHOLD": 28
3323
+ "SOURCE_SIZE_EXCEEDS_THRESHOLD": 28,
3324
+ "EXISTING_CONFLICTING_DATABASES": 29,
3325
+ "PARALLEL_IMPORT_INSUFFICIENT_PRIVILEGE": 30
2929
3326
  }
2930
3327
  }
2931
3328
  }
@@ -3060,7 +3457,9 @@
3060
3457
  "ConversionWorkspace": {
3061
3458
  "options": {
3062
3459
  "(google.api.resource).type": "datamigration.googleapis.com/ConversionWorkspace",
3063
- "(google.api.resource).pattern": "projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}"
3460
+ "(google.api.resource).pattern": "projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}",
3461
+ "(google.api.resource).plural": "conversionWorkspaces",
3462
+ "(google.api.resource).singular": "conversionWorkspace"
3064
3463
  },
3065
3464
  "fields": {
3066
3465
  "name": {
@@ -3084,7 +3483,10 @@
3084
3483
  "globalSettings": {
3085
3484
  "keyType": "string",
3086
3485
  "type": "string",
3087
- "id": 4
3486
+ "id": 4,
3487
+ "options": {
3488
+ "(google.api.field_behavior)": "OPTIONAL"
3489
+ }
3088
3490
  },
3089
3491
  "hasUncommittedChanges": {
3090
3492
  "type": "bool",
@@ -3118,119 +3520,965 @@
3118
3520
  "type": "google.protobuf.Timestamp",
3119
3521
  "id": 10,
3120
3522
  "options": {
3121
- "(google.api.field_behavior)": "OUTPUT_ONLY"
3523
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
3524
+ }
3525
+ },
3526
+ "displayName": {
3527
+ "type": "string",
3528
+ "id": 11,
3529
+ "options": {
3530
+ "(google.api.field_behavior)": "OPTIONAL"
3531
+ }
3532
+ }
3533
+ }
3534
+ },
3535
+ "BackgroundJobLogEntry": {
3536
+ "oneofs": {
3537
+ "jobDetails": {
3538
+ "oneof": [
3539
+ "seedJobDetails",
3540
+ "importRulesJobDetails",
3541
+ "convertJobDetails",
3542
+ "applyJobDetails"
3543
+ ]
3544
+ }
3545
+ },
3546
+ "fields": {
3547
+ "id": {
3548
+ "type": "string",
3549
+ "id": 1
3550
+ },
3551
+ "jobType": {
3552
+ "type": "BackgroundJobType",
3553
+ "id": 2
3554
+ },
3555
+ "startTime": {
3556
+ "type": "google.protobuf.Timestamp",
3557
+ "id": 3
3558
+ },
3559
+ "finishTime": {
3560
+ "type": "google.protobuf.Timestamp",
3561
+ "id": 4
3562
+ },
3563
+ "completionState": {
3564
+ "type": "JobCompletionState",
3565
+ "id": 5,
3566
+ "options": {
3567
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
3568
+ }
3569
+ },
3570
+ "completionComment": {
3571
+ "type": "string",
3572
+ "id": 6,
3573
+ "options": {
3574
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
3575
+ }
3576
+ },
3577
+ "requestAutocommit": {
3578
+ "type": "bool",
3579
+ "id": 7,
3580
+ "options": {
3581
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
3582
+ }
3583
+ },
3584
+ "seedJobDetails": {
3585
+ "type": "SeedJobDetails",
3586
+ "id": 100,
3587
+ "options": {
3588
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
3589
+ }
3590
+ },
3591
+ "importRulesJobDetails": {
3592
+ "type": "ImportRulesJobDetails",
3593
+ "id": 101,
3594
+ "options": {
3595
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
3596
+ }
3597
+ },
3598
+ "convertJobDetails": {
3599
+ "type": "ConvertJobDetails",
3600
+ "id": 102,
3601
+ "options": {
3602
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
3603
+ }
3604
+ },
3605
+ "applyJobDetails": {
3606
+ "type": "ApplyJobDetails",
3607
+ "id": 103,
3608
+ "options": {
3609
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
3610
+ }
3611
+ }
3612
+ },
3613
+ "nested": {
3614
+ "JobCompletionState": {
3615
+ "values": {
3616
+ "JOB_COMPLETION_STATE_UNSPECIFIED": 0,
3617
+ "SUCCEEDED": 1,
3618
+ "FAILED": 2
3619
+ }
3620
+ },
3621
+ "SeedJobDetails": {
3622
+ "fields": {
3623
+ "connectionProfile": {
3624
+ "type": "string",
3625
+ "id": 1,
3626
+ "options": {
3627
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
3628
+ }
3629
+ }
3630
+ }
3631
+ },
3632
+ "ImportRulesJobDetails": {
3633
+ "fields": {
3634
+ "files": {
3635
+ "rule": "repeated",
3636
+ "type": "string",
3637
+ "id": 1,
3638
+ "options": {
3639
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
3640
+ }
3641
+ },
3642
+ "fileFormat": {
3643
+ "type": "ImportRulesFileFormat",
3644
+ "id": 2,
3645
+ "options": {
3646
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
3647
+ }
3648
+ }
3649
+ }
3650
+ },
3651
+ "ConvertJobDetails": {
3652
+ "fields": {
3653
+ "filter": {
3654
+ "type": "string",
3655
+ "id": 1,
3656
+ "options": {
3657
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
3658
+ }
3659
+ }
3660
+ }
3661
+ },
3662
+ "ApplyJobDetails": {
3663
+ "fields": {
3664
+ "connectionProfile": {
3665
+ "type": "string",
3666
+ "id": 1,
3667
+ "options": {
3668
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
3669
+ }
3670
+ },
3671
+ "filter": {
3672
+ "type": "string",
3673
+ "id": 2,
3674
+ "options": {
3675
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
3676
+ }
3677
+ }
3678
+ }
3679
+ }
3680
+ }
3681
+ },
3682
+ "MappingRuleFilter": {
3683
+ "fields": {
3684
+ "parentEntity": {
3685
+ "type": "string",
3686
+ "id": 1,
3687
+ "options": {
3688
+ "(google.api.field_behavior)": "OPTIONAL"
3689
+ }
3690
+ },
3691
+ "entityNamePrefix": {
3692
+ "type": "string",
3693
+ "id": 2,
3694
+ "options": {
3695
+ "(google.api.field_behavior)": "OPTIONAL"
3696
+ }
3697
+ },
3698
+ "entityNameSuffix": {
3699
+ "type": "string",
3700
+ "id": 3,
3701
+ "options": {
3702
+ "(google.api.field_behavior)": "OPTIONAL"
3703
+ }
3704
+ },
3705
+ "entityNameContains": {
3706
+ "type": "string",
3707
+ "id": 4,
3708
+ "options": {
3709
+ "(google.api.field_behavior)": "OPTIONAL"
3710
+ }
3711
+ },
3712
+ "entities": {
3713
+ "rule": "repeated",
3714
+ "type": "string",
3715
+ "id": 5,
3716
+ "options": {
3717
+ "(google.api.field_behavior)": "OPTIONAL"
3718
+ }
3719
+ }
3720
+ }
3721
+ },
3722
+ "MappingRule": {
3723
+ "options": {
3724
+ "(google.api.resource).type": "datamigration.googleapis.com/MappingRule",
3725
+ "(google.api.resource).pattern": "projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}/mappingRules/{mapping_rule}",
3726
+ "(google.api.resource).plural": "mappingRules",
3727
+ "(google.api.resource).singular": "mappingRule"
3728
+ },
3729
+ "oneofs": {
3730
+ "details": {
3731
+ "oneof": [
3732
+ "singleEntityRename",
3733
+ "multiEntityRename",
3734
+ "entityMove",
3735
+ "singleColumnChange",
3736
+ "multiColumnDataTypeChange",
3737
+ "conditionalColumnSetValue",
3738
+ "convertRowidColumn",
3739
+ "setTablePrimaryKey",
3740
+ "singlePackageChange",
3741
+ "sourceSqlChange",
3742
+ "filterTableColumns"
3743
+ ]
3744
+ }
3745
+ },
3746
+ "fields": {
3747
+ "name": {
3748
+ "type": "string",
3749
+ "id": 1
3750
+ },
3751
+ "displayName": {
3752
+ "type": "string",
3753
+ "id": 2,
3754
+ "options": {
3755
+ "(google.api.field_behavior)": "OPTIONAL"
3756
+ }
3757
+ },
3758
+ "state": {
3759
+ "type": "State",
3760
+ "id": 3,
3761
+ "options": {
3762
+ "(google.api.field_behavior)": "OPTIONAL"
3763
+ }
3764
+ },
3765
+ "ruleScope": {
3766
+ "type": "DatabaseEntityType",
3767
+ "id": 4,
3768
+ "options": {
3769
+ "(google.api.field_behavior)": "REQUIRED"
3770
+ }
3771
+ },
3772
+ "filter": {
3773
+ "type": "MappingRuleFilter",
3774
+ "id": 5,
3775
+ "options": {
3776
+ "(google.api.field_behavior)": "REQUIRED"
3777
+ }
3778
+ },
3779
+ "ruleOrder": {
3780
+ "type": "int64",
3781
+ "id": 6,
3782
+ "options": {
3783
+ "(google.api.field_behavior)": "REQUIRED"
3784
+ }
3785
+ },
3786
+ "revisionId": {
3787
+ "type": "string",
3788
+ "id": 7,
3789
+ "options": {
3790
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
3791
+ }
3792
+ },
3793
+ "revisionCreateTime": {
3794
+ "type": "google.protobuf.Timestamp",
3795
+ "id": 8,
3796
+ "options": {
3797
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
3798
+ }
3799
+ },
3800
+ "singleEntityRename": {
3801
+ "type": "SingleEntityRename",
3802
+ "id": 102,
3803
+ "options": {
3804
+ "(google.api.field_behavior)": "OPTIONAL"
3805
+ }
3806
+ },
3807
+ "multiEntityRename": {
3808
+ "type": "MultiEntityRename",
3809
+ "id": 103,
3810
+ "options": {
3811
+ "(google.api.field_behavior)": "OPTIONAL"
3812
+ }
3813
+ },
3814
+ "entityMove": {
3815
+ "type": "EntityMove",
3816
+ "id": 105,
3817
+ "options": {
3818
+ "(google.api.field_behavior)": "OPTIONAL"
3819
+ }
3820
+ },
3821
+ "singleColumnChange": {
3822
+ "type": "SingleColumnChange",
3823
+ "id": 106,
3824
+ "options": {
3825
+ "(google.api.field_behavior)": "OPTIONAL"
3826
+ }
3827
+ },
3828
+ "multiColumnDataTypeChange": {
3829
+ "type": "MultiColumnDatatypeChange",
3830
+ "id": 107,
3831
+ "options": {
3832
+ "(google.api.field_behavior)": "OPTIONAL"
3833
+ }
3834
+ },
3835
+ "conditionalColumnSetValue": {
3836
+ "type": "ConditionalColumnSetValue",
3837
+ "id": 108,
3838
+ "options": {
3839
+ "(google.api.field_behavior)": "OPTIONAL"
3840
+ }
3841
+ },
3842
+ "convertRowidColumn": {
3843
+ "type": "ConvertRowIdToColumn",
3844
+ "id": 114,
3845
+ "options": {
3846
+ "(google.api.field_behavior)": "OPTIONAL"
3847
+ }
3848
+ },
3849
+ "setTablePrimaryKey": {
3850
+ "type": "SetTablePrimaryKey",
3851
+ "id": 115,
3852
+ "options": {
3853
+ "(google.api.field_behavior)": "OPTIONAL"
3854
+ }
3855
+ },
3856
+ "singlePackageChange": {
3857
+ "type": "SinglePackageChange",
3858
+ "id": 116,
3859
+ "options": {
3860
+ "(google.api.field_behavior)": "OPTIONAL"
3861
+ }
3862
+ },
3863
+ "sourceSqlChange": {
3864
+ "type": "SourceSqlChange",
3865
+ "id": 117,
3866
+ "options": {
3867
+ "(google.api.field_behavior)": "OPTIONAL"
3868
+ }
3869
+ },
3870
+ "filterTableColumns": {
3871
+ "type": "FilterTableColumns",
3872
+ "id": 118,
3873
+ "options": {
3874
+ "(google.api.field_behavior)": "OPTIONAL"
3875
+ }
3876
+ }
3877
+ },
3878
+ "nested": {
3879
+ "State": {
3880
+ "values": {
3881
+ "STATE_UNSPECIFIED": 0,
3882
+ "ENABLED": 1,
3883
+ "DISABLED": 2,
3884
+ "DELETED": 3
3885
+ }
3886
+ }
3887
+ }
3888
+ },
3889
+ "SingleEntityRename": {
3890
+ "fields": {
3891
+ "newName": {
3892
+ "type": "string",
3893
+ "id": 1,
3894
+ "options": {
3895
+ "(google.api.field_behavior)": "REQUIRED"
3896
+ }
3897
+ }
3898
+ }
3899
+ },
3900
+ "MultiEntityRename": {
3901
+ "fields": {
3902
+ "newNamePattern": {
3903
+ "type": "string",
3904
+ "id": 1,
3905
+ "options": {
3906
+ "(google.api.field_behavior)": "OPTIONAL"
3907
+ }
3908
+ },
3909
+ "sourceNameTransformation": {
3910
+ "type": "EntityNameTransformation",
3911
+ "id": 2,
3912
+ "options": {
3913
+ "(google.api.field_behavior)": "OPTIONAL"
3914
+ }
3915
+ }
3916
+ }
3917
+ },
3918
+ "EntityMove": {
3919
+ "fields": {
3920
+ "newSchema": {
3921
+ "type": "string",
3922
+ "id": 1,
3923
+ "options": {
3924
+ "(google.api.field_behavior)": "REQUIRED"
3925
+ }
3926
+ }
3927
+ }
3928
+ },
3929
+ "SingleColumnChange": {
3930
+ "fields": {
3931
+ "dataType": {
3932
+ "type": "string",
3933
+ "id": 1,
3934
+ "options": {
3935
+ "(google.api.field_behavior)": "OPTIONAL"
3936
+ }
3937
+ },
3938
+ "charset": {
3939
+ "type": "string",
3940
+ "id": 2,
3941
+ "options": {
3942
+ "(google.api.field_behavior)": "OPTIONAL"
3943
+ }
3944
+ },
3945
+ "collation": {
3946
+ "type": "string",
3947
+ "id": 3,
3948
+ "options": {
3949
+ "(google.api.field_behavior)": "OPTIONAL"
3950
+ }
3951
+ },
3952
+ "length": {
3953
+ "type": "int64",
3954
+ "id": 4,
3955
+ "options": {
3956
+ "(google.api.field_behavior)": "OPTIONAL"
3957
+ }
3958
+ },
3959
+ "precision": {
3960
+ "type": "int32",
3961
+ "id": 5,
3962
+ "options": {
3963
+ "(google.api.field_behavior)": "OPTIONAL"
3964
+ }
3965
+ },
3966
+ "scale": {
3967
+ "type": "int32",
3968
+ "id": 6,
3969
+ "options": {
3970
+ "(google.api.field_behavior)": "OPTIONAL"
3971
+ }
3972
+ },
3973
+ "fractionalSecondsPrecision": {
3974
+ "type": "int32",
3975
+ "id": 7,
3976
+ "options": {
3977
+ "(google.api.field_behavior)": "OPTIONAL"
3978
+ }
3979
+ },
3980
+ "array": {
3981
+ "type": "bool",
3982
+ "id": 8,
3983
+ "options": {
3984
+ "(google.api.field_behavior)": "OPTIONAL"
3985
+ }
3986
+ },
3987
+ "arrayLength": {
3988
+ "type": "int32",
3989
+ "id": 9,
3990
+ "options": {
3991
+ "(google.api.field_behavior)": "OPTIONAL"
3992
+ }
3993
+ },
3994
+ "nullable": {
3995
+ "type": "bool",
3996
+ "id": 10,
3997
+ "options": {
3998
+ "(google.api.field_behavior)": "OPTIONAL"
3999
+ }
4000
+ },
4001
+ "autoGenerated": {
4002
+ "type": "bool",
4003
+ "id": 11,
4004
+ "options": {
4005
+ "(google.api.field_behavior)": "OPTIONAL"
4006
+ }
4007
+ },
4008
+ "udt": {
4009
+ "type": "bool",
4010
+ "id": 12,
4011
+ "options": {
4012
+ "(google.api.field_behavior)": "OPTIONAL"
4013
+ }
4014
+ },
4015
+ "customFeatures": {
4016
+ "type": "google.protobuf.Struct",
4017
+ "id": 13,
4018
+ "options": {
4019
+ "(google.api.field_behavior)": "OPTIONAL"
4020
+ }
4021
+ },
4022
+ "setValues": {
4023
+ "rule": "repeated",
4024
+ "type": "string",
4025
+ "id": 14,
4026
+ "options": {
4027
+ "(google.api.field_behavior)": "OPTIONAL"
4028
+ }
4029
+ },
4030
+ "comment": {
4031
+ "type": "string",
4032
+ "id": 15,
4033
+ "options": {
4034
+ "(google.api.field_behavior)": "OPTIONAL"
4035
+ }
4036
+ }
4037
+ }
4038
+ },
4039
+ "MultiColumnDatatypeChange": {
4040
+ "oneofs": {
4041
+ "sourceFilter": {
4042
+ "oneof": [
4043
+ "sourceTextFilter",
4044
+ "sourceNumericFilter"
4045
+ ]
4046
+ }
4047
+ },
4048
+ "fields": {
4049
+ "sourceDataTypeFilter": {
4050
+ "type": "string",
4051
+ "id": 1,
4052
+ "options": {
4053
+ "(google.api.field_behavior)": "REQUIRED"
4054
+ }
4055
+ },
4056
+ "sourceTextFilter": {
4057
+ "type": "SourceTextFilter",
4058
+ "id": 100,
4059
+ "options": {
4060
+ "(google.api.field_behavior)": "OPTIONAL"
4061
+ }
4062
+ },
4063
+ "sourceNumericFilter": {
4064
+ "type": "SourceNumericFilter",
4065
+ "id": 101,
4066
+ "options": {
4067
+ "(google.api.field_behavior)": "OPTIONAL"
4068
+ }
4069
+ },
4070
+ "newDataType": {
4071
+ "type": "string",
4072
+ "id": 2,
4073
+ "options": {
4074
+ "(google.api.field_behavior)": "REQUIRED"
4075
+ }
4076
+ },
4077
+ "overrideLength": {
4078
+ "type": "int64",
4079
+ "id": 3,
4080
+ "options": {
4081
+ "(google.api.field_behavior)": "OPTIONAL"
4082
+ }
4083
+ },
4084
+ "overrideScale": {
4085
+ "type": "int32",
4086
+ "id": 4,
4087
+ "options": {
4088
+ "(google.api.field_behavior)": "OPTIONAL"
4089
+ }
4090
+ },
4091
+ "overridePrecision": {
4092
+ "type": "int32",
4093
+ "id": 5,
4094
+ "options": {
4095
+ "(google.api.field_behavior)": "OPTIONAL"
4096
+ }
4097
+ },
4098
+ "overrideFractionalSecondsPrecision": {
4099
+ "type": "int32",
4100
+ "id": 6,
4101
+ "options": {
4102
+ "(google.api.field_behavior)": "OPTIONAL"
4103
+ }
4104
+ },
4105
+ "customFeatures": {
4106
+ "type": "google.protobuf.Struct",
4107
+ "id": 7,
4108
+ "options": {
4109
+ "(google.api.field_behavior)": "OPTIONAL"
4110
+ }
4111
+ }
4112
+ }
4113
+ },
4114
+ "SourceTextFilter": {
4115
+ "fields": {
4116
+ "sourceMinLengthFilter": {
4117
+ "type": "int64",
4118
+ "id": 1,
4119
+ "options": {
4120
+ "(google.api.field_behavior)": "OPTIONAL"
4121
+ }
4122
+ },
4123
+ "sourceMaxLengthFilter": {
4124
+ "type": "int64",
4125
+ "id": 2,
4126
+ "options": {
4127
+ "(google.api.field_behavior)": "OPTIONAL"
4128
+ }
4129
+ }
4130
+ }
4131
+ },
4132
+ "SourceNumericFilter": {
4133
+ "fields": {
4134
+ "sourceMinScaleFilter": {
4135
+ "type": "int32",
4136
+ "id": 1,
4137
+ "options": {
4138
+ "(google.api.field_behavior)": "OPTIONAL"
4139
+ }
4140
+ },
4141
+ "sourceMaxScaleFilter": {
4142
+ "type": "int32",
4143
+ "id": 2,
4144
+ "options": {
4145
+ "(google.api.field_behavior)": "OPTIONAL"
4146
+ }
4147
+ },
4148
+ "sourceMinPrecisionFilter": {
4149
+ "type": "int32",
4150
+ "id": 3,
4151
+ "options": {
4152
+ "(google.api.field_behavior)": "OPTIONAL"
4153
+ }
4154
+ },
4155
+ "sourceMaxPrecisionFilter": {
4156
+ "type": "int32",
4157
+ "id": 4,
4158
+ "options": {
4159
+ "(google.api.field_behavior)": "OPTIONAL"
4160
+ }
4161
+ },
4162
+ "numericFilterOption": {
4163
+ "type": "NumericFilterOption",
4164
+ "id": 5,
4165
+ "options": {
4166
+ "(google.api.field_behavior)": "REQUIRED"
4167
+ }
4168
+ }
4169
+ }
4170
+ },
4171
+ "ConditionalColumnSetValue": {
4172
+ "oneofs": {
4173
+ "sourceFilter": {
4174
+ "oneof": [
4175
+ "sourceTextFilter",
4176
+ "sourceNumericFilter"
4177
+ ]
4178
+ }
4179
+ },
4180
+ "fields": {
4181
+ "sourceTextFilter": {
4182
+ "type": "SourceTextFilter",
4183
+ "id": 100,
4184
+ "options": {
4185
+ "(google.api.field_behavior)": "OPTIONAL"
4186
+ }
4187
+ },
4188
+ "sourceNumericFilter": {
4189
+ "type": "SourceNumericFilter",
4190
+ "id": 101,
4191
+ "options": {
4192
+ "(google.api.field_behavior)": "OPTIONAL"
4193
+ }
4194
+ },
4195
+ "valueTransformation": {
4196
+ "type": "ValueTransformation",
4197
+ "id": 1,
4198
+ "options": {
4199
+ "(google.api.field_behavior)": "REQUIRED"
4200
+ }
4201
+ },
4202
+ "customFeatures": {
4203
+ "type": "google.protobuf.Struct",
4204
+ "id": 2,
4205
+ "options": {
4206
+ "(google.api.field_behavior)": "OPTIONAL"
4207
+ }
4208
+ }
4209
+ }
4210
+ },
4211
+ "ValueTransformation": {
4212
+ "oneofs": {
4213
+ "filter": {
4214
+ "oneof": [
4215
+ "isNull",
4216
+ "valueList",
4217
+ "intComparison",
4218
+ "doubleComparison"
4219
+ ]
4220
+ },
4221
+ "action": {
4222
+ "oneof": [
4223
+ "assignNull",
4224
+ "assignSpecificValue",
4225
+ "assignMinValue",
4226
+ "assignMaxValue",
4227
+ "roundScale",
4228
+ "applyHash"
4229
+ ]
4230
+ }
4231
+ },
4232
+ "fields": {
4233
+ "isNull": {
4234
+ "type": "google.protobuf.Empty",
4235
+ "id": 100,
4236
+ "options": {
4237
+ "(google.api.field_behavior)": "OPTIONAL"
4238
+ }
4239
+ },
4240
+ "valueList": {
4241
+ "type": "ValueListFilter",
4242
+ "id": 101,
4243
+ "options": {
4244
+ "(google.api.field_behavior)": "OPTIONAL"
4245
+ }
4246
+ },
4247
+ "intComparison": {
4248
+ "type": "IntComparisonFilter",
4249
+ "id": 102,
4250
+ "options": {
4251
+ "(google.api.field_behavior)": "OPTIONAL"
4252
+ }
4253
+ },
4254
+ "doubleComparison": {
4255
+ "type": "DoubleComparisonFilter",
4256
+ "id": 103,
4257
+ "options": {
4258
+ "(google.api.field_behavior)": "OPTIONAL"
4259
+ }
4260
+ },
4261
+ "assignNull": {
4262
+ "type": "google.protobuf.Empty",
4263
+ "id": 200,
4264
+ "options": {
4265
+ "(google.api.field_behavior)": "OPTIONAL"
4266
+ }
4267
+ },
4268
+ "assignSpecificValue": {
4269
+ "type": "AssignSpecificValue",
4270
+ "id": 201,
4271
+ "options": {
4272
+ "(google.api.field_behavior)": "OPTIONAL"
4273
+ }
4274
+ },
4275
+ "assignMinValue": {
4276
+ "type": "google.protobuf.Empty",
4277
+ "id": 202,
4278
+ "options": {
4279
+ "(google.api.field_behavior)": "OPTIONAL"
4280
+ }
4281
+ },
4282
+ "assignMaxValue": {
4283
+ "type": "google.protobuf.Empty",
4284
+ "id": 203,
4285
+ "options": {
4286
+ "(google.api.field_behavior)": "OPTIONAL"
4287
+ }
4288
+ },
4289
+ "roundScale": {
4290
+ "type": "RoundToScale",
4291
+ "id": 204,
4292
+ "options": {
4293
+ "(google.api.field_behavior)": "OPTIONAL"
4294
+ }
4295
+ },
4296
+ "applyHash": {
4297
+ "type": "ApplyHash",
4298
+ "id": 205,
4299
+ "options": {
4300
+ "(google.api.field_behavior)": "OPTIONAL"
4301
+ }
4302
+ }
4303
+ }
4304
+ },
4305
+ "ConvertRowIdToColumn": {
4306
+ "fields": {
4307
+ "onlyIfNoPrimaryKey": {
4308
+ "type": "bool",
4309
+ "id": 1,
4310
+ "options": {
4311
+ "(google.api.field_behavior)": "REQUIRED"
4312
+ }
4313
+ }
4314
+ }
4315
+ },
4316
+ "SetTablePrimaryKey": {
4317
+ "fields": {
4318
+ "primaryKeyColumns": {
4319
+ "rule": "repeated",
4320
+ "type": "string",
4321
+ "id": 1,
4322
+ "options": {
4323
+ "(google.api.field_behavior)": "REQUIRED"
4324
+ }
4325
+ },
4326
+ "primaryKey": {
4327
+ "type": "string",
4328
+ "id": 2,
4329
+ "options": {
4330
+ "(google.api.field_behavior)": "OPTIONAL"
4331
+ }
4332
+ }
4333
+ }
4334
+ },
4335
+ "SinglePackageChange": {
4336
+ "fields": {
4337
+ "packageDescription": {
4338
+ "type": "string",
4339
+ "id": 1,
4340
+ "options": {
4341
+ "(google.api.field_behavior)": "OPTIONAL"
4342
+ }
4343
+ },
4344
+ "packageBody": {
4345
+ "type": "string",
4346
+ "id": 2,
4347
+ "options": {
4348
+ "(google.api.field_behavior)": "OPTIONAL"
4349
+ }
4350
+ }
4351
+ }
4352
+ },
4353
+ "SourceSqlChange": {
4354
+ "fields": {
4355
+ "sqlCode": {
4356
+ "type": "string",
4357
+ "id": 1,
4358
+ "options": {
4359
+ "(google.api.field_behavior)": "REQUIRED"
4360
+ }
4361
+ }
4362
+ }
4363
+ },
4364
+ "FilterTableColumns": {
4365
+ "fields": {
4366
+ "includeColumns": {
4367
+ "rule": "repeated",
4368
+ "type": "string",
4369
+ "id": 1,
4370
+ "options": {
4371
+ "(google.api.field_behavior)": "OPTIONAL"
4372
+ }
4373
+ },
4374
+ "excludeColumns": {
4375
+ "rule": "repeated",
4376
+ "type": "string",
4377
+ "id": 2,
4378
+ "options": {
4379
+ "(google.api.field_behavior)": "OPTIONAL"
4380
+ }
4381
+ }
4382
+ }
4383
+ },
4384
+ "ValueListFilter": {
4385
+ "fields": {
4386
+ "valuePresentList": {
4387
+ "type": "ValuePresentInList",
4388
+ "id": 1,
4389
+ "options": {
4390
+ "(google.api.field_behavior)": "REQUIRED"
4391
+ }
4392
+ },
4393
+ "values": {
4394
+ "rule": "repeated",
4395
+ "type": "string",
4396
+ "id": 2,
4397
+ "options": {
4398
+ "(google.api.field_behavior)": "REQUIRED"
4399
+ }
4400
+ },
4401
+ "ignoreCase": {
4402
+ "type": "bool",
4403
+ "id": 3,
4404
+ "options": {
4405
+ "(google.api.field_behavior)": "REQUIRED"
4406
+ }
4407
+ }
4408
+ }
4409
+ },
4410
+ "IntComparisonFilter": {
4411
+ "fields": {
4412
+ "valueComparison": {
4413
+ "type": "ValueComparison",
4414
+ "id": 1,
4415
+ "options": {
4416
+ "(google.api.field_behavior)": "REQUIRED"
4417
+ }
4418
+ },
4419
+ "value": {
4420
+ "type": "int64",
4421
+ "id": 2,
4422
+ "options": {
4423
+ "(google.api.field_behavior)": "REQUIRED"
4424
+ }
4425
+ }
4426
+ }
4427
+ },
4428
+ "DoubleComparisonFilter": {
4429
+ "fields": {
4430
+ "valueComparison": {
4431
+ "type": "ValueComparison",
4432
+ "id": 1,
4433
+ "options": {
4434
+ "(google.api.field_behavior)": "REQUIRED"
4435
+ }
4436
+ },
4437
+ "value": {
4438
+ "type": "double",
4439
+ "id": 2,
4440
+ "options": {
4441
+ "(google.api.field_behavior)": "REQUIRED"
4442
+ }
4443
+ }
4444
+ }
4445
+ },
4446
+ "AssignSpecificValue": {
4447
+ "fields": {
4448
+ "value": {
4449
+ "type": "string",
4450
+ "id": 1,
4451
+ "options": {
4452
+ "(google.api.field_behavior)": "REQUIRED"
3122
4453
  }
3123
- },
3124
- "displayName": {
3125
- "type": "string",
3126
- "id": 11
3127
4454
  }
3128
4455
  }
3129
4456
  },
3130
- "BackgroundJobLogEntry": {
4457
+ "ApplyHash": {
3131
4458
  "oneofs": {
3132
- "jobDetails": {
4459
+ "hashFunction": {
3133
4460
  "oneof": [
3134
- "seedJobDetails",
3135
- "importRulesJobDetails",
3136
- "convertJobDetails",
3137
- "applyJobDetails"
4461
+ "uuidFromBytes"
3138
4462
  ]
3139
4463
  }
3140
4464
  },
3141
4465
  "fields": {
3142
- "id": {
3143
- "type": "string",
3144
- "id": 1
3145
- },
3146
- "jobType": {
3147
- "type": "BackgroundJobType",
3148
- "id": 2
3149
- },
3150
- "startTime": {
3151
- "type": "google.protobuf.Timestamp",
3152
- "id": 3
3153
- },
3154
- "finishTime": {
3155
- "type": "google.protobuf.Timestamp",
3156
- "id": 4
3157
- },
3158
- "completionState": {
3159
- "type": "JobCompletionState",
3160
- "id": 5
3161
- },
3162
- "completionComment": {
3163
- "type": "string",
3164
- "id": 6
3165
- },
3166
- "requestAutocommit": {
3167
- "type": "bool",
3168
- "id": 7
3169
- },
3170
- "seedJobDetails": {
3171
- "type": "SeedJobDetails",
3172
- "id": 100
3173
- },
3174
- "importRulesJobDetails": {
3175
- "type": "ImportRulesJobDetails",
3176
- "id": 101
3177
- },
3178
- "convertJobDetails": {
3179
- "type": "ConvertJobDetails",
3180
- "id": 102
3181
- },
3182
- "applyJobDetails": {
3183
- "type": "ApplyJobDetails",
3184
- "id": 103
3185
- }
3186
- },
3187
- "nested": {
3188
- "JobCompletionState": {
3189
- "values": {
3190
- "JOB_COMPLETION_STATE_UNSPECIFIED": 0,
3191
- "SUCCEEDED": 1,
3192
- "FAILED": 2
3193
- }
3194
- },
3195
- "SeedJobDetails": {
3196
- "fields": {
3197
- "connectionProfile": {
3198
- "type": "string",
3199
- "id": 1
3200
- }
3201
- }
3202
- },
3203
- "ImportRulesJobDetails": {
3204
- "fields": {
3205
- "files": {
3206
- "rule": "repeated",
3207
- "type": "string",
3208
- "id": 1
3209
- },
3210
- "fileFormat": {
3211
- "type": "ImportRulesFileFormat",
3212
- "id": 2
3213
- }
3214
- }
3215
- },
3216
- "ConvertJobDetails": {
3217
- "fields": {
3218
- "filter": {
3219
- "type": "string",
3220
- "id": 1
3221
- }
4466
+ "uuidFromBytes": {
4467
+ "type": "google.protobuf.Empty",
4468
+ "id": 100,
4469
+ "options": {
4470
+ "(google.api.field_behavior)": "OPTIONAL"
3222
4471
  }
3223
- },
3224
- "ApplyJobDetails": {
3225
- "fields": {
3226
- "connectionProfile": {
3227
- "type": "string",
3228
- "id": 1
3229
- },
3230
- "filter": {
3231
- "type": "string",
3232
- "id": 2
3233
- }
4472
+ }
4473
+ }
4474
+ },
4475
+ "RoundToScale": {
4476
+ "fields": {
4477
+ "scale": {
4478
+ "type": "int32",
4479
+ "id": 1,
4480
+ "options": {
4481
+ "(google.api.field_behavior)": "REQUIRED"
3234
4482
  }
3235
4483
  }
3236
4484
  }
@@ -3239,6 +4487,7 @@
3239
4487
  "oneofs": {
3240
4488
  "entityBody": {
3241
4489
  "oneof": [
4490
+ "database",
3242
4491
  "schema",
3243
4492
  "table",
3244
4493
  "view",
@@ -3246,7 +4495,9 @@
3246
4495
  "storedProcedure",
3247
4496
  "databaseFunction",
3248
4497
  "synonym",
3249
- "databasePackage"
4498
+ "databasePackage",
4499
+ "udt",
4500
+ "materializedView"
3250
4501
  ]
3251
4502
  }
3252
4503
  },
@@ -3272,6 +4523,20 @@
3272
4523
  "type": "EntityMapping",
3273
4524
  "id": 5
3274
4525
  },
4526
+ "entityDdl": {
4527
+ "rule": "repeated",
4528
+ "type": "EntityDdl",
4529
+ "id": 6
4530
+ },
4531
+ "issues": {
4532
+ "rule": "repeated",
4533
+ "type": "EntityIssue",
4534
+ "id": 7
4535
+ },
4536
+ "database": {
4537
+ "type": "DatabaseInstanceEntity",
4538
+ "id": 101
4539
+ },
3275
4540
  "schema": {
3276
4541
  "type": "SchemaEntity",
3277
4542
  "id": 102
@@ -3303,6 +4568,14 @@
3303
4568
  "databasePackage": {
3304
4569
  "type": "PackageEntity",
3305
4570
  "id": 109
4571
+ },
4572
+ "udt": {
4573
+ "type": "UDTEntity",
4574
+ "id": 110
4575
+ },
4576
+ "materializedView": {
4577
+ "type": "MaterializedViewEntity",
4578
+ "id": 111
3306
4579
  }
3307
4580
  },
3308
4581
  "nested": {
@@ -3316,6 +4589,14 @@
3316
4589
  }
3317
4590
  }
3318
4591
  },
4592
+ "DatabaseInstanceEntity": {
4593
+ "fields": {
4594
+ "customFeatures": {
4595
+ "type": "google.protobuf.Struct",
4596
+ "id": 1
4597
+ }
4598
+ }
4599
+ },
3319
4600
  "SchemaEntity": {
3320
4601
  "fields": {
3321
4602
  "customFeatures": {
@@ -3590,6 +4871,18 @@
3590
4871
  }
3591
4872
  }
3592
4873
  },
4874
+ "MaterializedViewEntity": {
4875
+ "fields": {
4876
+ "sqlCode": {
4877
+ "type": "string",
4878
+ "id": 1
4879
+ },
4880
+ "customFeatures": {
4881
+ "type": "google.protobuf.Struct",
4882
+ "id": 2
4883
+ }
4884
+ }
4885
+ },
3593
4886
  "SynonymEntity": {
3594
4887
  "fields": {
3595
4888
  "sourceEntity": {
@@ -3622,6 +4915,22 @@
3622
4915
  }
3623
4916
  }
3624
4917
  },
4918
+ "UDTEntity": {
4919
+ "fields": {
4920
+ "udtSqlCode": {
4921
+ "type": "string",
4922
+ "id": 1
4923
+ },
4924
+ "udtBody": {
4925
+ "type": "string",
4926
+ "id": 2
4927
+ },
4928
+ "customFeatures": {
4929
+ "type": "google.protobuf.Struct",
4930
+ "id": 3
4931
+ }
4932
+ }
4933
+ },
3625
4934
  "EntityMapping": {
3626
4935
  "fields": {
3627
4936
  "sourceEntity": {
@@ -3663,6 +4972,130 @@
3663
4972
  }
3664
4973
  }
3665
4974
  },
4975
+ "EntityDdl": {
4976
+ "fields": {
4977
+ "ddlType": {
4978
+ "type": "string",
4979
+ "id": 1
4980
+ },
4981
+ "entity": {
4982
+ "type": "string",
4983
+ "id": 2
4984
+ },
4985
+ "ddl": {
4986
+ "type": "string",
4987
+ "id": 3
4988
+ },
4989
+ "entityType": {
4990
+ "type": "DatabaseEntityType",
4991
+ "id": 4
4992
+ },
4993
+ "issueId": {
4994
+ "rule": "repeated",
4995
+ "type": "string",
4996
+ "id": 100
4997
+ }
4998
+ }
4999
+ },
5000
+ "EntityIssue": {
5001
+ "oneofs": {
5002
+ "_ddl": {
5003
+ "oneof": [
5004
+ "ddl"
5005
+ ]
5006
+ },
5007
+ "_position": {
5008
+ "oneof": [
5009
+ "position"
5010
+ ]
5011
+ }
5012
+ },
5013
+ "fields": {
5014
+ "id": {
5015
+ "type": "string",
5016
+ "id": 1
5017
+ },
5018
+ "type": {
5019
+ "type": "IssueType",
5020
+ "id": 2
5021
+ },
5022
+ "severity": {
5023
+ "type": "IssueSeverity",
5024
+ "id": 3
5025
+ },
5026
+ "message": {
5027
+ "type": "string",
5028
+ "id": 4
5029
+ },
5030
+ "code": {
5031
+ "type": "string",
5032
+ "id": 5
5033
+ },
5034
+ "ddl": {
5035
+ "type": "string",
5036
+ "id": 6,
5037
+ "options": {
5038
+ "proto3_optional": true
5039
+ }
5040
+ },
5041
+ "position": {
5042
+ "type": "Position",
5043
+ "id": 7,
5044
+ "options": {
5045
+ "proto3_optional": true
5046
+ }
5047
+ },
5048
+ "entityType": {
5049
+ "type": "DatabaseEntityType",
5050
+ "id": 8
5051
+ }
5052
+ },
5053
+ "nested": {
5054
+ "IssueType": {
5055
+ "values": {
5056
+ "ISSUE_TYPE_UNSPECIFIED": 0,
5057
+ "ISSUE_TYPE_DDL": 1,
5058
+ "ISSUE_TYPE_APPLY": 2,
5059
+ "ISSUE_TYPE_CONVERT": 3
5060
+ }
5061
+ },
5062
+ "IssueSeverity": {
5063
+ "values": {
5064
+ "ISSUE_SEVERITY_UNSPECIFIED": 0,
5065
+ "ISSUE_SEVERITY_INFO": 1,
5066
+ "ISSUE_SEVERITY_WARNING": 2,
5067
+ "ISSUE_SEVERITY_ERROR": 3
5068
+ }
5069
+ },
5070
+ "Position": {
5071
+ "fields": {
5072
+ "line": {
5073
+ "type": "int32",
5074
+ "id": 1
5075
+ },
5076
+ "column": {
5077
+ "type": "int32",
5078
+ "id": 2
5079
+ },
5080
+ "offset": {
5081
+ "type": "int32",
5082
+ "id": 3
5083
+ },
5084
+ "length": {
5085
+ "type": "int32",
5086
+ "id": 4
5087
+ }
5088
+ }
5089
+ }
5090
+ }
5091
+ },
5092
+ "ValuePresentInList": {
5093
+ "values": {
5094
+ "VALUE_PRESENT_IN_LIST_UNSPECIFIED": 0,
5095
+ "VALUE_PRESENT_IN_LIST_IF_VALUE_LIST": 1,
5096
+ "VALUE_PRESENT_IN_LIST_IF_VALUE_NOT_LIST": 2
5097
+ }
5098
+ },
3666
5099
  "DatabaseEntityType": {
3667
5100
  "values": {
3668
5101
  "DATABASE_ENTITY_TYPE_UNSPECIFIED": 0,
@@ -3683,6 +5116,15 @@
3683
5116
  "DATABASE_ENTITY_TYPE_DATABASE": 15
3684
5117
  }
3685
5118
  },
5119
+ "EntityNameTransformation": {
5120
+ "values": {
5121
+ "ENTITY_NAME_TRANSFORMATION_UNSPECIFIED": 0,
5122
+ "ENTITY_NAME_TRANSFORMATION_NO_TRANSFORMATION": 1,
5123
+ "ENTITY_NAME_TRANSFORMATION_LOWER_CASE": 2,
5124
+ "ENTITY_NAME_TRANSFORMATION_UPPER_CASE": 3,
5125
+ "ENTITY_NAME_TRANSFORMATION_CAPITALIZED_CASE": 4
5126
+ }
5127
+ },
3686
5128
  "BackgroundJobType": {
3687
5129
  "values": {
3688
5130
  "BACKGROUND_JOB_TYPE_UNSPECIFIED": 0,
@@ -3698,6 +5140,23 @@
3698
5140
  "IMPORT_RULES_FILE_FORMAT_HARBOUR_BRIDGE_SESSION_FILE": 1,
3699
5141
  "IMPORT_RULES_FILE_FORMAT_ORATOPG_CONFIG_FILE": 2
3700
5142
  }
5143
+ },
5144
+ "ValueComparison": {
5145
+ "values": {
5146
+ "VALUE_COMPARISON_UNSPECIFIED": 0,
5147
+ "VALUE_COMPARISON_IF_VALUE_SMALLER_THAN": 1,
5148
+ "VALUE_COMPARISON_IF_VALUE_SMALLER_EQUAL_THAN": 2,
5149
+ "VALUE_COMPARISON_IF_VALUE_LARGER_THAN": 3,
5150
+ "VALUE_COMPARISON_IF_VALUE_LARGER_EQUAL_THAN": 4
5151
+ }
5152
+ },
5153
+ "NumericFilterOption": {
5154
+ "values": {
5155
+ "NUMERIC_FILTER_OPTION_UNSPECIFIED": 0,
5156
+ "NUMERIC_FILTER_OPTION_ALL": 1,
5157
+ "NUMERIC_FILTER_OPTION_LIMIT": 2,
5158
+ "NUMERIC_FILTER_OPTION_LIMITLESS": 3
5159
+ }
3701
5160
  }
3702
5161
  }
3703
5162
  }
@@ -5246,6 +6705,9 @@
5246
6705
  }
5247
6706
  }
5248
6707
  },
6708
+ "Empty": {
6709
+ "fields": {}
6710
+ },
5249
6711
  "Struct": {
5250
6712
  "fields": {
5251
6713
  "fields": {
@@ -5309,9 +6771,6 @@
5309
6771
  }
5310
6772
  }
5311
6773
  },
5312
- "Empty": {
5313
- "fields": {}
5314
- },
5315
6774
  "FieldMask": {
5316
6775
  "fields": {
5317
6776
  "paths": {