Database Migration v1 API - Class TriggerEntity (2.1.0)

public sealed class TriggerEntity : IMessage<TriggerEntity>, IEquatable<TriggerEntity>, IDeepCloneable<TriggerEntity>, IBufferMessage, IMessage

Reference documentation and code samples for the Database Migration v1 API class TriggerEntity.

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

Inheritance

object > TriggerEntity

Namespace

Google.Cloud.CloudDms.V1

Assembly

Google.Cloud.CloudDms.V1.dll

Constructors

TriggerEntity()

public TriggerEntity()

TriggerEntity(TriggerEntity)

public TriggerEntity(TriggerEntity other)
Parameter
NameDescription
otherTriggerEntity

Properties

CustomFeatures

public Struct CustomFeatures { get; set; }

Custom engine specific features.

Property Value
TypeDescription
Struct

Name

public string Name { get; set; }

The name of the trigger.

Property Value
TypeDescription
string

SqlCode

public string SqlCode { get; set; }

The SQL code which creates the trigger.

Property Value
TypeDescription
string

TriggeringEvents

public RepeatedField<string> TriggeringEvents { get; }

The DML, DDL, or database events that fire the trigger, for example INSERT, UPDATE.

Property Value
TypeDescription
RepeatedFieldstring

TriggerType

public string TriggerType { get; set; }

Indicates when the trigger fires, for example BEFORE STATEMENT, AFTER EACH ROW.

Property Value
TypeDescription
string