SDK reference / Models / Jobs
Schedule
Kind: class
Namespace: Egulu.Sdk.Models.Jobs
A recurring cron schedule that creates Jobs (ADR-0407).
Properties
| Name | Type | JSON name | Description |
|---|---|---|---|
Annotations | Models.Jobs.Schedule_annotations? | annotations | At most 256 KiB in all; never policy input. |
Args | List<string>? | args | Shorthand arguments array when jobTemplate is omitted. |
Command | List<string>? | command | Shorthand command array when jobTemplate is omitted. |
ConcurrencyPolicy | Models.Jobs.ScheduleConcurrencyPolicy? | concurrencyPolicy | What happens when the previous run has not finished at the next firing (default ALLOW). |
CreateTime | DateTimeOffset? | createTime | The createTime property |
Cron | string? | cron | Standard 5-field cron expression (minute hour day-of-month month day-of-week). |
Deadline | string? | deadline | Execution deadline shorthand when jobTemplate is omitted. |
DeleteTime | DateTimeOffset? | deleteTime | The deleteTime property |
DisplayName | string? | displayName | Up to 63 characters. |
Etag | string? | etag | "{generation}"; send it back in If-Match. |
Image | string? | image | Shorthand container image when jobTemplate is omitted (for example from the CLI). |
JobTemplate | Models.Jobs.JobTemplate? | jobTemplate | Template for jobs spawned by this schedule. |
Labels | Models.Jobs.Schedule_labels? | labels | At most 64. |
LastJob | string? | lastJob | The most recent job this schedule made (resource name). |
LastRunTime | DateTimeOffset? | lastRunTime | Most recent firing instant in UTC. |
MissedRunPolicy | Models.Jobs.MissedRunPolicy? | missedRunPolicy | What happens to firings the platform missed (default RUN_ONCE). |
Name | string? | name | The resource name, for example projects/p/locations/l/instances/i. |
NextRunTime | DateTimeOffset? | nextRunTime | Next scheduled firing instant in UTC. |
Priority | string? | priority | Priority band shorthand when jobTemplate is omitted. |
PurgeTime | DateTimeOffset? | purgeTime | The purgeTime property |
Reconciling | bool? | reconciling | True while the platform works toward the spec. |
RunAs | string? | runAs | The service account every run of this schedule acts as: projects/{project}/serviceAccounts/{id} of the same project. Absent when none is named; an empty string clears it. |
StartingDeadlineSeconds | int? | startingDeadlineSeconds | How late a firing may start and still count as on time, in seconds (30..86400; default 300). Past it, missedRunPolicy decides. |
State | Models.Jobs.ScheduleState? | state | ACTIVE while the schedule fires, SUSPENDED while it is paused. |
SuspendReason | string? | suspendReason | Why the schedule is suspended, for example user or spend-cap. |
Suspended | bool? | suspended | Whether the schedule is paused and will not spawn new jobs. |
Timezone | string? | timezone | IANA timezone name (default UTC). |
Uid | string? | uid | UUIDv7, never reused. |
UpdateTime | DateTimeOffset? | updateTime | The updateTime property |
WebhookEnabled | bool? | webhookEnabled | Whether the schedule's webhook is on: a signed POST to webhookPath starts one run. |
WebhookPath | string? | webhookPath | Path of the public receiver, /hooks/jobs/{hookId}, while the webhook is on. The address carries no secret; the signature is the credential. |
WebhookSecretTime | DateTimeOffset? | webhookSecretTime | When the webhook secret was last made or rotated. |