3.16.0 (latest) 3.15.0 3.14.0 3.13.0 3.12.0 3.11.0 3.10.0 3.9.0 3.8.0 3.7.0 3.6.0 3.5.0 3.4.0 3.3.0 3.2.0 3.1.0 3.0.0 2.15.0 2.14.0 2.13.0 2.12.0 2.11.0 2.10.0 2.9.0 2.8.0 2.7.0 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.0.0

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

Reference documentation and code samples for the Cloud Dataplex v1 API class Trigger.

DataScan scheduling and trigger settings.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> Trigger

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[Trigger](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataplex.V1/latest/Google.Cloud.Dataplex.V1.Trigger.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Trigger](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataplex.V1/latest/Google.Cloud.Dataplex.V1.Trigger.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[Trigger](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataplex.V1/latest/Google.Cloud.Dataplex.V1.Trigger.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Dataplex.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataplex.V1/latest/Google.Cloud.Dataplex.V1.md.txt)

## Assembly

Google.Cloud.Dataplex.V1.dll

## Constructors

### Trigger()

    public Trigger()

### Trigger(Trigger)

    public Trigger(Trigger other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `Trigger` |

## Properties

### ModeCase

    public Trigger.ModeOneofCase ModeCase { get; }

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `TriggerModeOneofCase` |   |

### OnDemand

    public Trigger.Types.OnDemand OnDemand { get; set; }

The scan runs once via `RunDataScan` API.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `TriggerTypesOnDemand` |   |

### OneTime

    public Trigger.Types.OneTime OneTime { get; set; }

The scan runs once, and does not create an associated ScanJob child
resource.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `TriggerTypesOneTime` |   |

### Schedule

    public Trigger.Types.Schedule Schedule { get; set; }

The scan is scheduled to run periodically.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `TriggerTypesSchedule` |   |