Class SetDraftEntityDdlRequest
Request message for DataMigrationService.SetDraftEntityDdl.
Implements
Inherited Members
Namespace: Google.Apis.DatabaseMigrationService.v1.Data
Assembly: Google.Apis.DatabaseMigrationService.v1.dll
Syntax
public class SetDraftEntityDdlRequest : IDirectResponseSchema
Properties
BasedOnDdlKind
Optional. Which DDL (Deterministic/AI) the updated DDL is based on. Defaults to DETERMINISTIC if not specified.
Declaration
[JsonProperty("basedOnDdlKind")]
public virtual string BasedOnDdlKind { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Ddl
Required. The DDL to set.
Declaration
[JsonProperty("ddl")]
public virtual string Ddl { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
DdlKind
Optional. The updated DDL Kind. Can be either USER_EDIT (default) or AI.
Declaration
[JsonProperty("ddlKind")]
public virtual string DdlKind { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
EntityName
Required. The draft entity full name from the tree. .
Declaration
[JsonProperty("entityName")]
public virtual string EntityName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
EntityType
Required. The type of the database entity (table, view, index, ...).
Declaration
[JsonProperty("entityType")]
public virtual string EntityType { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Explanation
Optional. An optional explanation of the generated DDL if ddl_kind is AI.
Declaration
[JsonProperty("explanation")]
public virtual string Explanation { get; set; }
Property Value
| Type | Description |
|---|---|
| string |