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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["This webpage provides documentation for the `SetTablePrimaryKey` class within the Google Cloud Database Migration v1 API."],["`SetTablePrimaryKey` is a rule type used to configure or alter the primary key of a table, specifying the columns and name."],["The latest version of this documentation is 2.5.0, with versions available from 1.0.0 onwards, including the 2.2.0 version detailed on this page."],["The class includes properties `PrimaryKey` for the primary key's name and `PrimaryKeyColumns` for a list of column names within the primary key."],["The `SetTablePrimaryKey` class inherits from the [object] class, and implements `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."]]],[]]