Skip to content

Commit cc676b0

Browse files
feat: Automated regeneration of DataMigration client (googleapis#13006)
Auto-created at 2025-02-20 13:18:12 +0000 using the toys pull request generator.
1 parent 2aff3d2 commit cc676b0

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

clients/data_migration/lib/google_api/data_migration/v1/metadata.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ defmodule GoogleApi.DataMigration.V1 do
2020
API client metadata for GoogleApi.DataMigration.V1.
2121
"""
2222

23-
@discovery_revision "20250115"
23+
@discovery_revision "20250207"
2424

2525
def discovery_revision(), do: @discovery_revision
2626
end

clients/data_migration/lib/google_api/data_migration/v1/model/entity_ddl.ex

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@ defmodule GoogleApi.DataMigration.V1.Model.EntityDdl do
2222
## Attributes
2323
2424
* `ddl` (*type:* `String.t`, *default:* `nil`) - The actual ddl code.
25+
* `ddlKind` (*type:* `String.t`, *default:* `nil`) - The DDL Kind selected for apply, or SOURCE if getting the source tree.
2526
* `ddlType` (*type:* `String.t`, *default:* `nil`) - Type of DDL (Create, Alter).
27+
* `editedDdlKind` (*type:* `String.t`, *default:* `nil`) - If ddl_kind is USER_EDIT, this holds the DDL kind of the original content - DETERMINISTIC or AI. Otherwise, this is DDL_KIND_UNSPECIFIED.
2628
* `entity` (*type:* `String.t`, *default:* `nil`) - The name of the database entity the ddl refers to.
2729
* `entityType` (*type:* `String.t`, *default:* `nil`) - The entity type (if the DDL is for a sub entity).
2830
* `issueId` (*type:* `list(String.t)`, *default:* `nil`) - EntityIssues found for this ddl.
@@ -32,14 +34,18 @@ defmodule GoogleApi.DataMigration.V1.Model.EntityDdl do
3234

3335
@type t :: %__MODULE__{
3436
:ddl => String.t() | nil,
37+
:ddlKind => String.t() | nil,
3538
:ddlType => String.t() | nil,
39+
:editedDdlKind => String.t() | nil,
3640
:entity => String.t() | nil,
3741
:entityType => String.t() | nil,
3842
:issueId => list(String.t()) | nil
3943
}
4044

4145
field(:ddl)
46+
field(:ddlKind)
4247
field(:ddlType)
48+
field(:editedDdlKind)
4349
field(:entity)
4450
field(:entityType)
4551
field(:issueId, type: :list)

0 commit comments

Comments
 (0)