Class SetTablePrimaryKey
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.
Implements
Inherited Members
Namespace: Google.Apis.DatabaseMigrationService.v1.Data
Assembly: Google.Apis.DatabaseMigrationService.v1.dll
Syntax
public class SetTablePrimaryKey : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
PrimaryKey
Optional. Name for the primary key
Declaration
[JsonProperty("primaryKey")]
public virtual string PrimaryKey { get; set; }
Property Value
Type | Description |
---|---|
string |
PrimaryKeyColumns
Required. List of column names for the primary key
Declaration
[JsonProperty("primaryKeyColumns")]
public virtual IList<string> PrimaryKeyColumns { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |