Class: Google::Cloud::CloudDMS::V1::TriggerEntity

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/clouddms/v1/conversionworkspace_resources.rb

Overview

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

Instance Attribute Summary collapse

Instance Attribute Details

#custom_features::Google::Protobuf::Struct

Returns Custom engine specific features.

Returns:



1013
1014
1015
1016
# File 'proto_docs/google/cloud/clouddms/v1/conversionworkspace_resources.rb', line 1013

class TriggerEntity
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#name::String

Returns The name of the trigger.

Returns:

  • (::String)

    The name of the trigger.



1013
1014
1015
1016
# File 'proto_docs/google/cloud/clouddms/v1/conversionworkspace_resources.rb', line 1013

class TriggerEntity
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#sql_code::String

Returns The SQL code which creates the trigger.

Returns:

  • (::String)

    The SQL code which creates the trigger.



1013
1014
1015
1016
# File 'proto_docs/google/cloud/clouddms/v1/conversionworkspace_resources.rb', line 1013

class TriggerEntity
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#trigger_type::String

Returns 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.



1013
1014
1015
1016
# File 'proto_docs/google/cloud/clouddms/v1/conversionworkspace_resources.rb', line 1013

class TriggerEntity
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#triggering_events::Array<::String>

Returns 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.



1013
1014
1015
1016
# File 'proto_docs/google/cloud/clouddms/v1/conversionworkspace_resources.rb', line 1013

class TriggerEntity
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end