Reference documentation and code samples for the Google Cloud Dms V1 Client class TriggerEntity.
Trigger is not used as an independent entity, it is retrieved as part of a Table entity.
Generated from protobuf message google.cloud.clouddms.v1.TriggerEntity
Namespace
Google \ Cloud \ CloudDms \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
The name of the trigger.
↳ triggering_events
array
The DML, DDL, or database events that fire the trigger, for example INSERT, UPDATE.
↳ trigger_type
string
Indicates when the trigger fires, for example BEFORE STATEMENT, AFTER EACH ROW.
↳ sql_code
string
The SQL code which creates the trigger.
↳ custom_features
getName
The name of the trigger.
string
setName
The name of the trigger.
var
string
$this
getTriggeringEvents
The DML, DDL, or database events that fire the trigger, for example INSERT, UPDATE.
setTriggeringEvents
The DML, DDL, or database events that fire the trigger, for example INSERT, UPDATE.
var
string[]
$this
getTriggerType
Indicates when the trigger fires, for example BEFORE STATEMENT, AFTER EACH ROW.
string
setTriggerType
Indicates when the trigger fires, for example BEFORE STATEMENT, AFTER EACH ROW.
var
string
$this
getSqlCode
The SQL code which creates the trigger.
string
setSqlCode
The SQL code which creates the trigger.
var
string
$this
getCustomFeatures
Custom engine specific features.
hasCustomFeatures
clearCustomFeatures
setCustomFeatures
Custom engine specific features.
$this