17
17
package com .google .api .services .spanner .v1 .model ;
18
18
19
19
/**
20
- * CrontabSpec can be used to specify the version time and frequency at which the backup is created.
20
+ * CrontabSpec can be used to specify the version time and frequency at which the backup should be
21
+ * created.
21
22
*
22
23
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
23
24
* transmitted over HTTP when working with the Cloud Spanner API. For a detailed explanation see:
30
31
public final class CrontabSpec extends com .google .api .client .json .GenericJson {
31
32
32
33
/**
33
- * Output only. Scheduled backups contain an externally consistent copy of the database at the
34
- * version time specified in `schedule_spec.cron_spec`. However, Spanner might not initiate the
35
- * creation of the scheduled backups at that version time. Spanner initiates the creation of
34
+ * Output only. Schedule backups will contain an externally consistent copy of the database at the
35
+ * version time specified in `schedule_spec.cron_spec`. However, Spanner may not initiate the
36
+ * creation of the scheduled backups at that version time. Spanner will initiate the creation of
36
37
* scheduled backups within the time window bounded by the version_time specified in
37
38
* `schedule_spec.cron_spec` and version_time + `creation_window`.
38
39
* The value may be {@code null}.
@@ -46,7 +47,7 @@ public final class CrontabSpec extends com.google.api.client.json.GenericJson {
46
47
* The backup will contain an externally consistent copy of the database at the version time. Full
47
48
* backups must be scheduled a minimum of 12 hours apart and incremental backups must be scheduled
48
49
* a minimum of 4 hours apart. Examples of valid cron specifications: * `0 2/12 * * *` : every 12
49
- * hours at (2, 14) hours past midnight in UTC. * `0 2,14 * * *` : every 12 hours at (2, 14) hours
50
+ * hours at (2, 14) hours past midnight in UTC. * `0 2,14 * * *` : every 12 hours at (2,14) hours
50
51
* past midnight in UTC. * `0 4 * * *` : (incremental backups only) every 4 hours at (0, 4, 8, 12,
51
52
* 16, 20) hours past midnight in UTC. * `0 2 * * *` : once a day at 2 past midnight in UTC. * `0
52
53
* 2 * * 0` : once a week every Sunday at 2 past midnight in UTC. * `0 2 8 * *` : once a month on
@@ -57,17 +58,16 @@ public final class CrontabSpec extends com.google.api.client.json.GenericJson {
57
58
private java .lang .String text ;
58
59
59
60
/**
60
- * Output only. The time zone of the times in `CrontabSpec.text`. Currently, only UTC is
61
- * supported.
61
+ * Output only. The time zone of the times in `CrontabSpec.text`. Currently only UTC is supported.
62
62
* The value may be {@code null}.
63
63
*/
64
64
@ com .google .api .client .util .Key
65
65
private java .lang .String timeZone ;
66
66
67
67
/**
68
- * Output only. Scheduled backups contain an externally consistent copy of the database at the
69
- * version time specified in `schedule_spec.cron_spec`. However, Spanner might not initiate the
70
- * creation of the scheduled backups at that version time. Spanner initiates the creation of
68
+ * Output only. Schedule backups will contain an externally consistent copy of the database at the
69
+ * version time specified in `schedule_spec.cron_spec`. However, Spanner may not initiate the
70
+ * creation of the scheduled backups at that version time. Spanner will initiate the creation of
71
71
* scheduled backups within the time window bounded by the version_time specified in
72
72
* `schedule_spec.cron_spec` and version_time + `creation_window`.
73
73
* @return value or {@code null} for none
@@ -77,9 +77,9 @@ public String getCreationWindow() {
77
77
}
78
78
79
79
/**
80
- * Output only. Scheduled backups contain an externally consistent copy of the database at the
81
- * version time specified in `schedule_spec.cron_spec`. However, Spanner might not initiate the
82
- * creation of the scheduled backups at that version time. Spanner initiates the creation of
80
+ * Output only. Schedule backups will contain an externally consistent copy of the database at the
81
+ * version time specified in `schedule_spec.cron_spec`. However, Spanner may not initiate the
82
+ * creation of the scheduled backups at that version time. Spanner will initiate the creation of
83
83
* scheduled backups within the time window bounded by the version_time specified in
84
84
* `schedule_spec.cron_spec` and version_time + `creation_window`.
85
85
* @param creationWindow creationWindow or {@code null} for none
@@ -95,7 +95,7 @@ public CrontabSpec setCreationWindow(String creationWindow) {
95
95
* The backup will contain an externally consistent copy of the database at the version time. Full
96
96
* backups must be scheduled a minimum of 12 hours apart and incremental backups must be scheduled
97
97
* a minimum of 4 hours apart. Examples of valid cron specifications: * `0 2/12 * * *` : every 12
98
- * hours at (2, 14) hours past midnight in UTC. * `0 2,14 * * *` : every 12 hours at (2, 14) hours
98
+ * hours at (2, 14) hours past midnight in UTC. * `0 2,14 * * *` : every 12 hours at (2,14) hours
99
99
* past midnight in UTC. * `0 4 * * *` : (incremental backups only) every 4 hours at (0, 4, 8, 12,
100
100
* 16, 20) hours past midnight in UTC. * `0 2 * * *` : once a day at 2 past midnight in UTC. * `0
101
101
* 2 * * 0` : once a week every Sunday at 2 past midnight in UTC. * `0 2 8 * *` : once a month on
@@ -112,7 +112,7 @@ public java.lang.String getText() {
112
112
* The backup will contain an externally consistent copy of the database at the version time. Full
113
113
* backups must be scheduled a minimum of 12 hours apart and incremental backups must be scheduled
114
114
* a minimum of 4 hours apart. Examples of valid cron specifications: * `0 2/12 * * *` : every 12
115
- * hours at (2, 14) hours past midnight in UTC. * `0 2,14 * * *` : every 12 hours at (2, 14) hours
115
+ * hours at (2, 14) hours past midnight in UTC. * `0 2,14 * * *` : every 12 hours at (2,14) hours
116
116
* past midnight in UTC. * `0 4 * * *` : (incremental backups only) every 4 hours at (0, 4, 8, 12,
117
117
* 16, 20) hours past midnight in UTC. * `0 2 * * *` : once a day at 2 past midnight in UTC. * `0
118
118
* 2 * * 0` : once a week every Sunday at 2 past midnight in UTC. * `0 2 8 * *` : once a month on
@@ -125,17 +125,15 @@ public CrontabSpec setText(java.lang.String text) {
125
125
}
126
126
127
127
/**
128
- * Output only. The time zone of the times in `CrontabSpec.text`. Currently, only UTC is
129
- * supported.
128
+ * Output only. The time zone of the times in `CrontabSpec.text`. Currently only UTC is supported.
130
129
* @return value or {@code null} for none
131
130
*/
132
131
public java .lang .String getTimeZone () {
133
132
return timeZone ;
134
133
}
135
134
136
135
/**
137
- * Output only. The time zone of the times in `CrontabSpec.text`. Currently, only UTC is
138
- * supported.
136
+ * Output only. The time zone of the times in `CrontabSpec.text`. Currently only UTC is supported.
139
137
* @param timeZone timeZone or {@code null} for none
140
138
*/
141
139
public CrontabSpec setTimeZone (java .lang .String timeZone ) {
0 commit comments