lib/google/cloud/scheduler/v1/cloudscheduler_services_pb.rb in google-cloud-scheduler-v1-0.5.0 vs lib/google/cloud/scheduler/v1/cloudscheduler_services_pb.rb in google-cloud-scheduler-v1-0.6.0
- old
+ new
@@ -1,9 +1,9 @@
# Generated by the protocol buffer compiler. DO NOT EDIT!
# Source: google/cloud/scheduler/v1/cloudscheduler.proto for package 'google.cloud.scheduler.v1'
# Original file comments:
-# Copyright 2019 Google LLC.
+# Copyright 2022 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
@@ -13,11 +13,10 @@
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
-#
require 'grpc'
require 'google/cloud/scheduler/v1/cloudscheduler_pb'
module Google
@@ -41,33 +40,40 @@
rpc :GetJob, ::Google::Cloud::Scheduler::V1::GetJobRequest, ::Google::Cloud::Scheduler::V1::Job
# Creates a job.
rpc :CreateJob, ::Google::Cloud::Scheduler::V1::CreateJobRequest, ::Google::Cloud::Scheduler::V1::Job
# Updates a job.
#
- # If successful, the updated [Job][google.cloud.scheduler.v1.Job] is returned. If the job does
- # not exist, `NOT_FOUND` is returned.
+ # If successful, the updated [Job][google.cloud.scheduler.v1.Job] is
+ # returned. If the job does not exist, `NOT_FOUND` is returned.
#
# If UpdateJob does not successfully return, it is possible for the
- # job to be in an [Job.State.UPDATE_FAILED][google.cloud.scheduler.v1.Job.State.UPDATE_FAILED] state. A job in this state may
- # not be executed. If this happens, retry the UpdateJob request
- # until a successful response is received.
+ # job to be in an
+ # [Job.State.UPDATE_FAILED][google.cloud.scheduler.v1.Job.State.UPDATE_FAILED]
+ # state. A job in this state may not be executed. If this happens, retry the
+ # UpdateJob request until a successful response is received.
rpc :UpdateJob, ::Google::Cloud::Scheduler::V1::UpdateJobRequest, ::Google::Cloud::Scheduler::V1::Job
# Deletes a job.
rpc :DeleteJob, ::Google::Cloud::Scheduler::V1::DeleteJobRequest, ::Google::Protobuf::Empty
# Pauses a job.
#
# If a job is paused then the system will stop executing the job
- # until it is re-enabled via [ResumeJob][google.cloud.scheduler.v1.CloudScheduler.ResumeJob]. The
- # state of the job is stored in [state][google.cloud.scheduler.v1.Job.state]; if paused it
- # 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]
- # to be paused.
+ # until it is re-enabled via
+ # [ResumeJob][google.cloud.scheduler.v1.CloudScheduler.ResumeJob]. The state
+ # of the job is stored in [state][google.cloud.scheduler.v1.Job.state]; if
+ # paused it 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] to
+ # be paused.
rpc :PauseJob, ::Google::Cloud::Scheduler::V1::PauseJobRequest, ::Google::Cloud::Scheduler::V1::Job
# Resume a job.
#
- # This method reenables a job after it has been [Job.State.PAUSED][google.cloud.scheduler.v1.Job.State.PAUSED]. The
- # state of a job is stored in [Job.state][google.cloud.scheduler.v1.Job.state]; after calling this method it
- # will be set to [Job.State.ENABLED][google.cloud.scheduler.v1.Job.State.ENABLED]. A job must be in
- # [Job.State.PAUSED][google.cloud.scheduler.v1.Job.State.PAUSED] to be resumed.
+ # This method reenables a job after it has been
+ # [Job.State.PAUSED][google.cloud.scheduler.v1.Job.State.PAUSED]. The state
+ # of a job is stored in [Job.state][google.cloud.scheduler.v1.Job.state];
+ # after calling this method it will be set to
+ # [Job.State.ENABLED][google.cloud.scheduler.v1.Job.State.ENABLED]. A job
+ # must be in [Job.State.PAUSED][google.cloud.scheduler.v1.Job.State.PAUSED]
+ # to be resumed.
rpc :ResumeJob, ::Google::Cloud::Scheduler::V1::ResumeJobRequest, ::Google::Cloud::Scheduler::V1::Job
# Forces a job to run now.
#
# When this method is called, Cloud Scheduler will dispatch the job, even
# if the job is already running.