Reference documentation and code samples for the Cloud Database Migration Service V1 API class Google::Cloud::CloudDMS::V1::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.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#primary_key
def primary_key() -> ::String
    Returns
    
  - (::String) — Optional. Name for the primary key
#primary_key=
def primary_key=(value) -> ::String
    Parameter
    
  - value (::String) — Optional. Name for the primary key
    Returns
    
  - (::String) — Optional. Name for the primary key
#primary_key_columns
def primary_key_columns() -> ::Array<::String>
    Returns
    
  - (::Array<::String>) — Required. List of column names for the primary key
#primary_key_columns=
def primary_key_columns=(value) -> ::Array<::String>
    Parameter
    
  - value (::Array<::String>) — Required. List of column names for the primary key
    Returns
    
- (::Array<::String>) — Required. List of column names for the primary key