google-cloud-scheduler-v1 0.2.3 → 0.2.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3097892b631b6be7c6bec64985b9e6dfb66d07457e5a8ac30dd2446dc3a72499
4
- data.tar.gz: 535e0637d505930997267a50c4261544a781ccd9365899797a0bb98cd504c94c
3
+ metadata.gz: 490fb8ff217cf30d3e305e259ae1a829039b1022ee07097ae591433c59985967
4
+ data.tar.gz: f90a361f74060599e844aab85dd3db93cc5c02455ad58c2b732e2ed8ea6d60fd
5
5
  SHA512:
6
- metadata.gz: eb0cab1b0c4a39b3b3c7d877ab66ac5e160b1795facaa2348455cdd1542a808f127191a1066ddd0868e2b43f94c5c895e229b9b1faccdf23d1c8b47a0d4aaed5
7
- data.tar.gz: e19c1eb1cad209369542a3b3e22dcc2fba9458a83b4bc2779cbc60438244471063769faf8b8b585f7875e6c96a1666a9f86e18f68e50b602e8fae2427428464e
6
+ metadata.gz: d14eb449a3bae17bbcb4ff58901f53b05bb76dca072749619cbe78a3a68463c5869ffef49e35fc17a3bc4cb5acab074c475a16388b0ff55bb2b89cdb1626eed7
7
+ data.tar.gz: 47e76d99a76e906fbad30d094b6b1c1ec87bdf63df1837f8c1dd6d779b47d91009234781e38a7da11d6f409d4117d6ef4d71c29a802b976f607bb451434890bf
@@ -71,7 +71,7 @@ module Google
71
71
  initial_delay: 0.1,
72
72
  max_delay: 60.0,
73
73
  multiplier: 1.3,
74
- retry_codes: ["DEADLINE_EXCEEDED", "UNAVAILABLE"]
74
+ retry_codes: [4, 14]
75
75
  }
76
76
 
77
77
  default_config.rpcs.get_job.timeout = 600.0
@@ -79,7 +79,7 @@ module Google
79
79
  initial_delay: 0.1,
80
80
  max_delay: 60.0,
81
81
  multiplier: 1.3,
82
- retry_codes: ["DEADLINE_EXCEEDED", "UNAVAILABLE"]
82
+ retry_codes: [4, 14]
83
83
  }
84
84
 
85
85
  default_config.rpcs.create_job.timeout = 600.0
@@ -91,7 +91,7 @@ module Google
91
91
  initial_delay: 0.1,
92
92
  max_delay: 60.0,
93
93
  multiplier: 1.3,
94
- retry_codes: ["DEADLINE_EXCEEDED", "UNAVAILABLE"]
94
+ retry_codes: [4, 14]
95
95
  }
96
96
 
97
97
  default_config.rpcs.pause_job.timeout = 600.0
@@ -36,11 +36,11 @@ module Google
36
36
  self.service_name = 'google.cloud.scheduler.v1.CloudScheduler'
37
37
 
38
38
  # Lists jobs.
39
- rpc :ListJobs, ListJobsRequest, ListJobsResponse
39
+ rpc :ListJobs, Google::Cloud::Scheduler::V1::ListJobsRequest, Google::Cloud::Scheduler::V1::ListJobsResponse
40
40
  # Gets a job.
41
- rpc :GetJob, GetJobRequest, Job
41
+ rpc :GetJob, Google::Cloud::Scheduler::V1::GetJobRequest, Google::Cloud::Scheduler::V1::Job
42
42
  # Creates a job.
43
- rpc :CreateJob, CreateJobRequest, Job
43
+ rpc :CreateJob, Google::Cloud::Scheduler::V1::CreateJobRequest, Google::Cloud::Scheduler::V1::Job
44
44
  # Updates a job.
45
45
  #
46
46
  # If successful, the updated [Job][google.cloud.scheduler.v1.Job] is returned. If the job does
@@ -50,9 +50,9 @@ module Google
50
50
  # job to be in an [Job.State.UPDATE_FAILED][google.cloud.scheduler.v1.Job.State.UPDATE_FAILED] state. A job in this state may
51
51
  # not be executed. If this happens, retry the UpdateJob request
52
52
  # until a successful response is received.
53
- rpc :UpdateJob, UpdateJobRequest, Job
53
+ rpc :UpdateJob, Google::Cloud::Scheduler::V1::UpdateJobRequest, Google::Cloud::Scheduler::V1::Job
54
54
  # Deletes a job.
55
- rpc :DeleteJob, DeleteJobRequest, Google::Protobuf::Empty
55
+ rpc :DeleteJob, Google::Cloud::Scheduler::V1::DeleteJobRequest, Google::Protobuf::Empty
56
56
  # Pauses a job.
57
57
  #
58
58
  # If a job is paused then the system will stop executing the job
@@ -60,19 +60,19 @@ module Google
60
60
  # state of the job is stored in [state][google.cloud.scheduler.v1.Job.state]; if paused it
61
61
  # will be set to [Job.State.PAUSED][google.cloud.scheduler.v1.Job.State.PAUSED]. A job must be in [Job.State.ENABLED][google.cloud.scheduler.v1.Job.State.ENABLED]
62
62
  # to be paused.
63
- rpc :PauseJob, PauseJobRequest, Job
63
+ rpc :PauseJob, Google::Cloud::Scheduler::V1::PauseJobRequest, Google::Cloud::Scheduler::V1::Job
64
64
  # Resume a job.
65
65
  #
66
66
  # This method reenables a job after it has been [Job.State.PAUSED][google.cloud.scheduler.v1.Job.State.PAUSED]. The
67
67
  # state of a job is stored in [Job.state][google.cloud.scheduler.v1.Job.state]; after calling this method it
68
68
  # will be set to [Job.State.ENABLED][google.cloud.scheduler.v1.Job.State.ENABLED]. A job must be in
69
69
  # [Job.State.PAUSED][google.cloud.scheduler.v1.Job.State.PAUSED] to be resumed.
70
- rpc :ResumeJob, ResumeJobRequest, Job
70
+ rpc :ResumeJob, Google::Cloud::Scheduler::V1::ResumeJobRequest, Google::Cloud::Scheduler::V1::Job
71
71
  # Forces a job to run now.
72
72
  #
73
73
  # When this method is called, Cloud Scheduler will dispatch the job, even
74
74
  # if the job is already running.
75
- rpc :RunJob, RunJobRequest, Job
75
+ rpc :RunJob, Google::Cloud::Scheduler::V1::RunJobRequest, Google::Cloud::Scheduler::V1::Job
76
76
  end
77
77
 
78
78
  Stub = Service.rpc_stub_class
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Scheduler
23
23
  module V1
24
- VERSION = "0.2.3"
24
+ VERSION = "0.2.4"
25
25
  end
26
26
  end
27
27
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-scheduler-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-06-18 00:00:00.000000000 Z
11
+ date: 2020-08-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '0.2'
19
+ version: '0.3'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '0.2'
26
+ version: '0.3'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: google-cloud-errors
29
29
  requirement: !ruby/object:Gem::Requirement