Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Schedule

import type { Schedule } from "https://googleapis.deno.dev/v1/managedidentities:v1.ts";

Configure the schedule.

interface Schedule {
day?:
| "DAY_OF_WEEK_UNSPECIFIED"
| "MONDAY"
| "TUESDAY"
| "WEDNESDAY"
| "THURSDAY"
| "FRIDAY"
| "SATURDAY"
| "SUNDAY";
duration?: number;
startTime?: TimeOfDay;
}

§Properties

§
day?: "DAY_OF_WEEK_UNSPECIFIED" | "MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY"
[src]

Allows to define schedule that runs specified day of the week.

§
duration?: number
[src]

Output only. Duration of the time window, set by service producer.

§
startTime?: TimeOfDay
[src]

Time within the window to start the operations.