Google Cloud Dms V1 Client - Class TableEntity (2.0.0)

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
Name Description
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
Type Description
Google\Protobuf\Internal\RepeatedField

setColumns

Table columns.

Parameter
Name Description
var array<Google\Cloud\CloudDms\V1\ColumnEntity>
Returns
Type Description
$this

getConstraints

Table constraints.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setConstraints

Table constraints.

Parameter
Name Description
var array<Google\Cloud\CloudDms\V1\ConstraintEntity>
Returns
Type Description
$this

getIndices

Table indices.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setIndices

Table indices.

Parameter
Name Description
var array<Google\Cloud\CloudDms\V1\IndexEntity>
Returns
Type Description
$this

getTriggers

Table triggers.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setTriggers

Table triggers.

Parameter
Name Description
var array<Google\Cloud\CloudDms\V1\TriggerEntity>
Returns
Type Description
$this

getCustomFeatures

Custom engine specific features.

Returns
Type Description
Google\Protobuf\Struct|null

hasCustomFeatures

clearCustomFeatures

setCustomFeatures

Custom engine specific features.

Parameter
Name Description
var Google\Protobuf\Struct
Returns
Type Description
$this

getComment

Comment associated with the table.

Returns
Type Description
string

setComment

Comment associated with the table.

Parameter
Name Description
var string
Returns
Type Description
$this