View Source GoogleApi.DataMigration.V1.Model.TriggerEntity (google_api_data_migration v0.11.0)

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

Attributes

  • customFeatures (type: map(), default: nil) - Custom engine specific features.
  • name (type: String.t, default: nil) - The name of the trigger.
  • sqlCode (type: String.t, default: nil) - The SQL code which creates the trigger.
  • triggerType (type: String.t, default: nil) - Indicates when the trigger fires, for example BEFORE STATEMENT, AFTER EACH ROW.
  • triggeringEvents (type: list(String.t), default: nil) - The DML, DDL, or database events that fire the trigger, for example INSERT, UPDATE.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.DataMigration.V1.Model.TriggerEntity{
  customFeatures: map() | nil,
  name: String.t() | nil,
  sqlCode: String.t() | nil,
  triggerType: String.t() | nil,
  triggeringEvents: [String.t()] | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.