google-apis-cloudscheduler_v1beta1 0.37.0 → 0.39.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/cloudscheduler_v1beta1/classes.rb +140 -30
- data/lib/google/apis/cloudscheduler_v1beta1/gem_version.rb +2 -2
- data/lib/google/apis/cloudscheduler_v1beta1/representations.rb +46 -0
- data/lib/google/apis/cloudscheduler_v1beta1/service.rb +162 -8
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 43d520e0851e65cfcebdbece0ed25a05386d2fedc6427442b62b522942055eec
|
|
4
|
+
data.tar.gz: 180bced57f7516a17b07a14573087a5cff4662aa8dd14a63f049d974c4aed4c4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 02076e6477777a6b202c6c6b1b9aea340a6a5a851f59d32a68ed9cb57af6facea3730fb404d2e5722af1fe3a2b1953b5a9e5dcb3a7a64758552ff364192a28ff
|
|
7
|
+
data.tar.gz: 0dbaf32c380958a162005b2a1a19dbfa8e03c94c4c52b35cf448a2bd9312ed4eef79efacbd06adea24666ababcb075ec8e1c1e5bd2690188b2f63f081891b5a0
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Release history for google-apis-cloudscheduler_v1beta1
|
|
2
2
|
|
|
3
|
+
### v0.39.0 (2025-12-14)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20251205
|
|
6
|
+
|
|
7
|
+
### v0.38.0 (2025-11-02)
|
|
8
|
+
|
|
9
|
+
* Regenerated from discovery document revision 20251022
|
|
10
|
+
|
|
3
11
|
### v0.37.0 (2025-09-28)
|
|
4
12
|
|
|
5
13
|
* Regenerated from discovery document revision 20250917
|
|
@@ -177,6 +177,19 @@ module Google
|
|
|
177
177
|
end
|
|
178
178
|
end
|
|
179
179
|
|
|
180
|
+
# The request message for Operations.CancelOperation.
|
|
181
|
+
class CancelOperationRequest
|
|
182
|
+
include Google::Apis::Core::Hashable
|
|
183
|
+
|
|
184
|
+
def initialize(**args)
|
|
185
|
+
update!(**args)
|
|
186
|
+
end
|
|
187
|
+
|
|
188
|
+
# Update properties of this object
|
|
189
|
+
def update!(**args)
|
|
190
|
+
end
|
|
191
|
+
end
|
|
192
|
+
|
|
180
193
|
# A generic empty message that you can re-use to avoid defining duplicated empty
|
|
181
194
|
# messages in your APIs. A typical example is to use it as the request or the
|
|
182
195
|
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
|
@@ -340,12 +353,13 @@ module Google
|
|
|
340
353
|
# The job name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/jobs/
|
|
341
354
|
# JOB_ID`. * `PROJECT_ID` can contain letters ([A-Za-z]), numbers ([0-9]),
|
|
342
355
|
# hyphens (-), colons (:), or periods (.). For more information, see [
|
|
343
|
-
# Identifying projects](
|
|
344
|
-
#
|
|
345
|
-
#
|
|
346
|
-
#
|
|
347
|
-
#
|
|
348
|
-
#
|
|
356
|
+
# Identifying projects](/resource-manager/docs/creating-managing-projects#
|
|
357
|
+
# identifying_projects) * `LOCATION_ID` is the canonical ID for the job's
|
|
358
|
+
# location. The list of available locations can be obtained by calling [
|
|
359
|
+
# locations.list](/scheduler/docs/reference/rest/v1beta1/projects.locations/list)
|
|
360
|
+
# . For more information, see [Cloud Scheduler locations](/scheduler/docs/
|
|
361
|
+
# locations). * `JOB_ID` can contain only letters ([A-Za-z]), numbers ([0-9]),
|
|
362
|
+
# hyphens (-), or underscores (_). The maximum length is 500 characters.
|
|
349
363
|
# Corresponds to the JSON property `name`
|
|
350
364
|
# @return [String]
|
|
351
365
|
attr_accessor :name
|
|
@@ -357,10 +371,10 @@ module Google
|
|
|
357
371
|
attr_accessor :pubsub_target
|
|
358
372
|
|
|
359
373
|
# Settings that determine the retry behavior. For more information, see [Retry
|
|
360
|
-
# jobs](
|
|
361
|
-
#
|
|
362
|
-
#
|
|
363
|
-
#
|
|
374
|
+
# jobs](/scheduler/docs/configuring/retry-jobs). By default, if a job does not
|
|
375
|
+
# complete successfully (meaning that an acknowledgement is not received from
|
|
376
|
+
# the handler, then it will be retried with exponential backoff according to the
|
|
377
|
+
# settings in RetryConfig.
|
|
364
378
|
# Corresponds to the JSON property `retryConfig`
|
|
365
379
|
# @return [Google::Apis::CloudschedulerV1beta1::RetryConfig]
|
|
366
380
|
attr_accessor :retry_config
|
|
@@ -375,19 +389,19 @@ module Google
|
|
|
375
389
|
# Required, except when used with UpdateJob. Describes the schedule on which the
|
|
376
390
|
# job will be executed. The schedule can be either of the following types: * [
|
|
377
391
|
# Crontab](https://en.wikipedia.org/wiki/Cron#Overview) * English-like [schedule]
|
|
378
|
-
# (
|
|
379
|
-
#
|
|
380
|
-
#
|
|
381
|
-
#
|
|
382
|
-
#
|
|
383
|
-
#
|
|
384
|
-
#
|
|
385
|
-
#
|
|
386
|
-
#
|
|
387
|
-
#
|
|
388
|
-
#
|
|
389
|
-
#
|
|
390
|
-
#
|
|
392
|
+
# (/scheduler/docs/configuring/cron-job-schedules) As a general rule, execution `
|
|
393
|
+
# n + 1` of a job will not begin until execution `n` has finished. Cloud
|
|
394
|
+
# Scheduler will never allow two simultaneously outstanding executions. For
|
|
395
|
+
# example, this implies that if the `n+1`th execution is scheduled to run at 16:
|
|
396
|
+
# 00 but the `n`th execution takes until 16:15, the `n+1`th execution will not
|
|
397
|
+
# start until `16:15`. A scheduled start time will be delayed if the previous
|
|
398
|
+
# execution has not ended when its scheduled time occurs. If retry_count > 0 and
|
|
399
|
+
# a job attempt fails, the job will be tried a total of retry_count times, with
|
|
400
|
+
# exponential backoff, until the next scheduled start time. If retry_count is 0,
|
|
401
|
+
# a job attempt will not be retried if it fails. Instead the Cloud Scheduler
|
|
402
|
+
# system will wait for the next scheduled execution time. Setting retry_count to
|
|
403
|
+
# 0 does not prevent failed jobs from running according to schedule after the
|
|
404
|
+
# failure.
|
|
391
405
|
# Corresponds to the JSON property `schedule`
|
|
392
406
|
# @return [String]
|
|
393
407
|
attr_accessor :schedule
|
|
@@ -507,6 +521,40 @@ module Google
|
|
|
507
521
|
end
|
|
508
522
|
end
|
|
509
523
|
|
|
524
|
+
# The response message for Operations.ListOperations.
|
|
525
|
+
class ListOperationsResponse
|
|
526
|
+
include Google::Apis::Core::Hashable
|
|
527
|
+
|
|
528
|
+
# The standard List next-page token.
|
|
529
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
530
|
+
# @return [String]
|
|
531
|
+
attr_accessor :next_page_token
|
|
532
|
+
|
|
533
|
+
# A list of operations that matches the specified filter in the request.
|
|
534
|
+
# Corresponds to the JSON property `operations`
|
|
535
|
+
# @return [Array<Google::Apis::CloudschedulerV1beta1::Operation>]
|
|
536
|
+
attr_accessor :operations
|
|
537
|
+
|
|
538
|
+
# Unordered list. Unreachable resources. Populated when the request sets `
|
|
539
|
+
# ListOperationsRequest.return_partial_success` and reads across collections.
|
|
540
|
+
# For example, when attempting to list all resources across all supported
|
|
541
|
+
# locations.
|
|
542
|
+
# Corresponds to the JSON property `unreachable`
|
|
543
|
+
# @return [Array<String>]
|
|
544
|
+
attr_accessor :unreachable
|
|
545
|
+
|
|
546
|
+
def initialize(**args)
|
|
547
|
+
update!(**args)
|
|
548
|
+
end
|
|
549
|
+
|
|
550
|
+
# Update properties of this object
|
|
551
|
+
def update!(**args)
|
|
552
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
553
|
+
@operations = args[:operations] if args.key?(:operations)
|
|
554
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
|
555
|
+
end
|
|
556
|
+
end
|
|
557
|
+
|
|
510
558
|
# A resource that represents a Google Cloud location.
|
|
511
559
|
class Location
|
|
512
560
|
include Google::Apis::Core::Hashable
|
|
@@ -617,6 +665,68 @@ module Google
|
|
|
617
665
|
end
|
|
618
666
|
end
|
|
619
667
|
|
|
668
|
+
# This resource represents a long-running operation that is the result of a
|
|
669
|
+
# network API call.
|
|
670
|
+
class Operation
|
|
671
|
+
include Google::Apis::Core::Hashable
|
|
672
|
+
|
|
673
|
+
# If the value is `false`, it means the operation is still in progress. If `true`
|
|
674
|
+
# , the operation is completed, and either `error` or `response` is available.
|
|
675
|
+
# Corresponds to the JSON property `done`
|
|
676
|
+
# @return [Boolean]
|
|
677
|
+
attr_accessor :done
|
|
678
|
+
alias_method :done?, :done
|
|
679
|
+
|
|
680
|
+
# The `Status` type defines a logical error model that is suitable for different
|
|
681
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
|
682
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
|
683
|
+
# data: error code, error message, and error details. You can find out more
|
|
684
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
|
685
|
+
# //cloud.google.com/apis/design/errors).
|
|
686
|
+
# Corresponds to the JSON property `error`
|
|
687
|
+
# @return [Google::Apis::CloudschedulerV1beta1::Status]
|
|
688
|
+
attr_accessor :error
|
|
689
|
+
|
|
690
|
+
# Service-specific metadata associated with the operation. It typically contains
|
|
691
|
+
# progress information and common metadata such as create time. Some services
|
|
692
|
+
# might not provide such metadata. Any method that returns a long-running
|
|
693
|
+
# operation should document the metadata type, if any.
|
|
694
|
+
# Corresponds to the JSON property `metadata`
|
|
695
|
+
# @return [Hash<String,Object>]
|
|
696
|
+
attr_accessor :metadata
|
|
697
|
+
|
|
698
|
+
# The server-assigned name, which is only unique within the same service that
|
|
699
|
+
# originally returns it. If you use the default HTTP mapping, the `name` should
|
|
700
|
+
# be a resource name ending with `operations/`unique_id``.
|
|
701
|
+
# Corresponds to the JSON property `name`
|
|
702
|
+
# @return [String]
|
|
703
|
+
attr_accessor :name
|
|
704
|
+
|
|
705
|
+
# The normal, successful response of the operation. If the original method
|
|
706
|
+
# returns no data on success, such as `Delete`, the response is `google.protobuf.
|
|
707
|
+
# Empty`. If the original method is standard `Get`/`Create`/`Update`, the
|
|
708
|
+
# response should be the resource. For other methods, the response should have
|
|
709
|
+
# the type `XxxResponse`, where `Xxx` is the original method name. For example,
|
|
710
|
+
# if the original method name is `TakeSnapshot()`, the inferred response type is
|
|
711
|
+
# `TakeSnapshotResponse`.
|
|
712
|
+
# Corresponds to the JSON property `response`
|
|
713
|
+
# @return [Hash<String,Object>]
|
|
714
|
+
attr_accessor :response
|
|
715
|
+
|
|
716
|
+
def initialize(**args)
|
|
717
|
+
update!(**args)
|
|
718
|
+
end
|
|
719
|
+
|
|
720
|
+
# Update properties of this object
|
|
721
|
+
def update!(**args)
|
|
722
|
+
@done = args[:done] if args.key?(:done)
|
|
723
|
+
@error = args[:error] if args.key?(:error)
|
|
724
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
|
725
|
+
@name = args[:name] if args.key?(:name)
|
|
726
|
+
@response = args[:response] if args.key?(:response)
|
|
727
|
+
end
|
|
728
|
+
end
|
|
729
|
+
|
|
620
730
|
# Represents the metadata of the long-running operation.
|
|
621
731
|
class OperationMetadata
|
|
622
732
|
include Google::Apis::Core::Hashable
|
|
@@ -807,10 +917,10 @@ module Google
|
|
|
807
917
|
end
|
|
808
918
|
|
|
809
919
|
# Settings that determine the retry behavior. For more information, see [Retry
|
|
810
|
-
# jobs](
|
|
811
|
-
#
|
|
812
|
-
#
|
|
813
|
-
#
|
|
920
|
+
# jobs](/scheduler/docs/configuring/retry-jobs). By default, if a job does not
|
|
921
|
+
# complete successfully (meaning that an acknowledgement is not received from
|
|
922
|
+
# the handler, then it will be retried with exponential backoff according to the
|
|
923
|
+
# settings in RetryConfig.
|
|
814
924
|
class RetryConfig
|
|
815
925
|
include Google::Apis::Core::Hashable
|
|
816
926
|
|
|
@@ -823,9 +933,9 @@ module Google
|
|
|
823
933
|
# The time between retries will double `max_doublings` times. A job's retry
|
|
824
934
|
# interval starts at min_backoff_duration, then doubles `max_doublings` times,
|
|
825
935
|
# then increases linearly, and finally retries at intervals of
|
|
826
|
-
# max_backoff_duration up to retry_count times. For examples, see [Retry jobs](
|
|
827
|
-
#
|
|
828
|
-
#
|
|
936
|
+
# max_backoff_duration up to retry_count times. For examples, see [Retry jobs](/
|
|
937
|
+
# scheduler/docs/configuring/retry-jobs#max-doublings). The default value of
|
|
938
|
+
# this field is 5.
|
|
829
939
|
# Corresponds to the JSON property `maxDoublings`
|
|
830
940
|
# @return [Fixnum]
|
|
831
941
|
attr_accessor :max_doublings
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module CloudschedulerV1beta1
|
|
18
18
|
# Version of the google-apis-cloudscheduler_v1beta1 gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.39.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20251205"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -34,6 +34,12 @@ module Google
|
|
|
34
34
|
include Google::Apis::Core::JsonObjectSupport
|
|
35
35
|
end
|
|
36
36
|
|
|
37
|
+
class CancelOperationRequest
|
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
39
|
+
|
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
41
|
+
end
|
|
42
|
+
|
|
37
43
|
class Empty
|
|
38
44
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
39
45
|
|
|
@@ -64,6 +70,12 @@ module Google
|
|
|
64
70
|
include Google::Apis::Core::JsonObjectSupport
|
|
65
71
|
end
|
|
66
72
|
|
|
73
|
+
class ListOperationsResponse
|
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
75
|
+
|
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
77
|
+
end
|
|
78
|
+
|
|
67
79
|
class Location
|
|
68
80
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
69
81
|
|
|
@@ -82,6 +94,12 @@ module Google
|
|
|
82
94
|
include Google::Apis::Core::JsonObjectSupport
|
|
83
95
|
end
|
|
84
96
|
|
|
97
|
+
class Operation
|
|
98
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
99
|
+
|
|
100
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
101
|
+
end
|
|
102
|
+
|
|
85
103
|
class OperationMetadata
|
|
86
104
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
87
105
|
|
|
@@ -152,6 +170,12 @@ module Google
|
|
|
152
170
|
end
|
|
153
171
|
end
|
|
154
172
|
|
|
173
|
+
class CancelOperationRequest
|
|
174
|
+
# @private
|
|
175
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
176
|
+
end
|
|
177
|
+
end
|
|
178
|
+
|
|
155
179
|
class Empty
|
|
156
180
|
# @private
|
|
157
181
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -217,6 +241,16 @@ module Google
|
|
|
217
241
|
end
|
|
218
242
|
end
|
|
219
243
|
|
|
244
|
+
class ListOperationsResponse
|
|
245
|
+
# @private
|
|
246
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
247
|
+
property :next_page_token, as: 'nextPageToken'
|
|
248
|
+
collection :operations, as: 'operations', class: Google::Apis::CloudschedulerV1beta1::Operation, decorator: Google::Apis::CloudschedulerV1beta1::Operation::Representation
|
|
249
|
+
|
|
250
|
+
collection :unreachable, as: 'unreachable'
|
|
251
|
+
end
|
|
252
|
+
end
|
|
253
|
+
|
|
220
254
|
class Location
|
|
221
255
|
# @private
|
|
222
256
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -244,6 +278,18 @@ module Google
|
|
|
244
278
|
end
|
|
245
279
|
end
|
|
246
280
|
|
|
281
|
+
class Operation
|
|
282
|
+
# @private
|
|
283
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
284
|
+
property :done, as: 'done'
|
|
285
|
+
property :error, as: 'error', class: Google::Apis::CloudschedulerV1beta1::Status, decorator: Google::Apis::CloudschedulerV1beta1::Status::Representation
|
|
286
|
+
|
|
287
|
+
hash :metadata, as: 'metadata'
|
|
288
|
+
property :name, as: 'name'
|
|
289
|
+
hash :response, as: 'response'
|
|
290
|
+
end
|
|
291
|
+
end
|
|
292
|
+
|
|
247
293
|
class OperationMetadata
|
|
248
294
|
# @private
|
|
249
295
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -85,8 +85,8 @@ module Google
|
|
|
85
85
|
# @param [String] name
|
|
86
86
|
# The resource that owns the locations collection, if applicable.
|
|
87
87
|
# @param [Array<String>, String] extra_location_types
|
|
88
|
-
# Optional.
|
|
89
|
-
#
|
|
88
|
+
# Optional. Do not use this field. It is unsupported and is ignored unless
|
|
89
|
+
# explicitly documented otherwise. This is primarily for internal usage.
|
|
90
90
|
# @param [String] filter
|
|
91
91
|
# A filter to narrow down results to a preferred subset. The filtering language
|
|
92
92
|
# accepts strings like `"displayName=tokyo"`, and is documented in more detail
|
|
@@ -294,12 +294,13 @@ module Google
|
|
|
294
294
|
# The job name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/jobs/
|
|
295
295
|
# JOB_ID`. * `PROJECT_ID` can contain letters ([A-Za-z]), numbers ([0-9]),
|
|
296
296
|
# hyphens (-), colons (:), or periods (.). For more information, see [
|
|
297
|
-
# Identifying projects](
|
|
298
|
-
#
|
|
299
|
-
#
|
|
300
|
-
#
|
|
301
|
-
#
|
|
302
|
-
#
|
|
297
|
+
# Identifying projects](/resource-manager/docs/creating-managing-projects#
|
|
298
|
+
# identifying_projects) * `LOCATION_ID` is the canonical ID for the job's
|
|
299
|
+
# location. The list of available locations can be obtained by calling [
|
|
300
|
+
# locations.list](/scheduler/docs/reference/rest/v1beta1/projects.locations/list)
|
|
301
|
+
# . For more information, see [Cloud Scheduler locations](/scheduler/docs/
|
|
302
|
+
# locations). * `JOB_ID` can contain only letters ([A-Za-z]), numbers ([0-9]),
|
|
303
|
+
# hyphens (-), or underscores (_). The maximum length is 500 characters.
|
|
303
304
|
# @param [Google::Apis::CloudschedulerV1beta1::Job] job_object
|
|
304
305
|
# @param [String] update_mask
|
|
305
306
|
# A mask used to specify which fields of the job are being updated.
|
|
@@ -440,6 +441,159 @@ module Google
|
|
|
440
441
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
441
442
|
execute_or_queue_command(command, &block)
|
|
442
443
|
end
|
|
444
|
+
|
|
445
|
+
# Starts asynchronous cancellation on a long-running operation. The server makes
|
|
446
|
+
# a best effort to cancel the operation, but success is not guaranteed. If the
|
|
447
|
+
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
|
448
|
+
# Clients can use Operations.GetOperation or other methods to check whether the
|
|
449
|
+
# cancellation succeeded or whether the operation completed despite cancellation.
|
|
450
|
+
# On successful cancellation, the operation is not deleted; instead, it becomes
|
|
451
|
+
# an operation with an Operation.error value with a google.rpc.Status.code of `1`
|
|
452
|
+
# , corresponding to `Code.CANCELLED`.
|
|
453
|
+
# @param [String] name
|
|
454
|
+
# The name of the operation resource to be cancelled.
|
|
455
|
+
# @param [Google::Apis::CloudschedulerV1beta1::CancelOperationRequest] cancel_operation_request_object
|
|
456
|
+
# @param [String] fields
|
|
457
|
+
# Selector specifying which fields to include in a partial response.
|
|
458
|
+
# @param [String] quota_user
|
|
459
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
460
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
461
|
+
# @param [Google::Apis::RequestOptions] options
|
|
462
|
+
# Request-specific options
|
|
463
|
+
#
|
|
464
|
+
# @yield [result, err] Result & error if block supplied
|
|
465
|
+
# @yieldparam result [Google::Apis::CloudschedulerV1beta1::Empty] parsed result object
|
|
466
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
467
|
+
#
|
|
468
|
+
# @return [Google::Apis::CloudschedulerV1beta1::Empty]
|
|
469
|
+
#
|
|
470
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
471
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
472
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
473
|
+
def cancel_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
474
|
+
command = make_simple_command(:post, 'v1beta1/{+name}:cancel', options)
|
|
475
|
+
command.request_representation = Google::Apis::CloudschedulerV1beta1::CancelOperationRequest::Representation
|
|
476
|
+
command.request_object = cancel_operation_request_object
|
|
477
|
+
command.response_representation = Google::Apis::CloudschedulerV1beta1::Empty::Representation
|
|
478
|
+
command.response_class = Google::Apis::CloudschedulerV1beta1::Empty
|
|
479
|
+
command.params['name'] = name unless name.nil?
|
|
480
|
+
command.query['fields'] = fields unless fields.nil?
|
|
481
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
482
|
+
execute_or_queue_command(command, &block)
|
|
483
|
+
end
|
|
484
|
+
|
|
485
|
+
# Deletes a long-running operation. This method indicates that the client is no
|
|
486
|
+
# longer interested in the operation result. It does not cancel the operation.
|
|
487
|
+
# If the server doesn't support this method, it returns `google.rpc.Code.
|
|
488
|
+
# UNIMPLEMENTED`.
|
|
489
|
+
# @param [String] name
|
|
490
|
+
# The name of the operation resource to be deleted.
|
|
491
|
+
# @param [String] fields
|
|
492
|
+
# Selector specifying which fields to include in a partial response.
|
|
493
|
+
# @param [String] quota_user
|
|
494
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
495
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
496
|
+
# @param [Google::Apis::RequestOptions] options
|
|
497
|
+
# Request-specific options
|
|
498
|
+
#
|
|
499
|
+
# @yield [result, err] Result & error if block supplied
|
|
500
|
+
# @yieldparam result [Google::Apis::CloudschedulerV1beta1::Empty] parsed result object
|
|
501
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
502
|
+
#
|
|
503
|
+
# @return [Google::Apis::CloudschedulerV1beta1::Empty]
|
|
504
|
+
#
|
|
505
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
506
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
507
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
508
|
+
def delete_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
509
|
+
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
|
510
|
+
command.response_representation = Google::Apis::CloudschedulerV1beta1::Empty::Representation
|
|
511
|
+
command.response_class = Google::Apis::CloudschedulerV1beta1::Empty
|
|
512
|
+
command.params['name'] = name unless name.nil?
|
|
513
|
+
command.query['fields'] = fields unless fields.nil?
|
|
514
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
515
|
+
execute_or_queue_command(command, &block)
|
|
516
|
+
end
|
|
517
|
+
|
|
518
|
+
# Gets the latest state of a long-running operation. Clients can use this method
|
|
519
|
+
# to poll the operation result at intervals as recommended by the API service.
|
|
520
|
+
# @param [String] name
|
|
521
|
+
# The name of the operation resource.
|
|
522
|
+
# @param [String] fields
|
|
523
|
+
# Selector specifying which fields to include in a partial response.
|
|
524
|
+
# @param [String] quota_user
|
|
525
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
526
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
527
|
+
# @param [Google::Apis::RequestOptions] options
|
|
528
|
+
# Request-specific options
|
|
529
|
+
#
|
|
530
|
+
# @yield [result, err] Result & error if block supplied
|
|
531
|
+
# @yieldparam result [Google::Apis::CloudschedulerV1beta1::Operation] parsed result object
|
|
532
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
533
|
+
#
|
|
534
|
+
# @return [Google::Apis::CloudschedulerV1beta1::Operation]
|
|
535
|
+
#
|
|
536
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
537
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
538
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
539
|
+
def get_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
540
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
|
541
|
+
command.response_representation = Google::Apis::CloudschedulerV1beta1::Operation::Representation
|
|
542
|
+
command.response_class = Google::Apis::CloudschedulerV1beta1::Operation
|
|
543
|
+
command.params['name'] = name unless name.nil?
|
|
544
|
+
command.query['fields'] = fields unless fields.nil?
|
|
545
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
546
|
+
execute_or_queue_command(command, &block)
|
|
547
|
+
end
|
|
548
|
+
|
|
549
|
+
# Lists operations that match the specified filter in the request. If the server
|
|
550
|
+
# doesn't support this method, it returns `UNIMPLEMENTED`.
|
|
551
|
+
# @param [String] name
|
|
552
|
+
# The name of the operation's parent resource.
|
|
553
|
+
# @param [String] filter
|
|
554
|
+
# The standard list filter.
|
|
555
|
+
# @param [Fixnum] page_size
|
|
556
|
+
# The standard list page size.
|
|
557
|
+
# @param [String] page_token
|
|
558
|
+
# The standard list page token.
|
|
559
|
+
# @param [Boolean] return_partial_success
|
|
560
|
+
# When set to `true`, operations that are reachable are returned as normal, and
|
|
561
|
+
# those that are unreachable are returned in the ListOperationsResponse.
|
|
562
|
+
# unreachable field. This can only be `true` when reading across collections.
|
|
563
|
+
# For example, when `parent` is set to `"projects/example/locations/-"`. This
|
|
564
|
+
# field is not supported by default and will result in an `UNIMPLEMENTED` error
|
|
565
|
+
# if set unless explicitly documented otherwise in service or product specific
|
|
566
|
+
# documentation.
|
|
567
|
+
# @param [String] fields
|
|
568
|
+
# Selector specifying which fields to include in a partial response.
|
|
569
|
+
# @param [String] quota_user
|
|
570
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
571
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
572
|
+
# @param [Google::Apis::RequestOptions] options
|
|
573
|
+
# Request-specific options
|
|
574
|
+
#
|
|
575
|
+
# @yield [result, err] Result & error if block supplied
|
|
576
|
+
# @yieldparam result [Google::Apis::CloudschedulerV1beta1::ListOperationsResponse] parsed result object
|
|
577
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
578
|
+
#
|
|
579
|
+
# @return [Google::Apis::CloudschedulerV1beta1::ListOperationsResponse]
|
|
580
|
+
#
|
|
581
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
582
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
583
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
584
|
+
def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
585
|
+
command = make_simple_command(:get, 'v1beta1/{+name}/operations', options)
|
|
586
|
+
command.response_representation = Google::Apis::CloudschedulerV1beta1::ListOperationsResponse::Representation
|
|
587
|
+
command.response_class = Google::Apis::CloudschedulerV1beta1::ListOperationsResponse
|
|
588
|
+
command.params['name'] = name unless name.nil?
|
|
589
|
+
command.query['filter'] = filter unless filter.nil?
|
|
590
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
591
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
592
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
|
593
|
+
command.query['fields'] = fields unless fields.nil?
|
|
594
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
595
|
+
execute_or_queue_command(command, &block)
|
|
596
|
+
end
|
|
443
597
|
|
|
444
598
|
protected
|
|
445
599
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-cloudscheduler_v1beta1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.39.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -57,7 +57,7 @@ licenses:
|
|
|
57
57
|
metadata:
|
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudscheduler_v1beta1/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudscheduler_v1beta1/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudscheduler_v1beta1/v0.39.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudscheduler_v1beta1
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|