Database Migration v1 API - Class SetTablePrimaryKey (2.2.0)

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.

Inheritance

object > SetTablePrimaryKey

Namespace

Google.Cloud.CloudDms.V1

Assembly

Google.Cloud.CloudDms.V1.dll

Constructors

SetTablePrimaryKey()

public SetTablePrimaryKey()

SetTablePrimaryKey(SetTablePrimaryKey)

public SetTablePrimaryKey(SetTablePrimaryKey other)
Parameter
NameDescription
otherSetTablePrimaryKey

Properties

PrimaryKey

public string PrimaryKey { get; set; }

Optional. Name for the primary key

Property Value
TypeDescription
string

PrimaryKeyColumns

public RepeatedField<string> PrimaryKeyColumns { get; }

Required. List of column names for the primary key

Property Value
TypeDescription
RepeatedFieldstring