public sealed class SetTablePrimaryKey : IMessage<SetTablePrimaryKey>, IEquatable<SetTablePrimaryKey>, IDeepCloneable<SetTablePrimaryKey>, IBufferMessage, IMessage
Reference documentation and code samples for the Database Migration v1 API 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
IMessageSetTablePrimaryKey, IEquatableSetTablePrimaryKey, IDeepCloneableSetTablePrimaryKey, IBufferMessage, IMessageNamespace
Google.Cloud.CloudDms.V1Assembly
Google.Cloud.CloudDms.V1.dll
Constructors
SetTablePrimaryKey()
public SetTablePrimaryKey()
SetTablePrimaryKey(SetTablePrimaryKey)
public SetTablePrimaryKey(SetTablePrimaryKey other)
Parameter | |
---|---|
Name | Description |
other | SetTablePrimaryKey |
Properties
PrimaryKey
public string PrimaryKey { get; set; }
Optional. Name for the primary key
Property Value | |
---|---|
Type | Description |
string |
PrimaryKeyColumns
public RepeatedField<string> PrimaryKeyColumns { get; }
Required. List of column names for the primary key
Property Value | |
---|---|
Type | Description |
RepeatedFieldstring |