Skip to content

Commit 0fec258

Browse files
feat(datamigration): update the api
#### datamigration:v1 The following keys were added: - schemas.MappingRule.properties.setTablePrimaryKey.deprecated (Total Keys: 1) - schemas.SetTablePrimaryKey.deprecated (Total Keys: 1)
1 parent 6a83aa4 commit 0fec258

3 files changed

Lines changed: 14 additions & 12 deletions

File tree

docs/dyn/datamigration_v1.projects.locations.conversionWorkspaces.mappingRules.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ <h3>Method Details</h3>
217217
&quot;revisionId&quot;: &quot;A String&quot;, # Output only. The revision ID of the mapping rule. A new revision is committed whenever the mapping rule is changed in any way. The format is an 8-character hexadecimal string.
218218
&quot;ruleOrder&quot;: &quot;A String&quot;, # Required. The order in which the rule is applied. Lower order rules are applied before higher value rules so they may end up being overridden.
219219
&quot;ruleScope&quot;: &quot;A String&quot;, # Required. The rule scope
220-
&quot;setTablePrimaryKey&quot;: { # Options to configure rule type SetTablePrimaryKey. The rule is used to specify the columns and name to configure/alter the primary key of a table. The rule filter field can refer to one entity. The rule scope can be one of: Table. # Optional. Rule to specify the primary key for a table
220+
&quot;setTablePrimaryKey&quot;: { # Deprecated: Options to configure rule type SetTablePrimaryKey. The rule is used to specify the columns and name to configure/alter the primary key of a table. The rule filter field can refer to one entity. The rule scope can be one of: Table. # Optional. Deprecated: This rule is no longer supported.
221221
&quot;primaryKey&quot;: &quot;A String&quot;, # Optional. Name for the primary key
222222
&quot;primaryKeyColumns&quot;: [ # Required. List of column names for the primary key
223223
&quot;A String&quot;,
@@ -374,7 +374,7 @@ <h3>Method Details</h3>
374374
&quot;revisionId&quot;: &quot;A String&quot;, # Output only. The revision ID of the mapping rule. A new revision is committed whenever the mapping rule is changed in any way. The format is an 8-character hexadecimal string.
375375
&quot;ruleOrder&quot;: &quot;A String&quot;, # Required. The order in which the rule is applied. Lower order rules are applied before higher value rules so they may end up being overridden.
376376
&quot;ruleScope&quot;: &quot;A String&quot;, # Required. The rule scope
377-
&quot;setTablePrimaryKey&quot;: { # Options to configure rule type SetTablePrimaryKey. The rule is used to specify the columns and name to configure/alter the primary key of a table. The rule filter field can refer to one entity. The rule scope can be one of: Table. # Optional. Rule to specify the primary key for a table
377+
&quot;setTablePrimaryKey&quot;: { # Deprecated: Options to configure rule type SetTablePrimaryKey. The rule is used to specify the columns and name to configure/alter the primary key of a table. The rule filter field can refer to one entity. The rule scope can be one of: Table. # Optional. Deprecated: This rule is no longer supported.
378378
&quot;primaryKey&quot;: &quot;A String&quot;, # Optional. Name for the primary key
379379
&quot;primaryKeyColumns&quot;: [ # Required. List of column names for the primary key
380380
&quot;A String&quot;,
@@ -555,7 +555,7 @@ <h3>Method Details</h3>
555555
&quot;revisionId&quot;: &quot;A String&quot;, # Output only. The revision ID of the mapping rule. A new revision is committed whenever the mapping rule is changed in any way. The format is an 8-character hexadecimal string.
556556
&quot;ruleOrder&quot;: &quot;A String&quot;, # Required. The order in which the rule is applied. Lower order rules are applied before higher value rules so they may end up being overridden.
557557
&quot;ruleScope&quot;: &quot;A String&quot;, # Required. The rule scope
558-
&quot;setTablePrimaryKey&quot;: { # Options to configure rule type SetTablePrimaryKey. The rule is used to specify the columns and name to configure/alter the primary key of a table. The rule filter field can refer to one entity. The rule scope can be one of: Table. # Optional. Rule to specify the primary key for a table
558+
&quot;setTablePrimaryKey&quot;: { # Deprecated: Options to configure rule type SetTablePrimaryKey. The rule is used to specify the columns and name to configure/alter the primary key of a table. The rule filter field can refer to one entity. The rule scope can be one of: Table. # Optional. Deprecated: This rule is no longer supported.
559559
&quot;primaryKey&quot;: &quot;A String&quot;, # Optional. Name for the primary key
560560
&quot;primaryKeyColumns&quot;: [ # Required. List of column names for the primary key
561561
&quot;A String&quot;,
@@ -770,7 +770,7 @@ <h3>Method Details</h3>
770770
&quot;revisionId&quot;: &quot;A String&quot;, # Output only. The revision ID of the mapping rule. A new revision is committed whenever the mapping rule is changed in any way. The format is an 8-character hexadecimal string.
771771
&quot;ruleOrder&quot;: &quot;A String&quot;, # Required. The order in which the rule is applied. Lower order rules are applied before higher value rules so they may end up being overridden.
772772
&quot;ruleScope&quot;: &quot;A String&quot;, # Required. The rule scope
773-
&quot;setTablePrimaryKey&quot;: { # Options to configure rule type SetTablePrimaryKey. The rule is used to specify the columns and name to configure/alter the primary key of a table. The rule filter field can refer to one entity. The rule scope can be one of: Table. # Optional. Rule to specify the primary key for a table
773+
&quot;setTablePrimaryKey&quot;: { # Deprecated: Options to configure rule type SetTablePrimaryKey. The rule is used to specify the columns and name to configure/alter the primary key of a table. The rule filter field can refer to one entity. The rule scope can be one of: Table. # Optional. Deprecated: This rule is no longer supported.
774774
&quot;primaryKey&quot;: &quot;A String&quot;, # Optional. Name for the primary key
775775
&quot;primaryKeyColumns&quot;: [ # Required. List of column names for the primary key
776776
&quot;A String&quot;,

googleapiclient/discovery_cache/documents/datamigration.v1.json

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2587,7 +2587,7 @@
25872587
}
25882588
}
25892589
},
2590-
"revision": "20260620",
2590+
"revision": "20260718",
25912591
"rootUrl": "https://datamigration.googleapis.com/",
25922592
"schemas": {
25932593
"AlloyDbConnectionProfile": {
@@ -4338,7 +4338,7 @@
43384338
"type": "object"
43394339
},
43404340
"reason": {
4341-
"description": "The reason of the error. This is a constant value that identifies the proximate cause of the error. Error reasons are unique within a particular domain of errors. This should be at most 63 characters and match a regular expression of `A-Z+[A-Z0-9]`, which represents UPPER_SNAKE_CASE.",
4341+
"description": "The reason for the error. This is a constant value that identifies the proximate cause of the error. Error reasons are unique within a particular domain of errors. This should be at most 63 characters and match a regular expression of `A-Z+[A-Z0-9]`, which represents UPPER_SNAKE_CASE.",
43424342
"type": "string"
43434343
}
43444344
},
@@ -4402,7 +4402,7 @@
44024402
"description": "Provides a localized error message for field-level errors that is safe to return to the API consumer."
44034403
},
44044404
"reason": {
4405-
"description": "The reason of the field-level error. This is a constant value that identifies the proximate cause of the field-level error. It should uniquely identify the type of the FieldViolation within the scope of the google.rpc.ErrorInfo.domain. This should be at most 63 characters and match a regular expression of `A-Z+[A-Z0-9]`, which represents UPPER_SNAKE_CASE.",
4405+
"description": "The reason for the field-level error. This is a constant value that identifies the proximate cause of the field-level error. It should uniquely identify the type of the FieldViolation within the scope of the google.rpc.ErrorInfo.domain. This should be at most 63 characters and match a regular expression of `A-Z+[A-Z0-9]`, which represents UPPER_SNAKE_CASE.",
44064406
"type": "string"
44074407
}
44084408
},
@@ -5145,7 +5145,8 @@
51455145
},
51465146
"setTablePrimaryKey": {
51475147
"$ref": "SetTablePrimaryKey",
5148-
"description": "Optional. Rule to specify the primary key for a table"
5148+
"deprecated": true,
5149+
"description": "Optional. Deprecated: This rule is no longer supported."
51495150
},
51505151
"singleColumnChange": {
51515152
"$ref": "SingleColumnChange",
@@ -6748,7 +6749,8 @@
67486749
"type": "object"
67496750
},
67506751
"SetTablePrimaryKey": {
6751-
"description": "Options to configure rule type SetTablePrimaryKey. The rule is used to specify the columns and name to configure/alter the primary key of a table. The rule filter field can refer to one entity. The rule scope can be one of: Table.",
6752+
"deprecated": true,
6753+
"description": "Deprecated: Options to configure rule type SetTablePrimaryKey. The rule is used to specify the columns and name to configure/alter the primary key of a table. The rule filter field can refer to one entity. The rule scope can be one of: Table.",
67526754
"id": "SetTablePrimaryKey",
67536755
"properties": {
67546756
"primaryKey": {

googleapiclient/discovery_cache/documents/datamigration.v1beta1.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1297,7 +1297,7 @@
12971297
}
12981298
}
12991299
},
1300-
"revision": "20260511",
1300+
"revision": "20260718",
13011301
"rootUrl": "https://datamigration.googleapis.com/",
13021302
"schemas": {
13031303
"AuditConfig": {
@@ -1678,7 +1678,7 @@
16781678
"type": "object"
16791679
},
16801680
"reason": {
1681-
"description": "The reason of the error. This is a constant value that identifies the proximate cause of the error. Error reasons are unique within a particular domain of errors. This should be at most 63 characters and match a regular expression of `A-Z+[A-Z0-9]`, which represents UPPER_SNAKE_CASE.",
1681+
"description": "The reason for the error. This is a constant value that identifies the proximate cause of the error. Error reasons are unique within a particular domain of errors. This should be at most 63 characters and match a regular expression of `A-Z+[A-Z0-9]`, which represents UPPER_SNAKE_CASE.",
16821682
"type": "string"
16831683
}
16841684
},
@@ -1724,7 +1724,7 @@
17241724
"description": "Provides a localized error message for field-level errors that is safe to return to the API consumer."
17251725
},
17261726
"reason": {
1727-
"description": "The reason of the field-level error. This is a constant value that identifies the proximate cause of the field-level error. It should uniquely identify the type of the FieldViolation within the scope of the google.rpc.ErrorInfo.domain. This should be at most 63 characters and match a regular expression of `A-Z+[A-Z0-9]`, which represents UPPER_SNAKE_CASE.",
1727+
"description": "The reason for the field-level error. This is a constant value that identifies the proximate cause of the field-level error. It should uniquely identify the type of the FieldViolation within the scope of the google.rpc.ErrorInfo.domain. This should be at most 63 characters and match a regular expression of `A-Z+[A-Z0-9]`, which represents UPPER_SNAKE_CASE.",
17281728
"type": "string"
17291729
}
17301730
},

0 commit comments

Comments
 (0)