Google Cloud Dms V1 Client - Class ViewEntity (1.3.0)

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

View's parent is a schema.

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

Namespace

Google \ Cloud \ CloudDms \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ sql_code string

The SQL code which creates the view.

↳ custom_features Google\Protobuf\Struct

Custom engine specific features.

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

View constraints.

getSqlCode

The SQL code which creates the view.

Returns
TypeDescription
string

setSqlCode

The SQL code which creates the view.

Parameter
NameDescription
var string
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

getConstraints

View constraints.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setConstraints

View constraints.

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