Class GoogleCloudDataplexV1TaskTriggerSpec
Task scheduling and trigger settings.
Implements
Inherited Members
Namespace: Google.Apis.CloudDataplex.v1.Data
Assembly: Google.Apis.CloudDataplex.v1.dll
Syntax
public class GoogleCloudDataplexV1TaskTriggerSpec : IDirectResponseSchema
Properties
Disabled
Optional. Prevent the task from executing. This does not cancel already running tasks. It is intended to temporarily disable RECURRING tasks.
Declaration
[JsonProperty("disabled")]
public virtual bool? Disabled { get; set; }
Property Value
Type | Description |
---|---|
bool? |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
MaxRetries
Optional. Number of retry attempts before aborting. Set to zero to never attempt to retry a failed task.
Declaration
[JsonProperty("maxRetries")]
public virtual int? MaxRetries { get; set; }
Property Value
Type | Description |
---|---|
int? |
Schedule
Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron) for running tasks periodically. To explicitly set a timezone to the cron tab, apply a prefix in the cron tab: "CRON_TZ=${IANA_TIME_ZONE}" or "TZ=${IANA_TIME_ZONE}". The ${IANA_TIME_ZONE} may only be a valid string from IANA time zone database. For example, CRON_TZ=America/New_York 1 * * * *, or TZ=America/New_York 1 * * * *. This field is required for RECURRING tasks.
Declaration
[JsonProperty("schedule")]
public virtual string Schedule { get; set; }
Property Value
Type | Description |
---|---|
string |
StartTime
object representation of StartTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use StartTimeDateTimeOffset instead.")]
public virtual object StartTime { get; set; }
Property Value
Type | Description |
---|---|
object |
StartTimeDateTimeOffset
DateTimeOffset representation of StartTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? StartTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
StartTimeRaw
Optional. The first run of the task will be after this time. If not specified, the task will run shortly after being submitted if ON_DEMAND and based on the schedule if RECURRING.
Declaration
[JsonProperty("startTime")]
public virtual string StartTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
Type
Required. Immutable. Trigger type of the user-specified Task.
Declaration
[JsonProperty("type")]
public virtual string Type { get; set; }
Property Value
Type | Description |
---|---|
string |