Google Cloud Datastream V1 Client - Class SqlServerDdlConfig (2.7.0)

Reference documentation and code samples for the Google Cloud Datastream V1 Client class SqlServerDdlConfig.

DDL configuration for change tables.

Generated from protobuf message google.cloud.datastream.v1.SqlServerChangeTables.SqlServerDdlConfig

Namespace

Google \ Cloud \ Datastream \ V1 \ SqlServerChangeTables

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ auto_create_new_capture_instance_on_ddl bool

Optional. If set to true, Datastream will automatically create a new capture instance when DDL is detected on a table.The customer will be responsible for deleting it so that the next set of DDLs can be handled. The default is false and it means that DDL's will not be handled .

↳ auto_delete_old_capture_instance bool

Optional. If set to true, Datastream will automatically delete the old capture instance after creating a new one to support a DDL change. The default is false and means that the customer has to delete the old capture instance manually.

getAutoCreateNewCaptureInstanceOnDdl

Optional. If set to true, Datastream will automatically create a new capture instance when DDL is detected on a table.The customer will be responsible for deleting it so that the next set of DDLs can be handled.

The default is false and it means that DDL's will not be handled .

Returns
Type Description
bool

setAutoCreateNewCaptureInstanceOnDdl

Optional. If set to true, Datastream will automatically create a new capture instance when DDL is detected on a table.The customer will be responsible for deleting it so that the next set of DDLs can be handled.

The default is false and it means that DDL's will not be handled .

Parameter
Name Description
var bool
Returns
Type Description
$this

getAutoDeleteOldCaptureInstance

Optional. If set to true, Datastream will automatically delete the old capture instance after creating a new one to support a DDL change. The default is false and means that the customer has to delete the old capture instance manually.

Returns
Type Description
bool

setAutoDeleteOldCaptureInstance

Optional. If set to true, Datastream will automatically delete the old capture instance after creating a new one to support a DDL change. The default is false and means that the customer has to delete the old capture instance manually.

Parameter
Name Description
var bool
Returns
Type Description
$this