Skip to content

Commit 2511217

Browse files
docs: [cloudscheduler] correct timezone/offset information for Cloud Scheduler headers (#10048)
- [ ] Regenerate this pull request now. PiperOrigin-RevId: 580635787 Source-Link: https://togithub.com/googleapis/googleapis/commit/72f179600170dfde33df5775c730b189962f5ddc Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/0aa0f8d0564548a72335d718361f357fcb73dbe8 Copy-Tag: eyJwIjoiamF2YS1zY2hlZHVsZXIvLk93bEJvdC55YW1sIiwiaCI6IjBhYTBmOGQwNTY0NTQ4YTcyMzM1ZDcxODM2MWYzNTdmY2I3M2RiZTgifQ==
1 parent 5a71294 commit 2511217

File tree

11 files changed

+138
-138
lines changed

11 files changed

+138
-138
lines changed

java-scheduler/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
2020
<dependency>
2121
<groupId>com.google.cloud</groupId>
2222
<artifactId>libraries-bom</artifactId>
23-
<version>26.23.0</version>
23+
<version>26.26.0</version>
2424
<type>pom</type>
2525
<scope>import</scope>
2626
</dependency>
@@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
195195
[kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html
196196
[stability-image]: https://img.shields.io/badge/stability-stable-green
197197
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-scheduler.svg
198-
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-scheduler/2.24.0
198+
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-scheduler/2.30.0
199199
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
200200
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
201201
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles

java-scheduler/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/AppEngineHttpTarget.java

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -277,8 +277,8 @@ public int getHeadersCount() {
277277
* * `X-CloudScheduler`: This header will be set to true.
278278
* * `X-CloudScheduler-JobName`: This header will contain the job name.
279279
* * `X-CloudScheduler-ScheduleTime`: For Cloud Scheduler jobs specified in
280-
* the unix-cron format, this header will contain the job schedule time in
281-
* RFC3339 UTC "Zulu" format.
280+
* the unix-cron format, this header will contain the job schedule as an
281+
* offset of UTC parsed according to RFC3339.
282282
*
283283
* If the job has an
284284
* [body][google.cloud.scheduler.v1.AppEngineHttpTarget.body], Cloud Scheduler
@@ -335,8 +335,8 @@ public java.util.Map<java.lang.String, java.lang.String> getHeaders() {
335335
* * `X-CloudScheduler`: This header will be set to true.
336336
* * `X-CloudScheduler-JobName`: This header will contain the job name.
337337
* * `X-CloudScheduler-ScheduleTime`: For Cloud Scheduler jobs specified in
338-
* the unix-cron format, this header will contain the job schedule time in
339-
* RFC3339 UTC "Zulu" format.
338+
* the unix-cron format, this header will contain the job schedule as an
339+
* offset of UTC parsed according to RFC3339.
340340
*
341341
* If the job has an
342342
* [body][google.cloud.scheduler.v1.AppEngineHttpTarget.body], Cloud Scheduler
@@ -384,8 +384,8 @@ public java.util.Map<java.lang.String, java.lang.String> getHeadersMap() {
384384
* * `X-CloudScheduler`: This header will be set to true.
385385
* * `X-CloudScheduler-JobName`: This header will contain the job name.
386386
* * `X-CloudScheduler-ScheduleTime`: For Cloud Scheduler jobs specified in
387-
* the unix-cron format, this header will contain the job schedule time in
388-
* RFC3339 UTC "Zulu" format.
387+
* the unix-cron format, this header will contain the job schedule as an
388+
* offset of UTC parsed according to RFC3339.
389389
*
390390
* If the job has an
391391
* [body][google.cloud.scheduler.v1.AppEngineHttpTarget.body], Cloud Scheduler
@@ -440,8 +440,8 @@ public java.util.Map<java.lang.String, java.lang.String> getHeadersMap() {
440440
* * `X-CloudScheduler`: This header will be set to true.
441441
* * `X-CloudScheduler-JobName`: This header will contain the job name.
442442
* * `X-CloudScheduler-ScheduleTime`: For Cloud Scheduler jobs specified in
443-
* the unix-cron format, this header will contain the job schedule time in
444-
* RFC3339 UTC "Zulu" format.
443+
* the unix-cron format, this header will contain the job schedule as an
444+
* offset of UTC parsed according to RFC3339.
445445
*
446446
* If the job has an
447447
* [body][google.cloud.scheduler.v1.AppEngineHttpTarget.body], Cloud Scheduler
@@ -1442,8 +1442,8 @@ public int getHeadersCount() {
14421442
* * `X-CloudScheduler`: This header will be set to true.
14431443
* * `X-CloudScheduler-JobName`: This header will contain the job name.
14441444
* * `X-CloudScheduler-ScheduleTime`: For Cloud Scheduler jobs specified in
1445-
* the unix-cron format, this header will contain the job schedule time in
1446-
* RFC3339 UTC "Zulu" format.
1445+
* the unix-cron format, this header will contain the job schedule as an
1446+
* offset of UTC parsed according to RFC3339.
14471447
*
14481448
* If the job has an
14491449
* [body][google.cloud.scheduler.v1.AppEngineHttpTarget.body], Cloud Scheduler
@@ -1500,8 +1500,8 @@ public java.util.Map<java.lang.String, java.lang.String> getHeaders() {
15001500
* * `X-CloudScheduler`: This header will be set to true.
15011501
* * `X-CloudScheduler-JobName`: This header will contain the job name.
15021502
* * `X-CloudScheduler-ScheduleTime`: For Cloud Scheduler jobs specified in
1503-
* the unix-cron format, this header will contain the job schedule time in
1504-
* RFC3339 UTC "Zulu" format.
1503+
* the unix-cron format, this header will contain the job schedule as an
1504+
* offset of UTC parsed according to RFC3339.
15051505
*
15061506
* If the job has an
15071507
* [body][google.cloud.scheduler.v1.AppEngineHttpTarget.body], Cloud Scheduler
@@ -1549,8 +1549,8 @@ public java.util.Map<java.lang.String, java.lang.String> getHeadersMap() {
15491549
* * `X-CloudScheduler`: This header will be set to true.
15501550
* * `X-CloudScheduler-JobName`: This header will contain the job name.
15511551
* * `X-CloudScheduler-ScheduleTime`: For Cloud Scheduler jobs specified in
1552-
* the unix-cron format, this header will contain the job schedule time in
1553-
* RFC3339 UTC "Zulu" format.
1552+
* the unix-cron format, this header will contain the job schedule as an
1553+
* offset of UTC parsed according to RFC3339.
15541554
*
15551555
* If the job has an
15561556
* [body][google.cloud.scheduler.v1.AppEngineHttpTarget.body], Cloud Scheduler
@@ -1605,8 +1605,8 @@ public java.util.Map<java.lang.String, java.lang.String> getHeadersMap() {
16051605
* * `X-CloudScheduler`: This header will be set to true.
16061606
* * `X-CloudScheduler-JobName`: This header will contain the job name.
16071607
* * `X-CloudScheduler-ScheduleTime`: For Cloud Scheduler jobs specified in
1608-
* the unix-cron format, this header will contain the job schedule time in
1609-
* RFC3339 UTC "Zulu" format.
1608+
* the unix-cron format, this header will contain the job schedule as an
1609+
* offset of UTC parsed according to RFC3339.
16101610
*
16111611
* If the job has an
16121612
* [body][google.cloud.scheduler.v1.AppEngineHttpTarget.body], Cloud Scheduler
@@ -1667,8 +1667,8 @@ public Builder clearHeaders() {
16671667
* * `X-CloudScheduler`: This header will be set to true.
16681668
* * `X-CloudScheduler-JobName`: This header will contain the job name.
16691669
* * `X-CloudScheduler-ScheduleTime`: For Cloud Scheduler jobs specified in
1670-
* the unix-cron format, this header will contain the job schedule time in
1671-
* RFC3339 UTC "Zulu" format.
1670+
* the unix-cron format, this header will contain the job schedule as an
1671+
* offset of UTC parsed according to RFC3339.
16721672
*
16731673
* If the job has an
16741674
* [body][google.cloud.scheduler.v1.AppEngineHttpTarget.body], Cloud Scheduler
@@ -1725,8 +1725,8 @@ public java.util.Map<java.lang.String, java.lang.String> getMutableHeaders() {
17251725
* * `X-CloudScheduler`: This header will be set to true.
17261726
* * `X-CloudScheduler-JobName`: This header will contain the job name.
17271727
* * `X-CloudScheduler-ScheduleTime`: For Cloud Scheduler jobs specified in
1728-
* the unix-cron format, this header will contain the job schedule time in
1729-
* RFC3339 UTC "Zulu" format.
1728+
* the unix-cron format, this header will contain the job schedule as an
1729+
* offset of UTC parsed according to RFC3339.
17301730
*
17311731
* If the job has an
17321732
* [body][google.cloud.scheduler.v1.AppEngineHttpTarget.body], Cloud Scheduler
@@ -1781,8 +1781,8 @@ public Builder putHeaders(java.lang.String key, java.lang.String value) {
17811781
* * `X-CloudScheduler`: This header will be set to true.
17821782
* * `X-CloudScheduler-JobName`: This header will contain the job name.
17831783
* * `X-CloudScheduler-ScheduleTime`: For Cloud Scheduler jobs specified in
1784-
* the unix-cron format, this header will contain the job schedule time in
1785-
* RFC3339 UTC "Zulu" format.
1784+
* the unix-cron format, this header will contain the job schedule as an
1785+
* offset of UTC parsed according to RFC3339.
17861786
*
17871787
* If the job has an
17881788
* [body][google.cloud.scheduler.v1.AppEngineHttpTarget.body], Cloud Scheduler

java-scheduler/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/AppEngineHttpTargetOrBuilder.java

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,8 @@ public interface AppEngineHttpTargetOrBuilder
139139
* * `X-CloudScheduler`: This header will be set to true.
140140
* * `X-CloudScheduler-JobName`: This header will contain the job name.
141141
* * `X-CloudScheduler-ScheduleTime`: For Cloud Scheduler jobs specified in
142-
* the unix-cron format, this header will contain the job schedule time in
143-
* RFC3339 UTC "Zulu" format.
142+
* the unix-cron format, this header will contain the job schedule as an
143+
* offset of UTC parsed according to RFC3339.
144144
*
145145
* If the job has an
146146
* [body][google.cloud.scheduler.v1.AppEngineHttpTarget.body], Cloud Scheduler
@@ -185,8 +185,8 @@ public interface AppEngineHttpTargetOrBuilder
185185
* * `X-CloudScheduler`: This header will be set to true.
186186
* * `X-CloudScheduler-JobName`: This header will contain the job name.
187187
* * `X-CloudScheduler-ScheduleTime`: For Cloud Scheduler jobs specified in
188-
* the unix-cron format, this header will contain the job schedule time in
189-
* RFC3339 UTC "Zulu" format.
188+
* the unix-cron format, this header will contain the job schedule as an
189+
* offset of UTC parsed according to RFC3339.
190190
*
191191
* If the job has an
192192
* [body][google.cloud.scheduler.v1.AppEngineHttpTarget.body], Cloud Scheduler
@@ -234,8 +234,8 @@ public interface AppEngineHttpTargetOrBuilder
234234
* * `X-CloudScheduler`: This header will be set to true.
235235
* * `X-CloudScheduler-JobName`: This header will contain the job name.
236236
* * `X-CloudScheduler-ScheduleTime`: For Cloud Scheduler jobs specified in
237-
* the unix-cron format, this header will contain the job schedule time in
238-
* RFC3339 UTC "Zulu" format.
237+
* the unix-cron format, this header will contain the job schedule as an
238+
* offset of UTC parsed according to RFC3339.
239239
*
240240
* If the job has an
241241
* [body][google.cloud.scheduler.v1.AppEngineHttpTarget.body], Cloud Scheduler
@@ -280,8 +280,8 @@ public interface AppEngineHttpTargetOrBuilder
280280
* * `X-CloudScheduler`: This header will be set to true.
281281
* * `X-CloudScheduler-JobName`: This header will contain the job name.
282282
* * `X-CloudScheduler-ScheduleTime`: For Cloud Scheduler jobs specified in
283-
* the unix-cron format, this header will contain the job schedule time in
284-
* RFC3339 UTC "Zulu" format.
283+
* the unix-cron format, this header will contain the job schedule as an
284+
* offset of UTC parsed according to RFC3339.
285285
*
286286
* If the job has an
287287
* [body][google.cloud.scheduler.v1.AppEngineHttpTarget.body], Cloud Scheduler
@@ -330,8 +330,8 @@ java.lang.String getHeadersOrDefault(
330330
* * `X-CloudScheduler`: This header will be set to true.
331331
* * `X-CloudScheduler-JobName`: This header will contain the job name.
332332
* * `X-CloudScheduler-ScheduleTime`: For Cloud Scheduler jobs specified in
333-
* the unix-cron format, this header will contain the job schedule time in
334-
* RFC3339 UTC "Zulu" format.
333+
* the unix-cron format, this header will contain the job schedule as an
334+
* offset of UTC parsed according to RFC3339.
335335
*
336336
* If the job has an
337337
* [body][google.cloud.scheduler.v1.AppEngineHttpTarget.body], Cloud Scheduler

java-scheduler/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/HttpTarget.java

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -272,8 +272,8 @@ public int getHeadersCount() {
272272
* * `X-CloudScheduler`: This header will be set to true.
273273
* * `X-CloudScheduler-JobName`: This header will contain the job name.
274274
* * `X-CloudScheduler-ScheduleTime`: For Cloud Scheduler jobs specified in
275-
* the unix-cron format, this header will contain the job schedule time in
276-
* RFC3339 UTC "Zulu" format.
275+
* the unix-cron format, this header will contain the job schedule as an
276+
* offset of UTC parsed according to RFC3339.
277277
*
278278
* The total size of headers must be less than 80KB.
279279
* </pre>
@@ -313,8 +313,8 @@ public java.util.Map<java.lang.String, java.lang.String> getHeaders() {
313313
* * `X-CloudScheduler`: This header will be set to true.
314314
* * `X-CloudScheduler-JobName`: This header will contain the job name.
315315
* * `X-CloudScheduler-ScheduleTime`: For Cloud Scheduler jobs specified in
316-
* the unix-cron format, this header will contain the job schedule time in
317-
* RFC3339 UTC "Zulu" format.
316+
* the unix-cron format, this header will contain the job schedule as an
317+
* offset of UTC parsed according to RFC3339.
318318
*
319319
* The total size of headers must be less than 80KB.
320320
* </pre>
@@ -345,8 +345,8 @@ public java.util.Map<java.lang.String, java.lang.String> getHeadersMap() {
345345
* * `X-CloudScheduler`: This header will be set to true.
346346
* * `X-CloudScheduler-JobName`: This header will contain the job name.
347347
* * `X-CloudScheduler-ScheduleTime`: For Cloud Scheduler jobs specified in
348-
* the unix-cron format, this header will contain the job schedule time in
349-
* RFC3339 UTC "Zulu" format.
348+
* the unix-cron format, this header will contain the job schedule as an
349+
* offset of UTC parsed according to RFC3339.
350350
*
351351
* The total size of headers must be less than 80KB.
352352
* </pre>
@@ -384,8 +384,8 @@ public java.util.Map<java.lang.String, java.lang.String> getHeadersMap() {
384384
* * `X-CloudScheduler`: This header will be set to true.
385385
* * `X-CloudScheduler-JobName`: This header will contain the job name.
386386
* * `X-CloudScheduler-ScheduleTime`: For Cloud Scheduler jobs specified in
387-
* the unix-cron format, this header will contain the job schedule time in
388-
* RFC3339 UTC "Zulu" format.
387+
* the unix-cron format, this header will contain the job schedule as an
388+
* offset of UTC parsed according to RFC3339.
389389
*
390390
* The total size of headers must be less than 80KB.
391391
* </pre>
@@ -1380,8 +1380,8 @@ public int getHeadersCount() {
13801380
* * `X-CloudScheduler`: This header will be set to true.
13811381
* * `X-CloudScheduler-JobName`: This header will contain the job name.
13821382
* * `X-CloudScheduler-ScheduleTime`: For Cloud Scheduler jobs specified in
1383-
* the unix-cron format, this header will contain the job schedule time in
1384-
* RFC3339 UTC "Zulu" format.
1383+
* the unix-cron format, this header will contain the job schedule as an
1384+
* offset of UTC parsed according to RFC3339.
13851385
*
13861386
* The total size of headers must be less than 80KB.
13871387
* </pre>
@@ -1421,8 +1421,8 @@ public java.util.Map<java.lang.String, java.lang.String> getHeaders() {
14211421
* * `X-CloudScheduler`: This header will be set to true.
14221422
* * `X-CloudScheduler-JobName`: This header will contain the job name.
14231423
* * `X-CloudScheduler-ScheduleTime`: For Cloud Scheduler jobs specified in
1424-
* the unix-cron format, this header will contain the job schedule time in
1425-
* RFC3339 UTC "Zulu" format.
1424+
* the unix-cron format, this header will contain the job schedule as an
1425+
* offset of UTC parsed according to RFC3339.
14261426
*
14271427
* The total size of headers must be less than 80KB.
14281428
* </pre>
@@ -1453,8 +1453,8 @@ public java.util.Map<java.lang.String, java.lang.String> getHeadersMap() {
14531453
* * `X-CloudScheduler`: This header will be set to true.
14541454
* * `X-CloudScheduler-JobName`: This header will contain the job name.
14551455
* * `X-CloudScheduler-ScheduleTime`: For Cloud Scheduler jobs specified in
1456-
* the unix-cron format, this header will contain the job schedule time in
1457-
* RFC3339 UTC "Zulu" format.
1456+
* the unix-cron format, this header will contain the job schedule as an
1457+
* offset of UTC parsed according to RFC3339.
14581458
*
14591459
* The total size of headers must be less than 80KB.
14601460
* </pre>
@@ -1492,8 +1492,8 @@ public java.util.Map<java.lang.String, java.lang.String> getHeadersMap() {
14921492
* * `X-CloudScheduler`: This header will be set to true.
14931493
* * `X-CloudScheduler-JobName`: This header will contain the job name.
14941494
* * `X-CloudScheduler-ScheduleTime`: For Cloud Scheduler jobs specified in
1495-
* the unix-cron format, this header will contain the job schedule time in
1496-
* RFC3339 UTC "Zulu" format.
1495+
* the unix-cron format, this header will contain the job schedule as an
1496+
* offset of UTC parsed according to RFC3339.
14971497
*
14981498
* The total size of headers must be less than 80KB.
14991499
* </pre>
@@ -1537,8 +1537,8 @@ public Builder clearHeaders() {
15371537
* * `X-CloudScheduler`: This header will be set to true.
15381538
* * `X-CloudScheduler-JobName`: This header will contain the job name.
15391539
* * `X-CloudScheduler-ScheduleTime`: For Cloud Scheduler jobs specified in
1540-
* the unix-cron format, this header will contain the job schedule time in
1541-
* RFC3339 UTC "Zulu" format.
1540+
* the unix-cron format, this header will contain the job schedule as an
1541+
* offset of UTC parsed according to RFC3339.
15421542
*
15431543
* The total size of headers must be less than 80KB.
15441544
* </pre>
@@ -1578,8 +1578,8 @@ public java.util.Map<java.lang.String, java.lang.String> getMutableHeaders() {
15781578
* * `X-CloudScheduler`: This header will be set to true.
15791579
* * `X-CloudScheduler-JobName`: This header will contain the job name.
15801580
* * `X-CloudScheduler-ScheduleTime`: For Cloud Scheduler jobs specified in
1581-
* the unix-cron format, this header will contain the job schedule time in
1582-
* RFC3339 UTC "Zulu" format.
1581+
* the unix-cron format, this header will contain the job schedule as an
1582+
* offset of UTC parsed according to RFC3339.
15831583
*
15841584
* The total size of headers must be less than 80KB.
15851585
* </pre>
@@ -1617,8 +1617,8 @@ public Builder putHeaders(java.lang.String key, java.lang.String value) {
16171617
* * `X-CloudScheduler`: This header will be set to true.
16181618
* * `X-CloudScheduler-JobName`: This header will contain the job name.
16191619
* * `X-CloudScheduler-ScheduleTime`: For Cloud Scheduler jobs specified in
1620-
* the unix-cron format, this header will contain the job schedule time in
1621-
* RFC3339 UTC "Zulu" format.
1620+
* the unix-cron format, this header will contain the job schedule as an
1621+
* offset of UTC parsed according to RFC3339.
16221622
*
16231623
* The total size of headers must be less than 80KB.
16241624
* </pre>

0 commit comments

Comments
 (0)