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."],[[["The latest version of the `SetTablePrimaryKey` class in the Database Migration v1 API is 2.5.0, with versions ranging back to 1.0.0 available."],["`SetTablePrimaryKey` is a rule type used to configure or alter the primary key of a table, specifying both the columns and name."],["This class implements interfaces such as `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, enabling it to function within the Google Cloud Protobuf ecosystem."],["`SetTablePrimaryKey` has two main properties: `PrimaryKey`, which allows setting an optional name for the primary key, and `PrimaryKeyColumns`, which requires a list of column names."],["The scope of the rule is one of table, meaning the rule can refer to one entity."]]],[]]