Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit d218f6c

Browse files
committedFeb 25, 2025
feat(datamigration): update the api
#### datamigration:v1 The following keys were added: - schemas.EntityDdl.properties.ddlKind.type (Total Keys: 1) - schemas.EntityDdl.properties.editedDdlKind.type (Total Keys: 1)
1 parent a73e958 commit d218f6c

File tree

2 files changed

+39
-1
lines changed

2 files changed

+39
-1
lines changed
 

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

+2
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,9 @@ <h3>Method Details</h3>
467467
&quot;entityDdl&quot;: [ # Details about the entity DDL script. Multiple DDL scripts are provided for child entities such as a table entity will have one DDL for the table with additional DDLs for each index, constraint and such.
468468
{ # A single DDL statement for a specific entity
469469
&quot;ddl&quot;: &quot;A String&quot;, # The actual ddl code.
470+
&quot;ddlKind&quot;: &quot;A String&quot;, # The DDL Kind selected for apply, or SOURCE if getting the source tree.
470471
&quot;ddlType&quot;: &quot;A String&quot;, # Type of DDL (Create, Alter).
472+
&quot;editedDdlKind&quot;: &quot;A String&quot;, # If ddl_kind is USER_EDIT, this holds the DDL kind of the original content - DETERMINISTIC or AI. Otherwise, this is DDL_KIND_UNSPECIFIED.
471473
&quot;entity&quot;: &quot;A String&quot;, # The name of the database entity the ddl refers to.
472474
&quot;entityType&quot;: &quot;A String&quot;, # The entity type (if the DDL is for a sub entity).
473475
&quot;issueId&quot;: [ # EntityIssues found for this ddl.

‎googleapiclient/discovery_cache/documents/datamigration.v1.json

+37-1
Original file line numberDiff line numberDiff line change
@@ -2332,7 +2332,7 @@
23322332
}
23332333
}
23342334
},
2335-
"revision": "20250122",
2335+
"revision": "20250207",
23362336
"rootUrl": "https://datamigration.googleapis.com/",
23372337
"schemas": {
23382338
"AlloyDbConnectionProfile": {
@@ -3651,10 +3651,46 @@
36513651
"description": "The actual ddl code.",
36523652
"type": "string"
36533653
},
3654+
"ddlKind": {
3655+
"description": "The DDL Kind selected for apply, or SOURCE if getting the source tree.",
3656+
"enum": [
3657+
"DDL_KIND_UNSPECIFIED",
3658+
"SOURCE",
3659+
"DETERMINISTIC",
3660+
"AI",
3661+
"USER_EDIT"
3662+
],
3663+
"enumDescriptions": [
3664+
"The kind of the DDL is unknown.",
3665+
"DDL of the source entity",
3666+
"Deterministic converted DDL",
3667+
"Gemini AI converted DDL",
3668+
"User edited DDL"
3669+
],
3670+
"type": "string"
3671+
},
36543672
"ddlType": {
36553673
"description": "Type of DDL (Create, Alter).",
36563674
"type": "string"
36573675
},
3676+
"editedDdlKind": {
3677+
"description": "If ddl_kind is USER_EDIT, this holds the DDL kind of the original content - DETERMINISTIC or AI. Otherwise, this is DDL_KIND_UNSPECIFIED.",
3678+
"enum": [
3679+
"DDL_KIND_UNSPECIFIED",
3680+
"SOURCE",
3681+
"DETERMINISTIC",
3682+
"AI",
3683+
"USER_EDIT"
3684+
],
3685+
"enumDescriptions": [
3686+
"The kind of the DDL is unknown.",
3687+
"DDL of the source entity",
3688+
"Deterministic converted DDL",
3689+
"Gemini AI converted DDL",
3690+
"User edited DDL"
3691+
],
3692+
"type": "string"
3693+
},
36583694
"entity": {
36593695
"description": "The name of the database entity the ddl refers to.",
36603696
"type": "string"

0 commit comments

Comments
 (0)
Please sign in to comment.