Google Cloud Dms V1 Client - Class TableEntity (1.2.1)

Reference documentation and code samples for the Google Cloud Dms V1 Client class TableEntity.

Table's parent is a schema.

Generated from protobuf message google.cloud.clouddms.v1.TableEntity

Namespace

Google \ Cloud \ CloudDms \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ columns array<Google\Cloud\CloudDms\V1\ColumnEntity>

Table columns.

↳ constraints array<Google\Cloud\CloudDms\V1\ConstraintEntity>

Table constraints.

↳ indices array<Google\Cloud\CloudDms\V1\IndexEntity>

Table indices.

↳ triggers array<Google\Cloud\CloudDms\V1\TriggerEntity>

Table triggers.

↳ custom_features Google\Protobuf\Struct

Custom engine specific features.

↳ comment string

Comment associated with the table.

getColumns

Table columns.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setColumns

Table columns.

Parameter
NameDescription
var array<Google\Cloud\CloudDms\V1\ColumnEntity>
Returns
TypeDescription
$this

getConstraints

Table constraints.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setConstraints

Table constraints.

Parameter
NameDescription
var array<Google\Cloud\CloudDms\V1\ConstraintEntity>
Returns
TypeDescription
$this

getIndices

Table indices.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setIndices

Table indices.

Parameter
NameDescription
var array<Google\Cloud\CloudDms\V1\IndexEntity>
Returns
TypeDescription
$this

getTriggers

Table triggers.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setTriggers

Table triggers.

Parameter
NameDescription
var array<Google\Cloud\CloudDms\V1\TriggerEntity>
Returns
TypeDescription
$this

getCustomFeatures

Custom engine specific features.

Returns
TypeDescription
Google\Protobuf\Struct|null

hasCustomFeatures

clearCustomFeatures

setCustomFeatures

Custom engine specific features.

Parameter
NameDescription
var Google\Protobuf\Struct
Returns
TypeDescription
$this

getComment

Comment associated with the table.

Returns
TypeDescription
string

setComment

Comment associated with the table.

Parameter
NameDescription
var string
Returns
TypeDescription
$this