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.
Implements
IMessageTriggerEntity, IEquatableTriggerEntity, IDeepCloneableTriggerEntity, IBufferMessage, IMessageNamespace
Google.Cloud.CloudDms.V1Assembly
Google.Cloud.CloudDms.V1.dll
Constructors
TriggerEntity()
public TriggerEntity()
TriggerEntity(TriggerEntity)
public TriggerEntity(TriggerEntity other)
Parameter | |
---|---|
Name | Description |
other | TriggerEntity |
Properties
CustomFeatures
public Struct CustomFeatures { get; set; }
Custom engine specific features.
Property Value | |
---|---|
Type | Description |
Struct |
Name
public string Name { get; set; }
The name of the trigger.
Property Value | |
---|---|
Type | Description |
string |
SqlCode
public string SqlCode { get; set; }
The SQL code which creates the trigger.
Property Value | |
---|---|
Type | Description |
string |
TriggeringEvents
public RepeatedField<string> TriggeringEvents { get; }
The DML, DDL, or database events that fire the trigger, for example INSERT, UPDATE.
Property Value | |
---|---|
Type | Description |
RepeatedFieldstring |
TriggerType
public string TriggerType { get; set; }
Indicates when the trigger fires, for example BEFORE STATEMENT, AFTER EACH ROW.
Property Value | |
---|---|
Type | Description |
string |