Class: Google::Cloud::CloudDMS::V1::SetTablePrimaryKey

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/clouddms/v1/conversionworkspace_resources.rb

Overview

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.

Instance Attribute Summary collapse

Instance Attribute Details

#primary_key::String

Returns Optional. Name for the primary key.

Returns:

  • (::String)

    Optional. Name for the primary key



614
615
616
617
# File 'proto_docs/google/cloud/clouddms/v1/conversionworkspace_resources.rb', line 614

class SetTablePrimaryKey
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#primary_key_columns::Array<::String>

Returns Required. List of column names for the primary key.

Returns:

  • (::Array<::String>)

    Required. List of column names for the primary key



614
615
616
617
# File 'proto_docs/google/cloud/clouddms/v1/conversionworkspace_resources.rb', line 614

class SetTablePrimaryKey
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end