Cloud Database Migration Service V1 API - Class Google::Cloud::CloudDMS::V1::TriggerEntity (v0.6.0)

Reference documentation and code samples for the Cloud Database Migration Service V1 API class Google::Cloud::CloudDMS::V1::TriggerEntity.

Trigger is not used as an independent entity, it is retrieved as part of a Table entity.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#custom_features

def custom_features() -> ::Google::Protobuf::Struct
Returns

#custom_features=

def custom_features=(value) -> ::Google::Protobuf::Struct
Parameter
Returns

#name

def name() -> ::String
Returns
  • (::String) — The name of the trigger.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — The name of the trigger.
Returns
  • (::String) — The name of the trigger.

#sql_code

def sql_code() -> ::String
Returns
  • (::String) — The SQL code which creates the trigger.

#sql_code=

def sql_code=(value) -> ::String
Parameter
  • value (::String) — The SQL code which creates the trigger.
Returns
  • (::String) — The SQL code which creates the trigger.

#trigger_type

def trigger_type() -> ::String
Returns
  • (::String) — Indicates when the trigger fires, for example BEFORE STATEMENT, AFTER EACH ROW.

#trigger_type=

def trigger_type=(value) -> ::String
Parameter
  • value (::String) — Indicates when the trigger fires, for example BEFORE STATEMENT, AFTER EACH ROW.
Returns
  • (::String) — Indicates when the trigger fires, for example BEFORE STATEMENT, AFTER EACH ROW.

#triggering_events

def triggering_events() -> ::Array<::String>
Returns
  • (::Array<::String>) — The DML, DDL, or database events that fire the trigger, for example INSERT, UPDATE.

#triggering_events=

def triggering_events=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — The DML, DDL, or database events that fire the trigger, for example INSERT, UPDATE.
Returns
  • (::Array<::String>) — The DML, DDL, or database events that fire the trigger, for example INSERT, UPDATE.