GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Add authorization headers and deadline for job attempts (via synth). … · d-torres/google-cloud-python@f8e4ead

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • scheduler
    • google/cloud/scheduler_v1/proto
      • cloudscheduler.proto
      • cloudscheduler_pb2.py
      • job.proto
      • job_pb2.py
      • target.proto
      • target_pb2.py
    • synth.metadata
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎scheduler/google/cloud/scheduler_v1/proto/cloudscheduler.proto‎

Copy file name to clipboardExpand all lines: scheduler/google/cloud/scheduler_v1/proto/cloudscheduler.proto
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ syntax = "proto3";
1818
package google.cloud.scheduler.v1;
1919

2020
import "google/api/annotations.proto";
21+
import "google/api/resource.proto";
2122
import "google/cloud/scheduler/v1/job.proto";
2223
import "google/protobuf/empty.proto";
2324
import "google/protobuf/field_mask.proto";
@@ -28,7 +29,6 @@ option java_outer_classname = "SchedulerProto";
2829
option java_package = "com.google.cloud.scheduler.v1";
2930
option objc_class_prefix = "SCHEDULER";
3031

31-
3232
// The Cloud Scheduler API allows external entities to reliably
3333
// schedule asynchronous jobs.
3434
service CloudScheduler {
Collapse file

‎scheduler/google/cloud/scheduler_v1/proto/cloudscheduler_pb2.py‎

Copy file name to clipboardExpand all lines: scheduler/google/cloud/scheduler_v1/proto/cloudscheduler_pb2.py
+23-21Lines changed: 23 additions & 21 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Collapse file

‎scheduler/google/cloud/scheduler_v1/proto/job.proto‎

Copy file name to clipboardExpand all lines: scheduler/google/cloud/scheduler_v1/proto/job.proto
+13-1Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ syntax = "proto3";
1818
package google.cloud.scheduler.v1;
1919

2020
import "google/api/annotations.proto";
21+
import "google/api/resource.proto";
2122
import "google/cloud/scheduler/v1/target.proto";
2223
import "google/protobuf/duration.proto";
2324
import "google/protobuf/timestamp.proto";
@@ -28,7 +29,6 @@ option java_multiple_files = true;
2829
option java_outer_classname = "JobProto";
2930
option java_package = "com.google.cloud.scheduler.v1";
3031

31-
3232
// Configuration for a job.
3333
// The maximum allowed size for a job is 100KB.
3434
message Job {
@@ -150,6 +150,18 @@ message Job {
150150

151151
// Settings that determine the retry behavior.
152152
RetryConfig retry_config = 19;
153+
154+
// The deadline for job attempts. If the request handler does not respond by
155+
// this deadline then the request is cancelled and the attempt is marked as a
156+
// `DEADLINE_EXCEEDED` failure. The failed attempt can be viewed in
157+
// execution logs. Cloud Scheduler will retry the job according
158+
// to the [RetryConfig][google.cloud.scheduler.v1.RetryConfig].
159+
//
160+
// The allowed duration for this deadline is:
161+
// * For [HTTP targets][google.cloud.scheduler.v1.Job.http_target], between 15 seconds and 30 minutes.
162+
// * For [App Engine HTTP targets][google.cloud.scheduler.v1.Job.app_engine_http_target], between 15
163+
// seconds and 24 hours.
164+
google.protobuf.Duration attempt_deadline = 22;
153165
}
154166

155167
// Settings that determine the retry behavior.
Collapse file

‎scheduler/google/cloud/scheduler_v1/proto/job_pb2.py‎

Copy file name to clipboardExpand all lines: scheduler/google/cloud/scheduler_v1/proto/job_pb2.py
+42-7Lines changed: 42 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.