Show / Hide Table of Contents

Class StandardSchedule

StandardSchedule defines a schedule that run within the confines of a defined window of days. We can define recurrence type for schedule as HOURLY, DAILY, WEEKLY, MONTHLY or YEARLY.

Inheritance
object
StandardSchedule
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Backupdr.v1.Data
Assembly: Google.Apis.Backupdr.v1.dll
Syntax
public class StandardSchedule : IDirectResponseSchema

Properties

BackupWindow

Required. A BackupWindow defines the window of day during which backup jobs will run. Jobs are queued at the beginning of the window and will be marked as NOT_RUN if they do not start by the end of the window. Note: running jobs will not be cancelled at the end of the window.

Declaration
[JsonProperty("backupWindow")]
public virtual BackupWindow BackupWindow { get; set; }
Property Value
Type Description
BackupWindow

DaysOfMonth

Optional. Specifies days of months like 1, 5, or 14 on which jobs will run. Values for days_of_month are only applicable for recurrence_type, MONTHLY and YEARLY. A validation error will occur if other values are supplied.

Declaration
[JsonProperty("daysOfMonth")]
public virtual IList<int?> DaysOfMonth { get; set; }
Property Value
Type Description
IList<int?>

DaysOfWeek

Optional. Specifies days of week like, MONDAY or TUESDAY, on which jobs will run. This is required for recurrence_type, WEEKLY and is not applicable otherwise. A validation error will occur if a value is supplied and recurrence_type is not WEEKLY.

Declaration
[JsonProperty("daysOfWeek")]
public virtual IList<string> DaysOfWeek { get; set; }
Property Value
Type Description
IList<string>

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

HourlyFrequency

Optional. Specifies frequency for hourly backups. A hourly frequency of 2 means jobs will run every 2 hours from start time till end time defined. This is required for recurrence_type, HOURLY and is not applicable otherwise. A validation error will occur if a value is supplied and recurrence_type is not HOURLY. Value of hourly frequency should be between 4 and 23. Reason for limit : We found that there is bandwidth limitation of 3GB/S for GMI while taking a backup and 5GB/S while doing a restore. Given the amount of parallel backups and restore we are targeting, this will potentially take the backup time to mins and hours (in worst case scenario).

Declaration
[JsonProperty("hourlyFrequency")]
public virtual int? HourlyFrequency { get; set; }
Property Value
Type Description
int?

Months

Optional. Specifies the months of year, like FEBRUARY and/or MAY, on which jobs will run. This field is only applicable when recurrence_type is YEARLY. A validation error will occur if other values are supplied.

Declaration
[JsonProperty("months")]
public virtual IList<string> Months { get; set; }
Property Value
Type Description
IList<string>

RecurrenceType

Required. Specifies the RecurrenceType for the schedule.

Declaration
[JsonProperty("recurrenceType")]
public virtual string RecurrenceType { get; set; }
Property Value
Type Description
string

TimeZone

Required. The time zone to be used when interpreting the schedule. The value of this field must be a time zone name from the IANA tz database. See https://en.wikipedia.org/wiki/List_of_tz_database_time_zones for the list of valid timezone names. For e.g., Europe/Paris.

Declaration
[JsonProperty("timeZone")]
public virtual string TimeZone { get; set; }
Property Value
Type Description
string

WeekDayOfMonth

Optional. Specifies a week day of the month like, FIRST SUNDAY or LAST MONDAY, on which jobs will run. This will be specified by two fields in WeekDayOfMonth, one for the day, e.g. MONDAY, and one for the week, e.g. LAST. This field is only applicable for recurrence_type, MONTHLY and YEARLY. A validation error will occur if other values are supplied.

Declaration
[JsonProperty("weekDayOfMonth")]
public virtual WeekDayOfMonth WeekDayOfMonth { get; set; }
Property Value
Type Description
WeekDayOfMonth

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX