google-apis-cloudscheduler_v1 0.38.0 → 0.40.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 +9 -0
- data/lib/google/apis/cloudscheduler_v1/classes.rb +35 -27
- data/lib/google/apis/cloudscheduler_v1/gem_version.rb +3 -3
- data/lib/google/apis/cloudscheduler_v1/representations.rb +1 -0
- data/lib/google/apis/cloudscheduler_v1/service.rb +146 -146
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2ce848a7000e62214892708a31d4ba4cb1acd9a471b4500a1ac270deafe7f633
|
4
|
+
data.tar.gz: '0177940868e9c0950c668dc5bd279edd7eaa3438230a32b4c87d2785b0424754'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c143b04971811cc14e589e9352cc7953edfa308c9d38f476f18b6f4fc63891396677c1bffba9a61cb7721b360ea26626e6ce4db772bb7f1a7a7908ffd9f0acbb
|
7
|
+
data.tar.gz: bf11e853a48aff73e667fbd82918aa94ed662588e52d7ced26304a6fb82cee9fd21a8f2ab73e1461d87c82560829bcb42ab0401eee8a695a4f7cf089754f8f09
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-cloudscheduler_v1
|
2
2
|
|
3
|
+
### v0.40.0 (2025-09-28)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250917
|
6
|
+
|
7
|
+
### v0.39.0 (2025-06-08)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250530
|
10
|
+
* Regenerated using generator version 0.18.0
|
11
|
+
|
3
12
|
### v0.38.0 (2025-05-04)
|
4
13
|
|
5
14
|
* Regenerated using generator version 0.17.0
|
@@ -360,14 +360,22 @@ module Google
|
|
360
360
|
# @return [Google::Apis::CloudschedulerV1::PubsubTarget]
|
361
361
|
attr_accessor :pubsub_target
|
362
362
|
|
363
|
-
# Settings that determine the retry behavior.
|
364
|
-
#
|
365
|
-
#
|
366
|
-
#
|
363
|
+
# Settings that determine the retry behavior. For more information, see [Retry
|
364
|
+
# jobs](https://cloud.google.com/scheduler/docs/configuring/retry-jobs). By
|
365
|
+
# default, if a job does not complete successfully (meaning that an
|
366
|
+
# acknowledgement is not received from the handler, then it will be retried with
|
367
|
+
# exponential backoff according to the settings in RetryConfig.
|
367
368
|
# Corresponds to the JSON property `retryConfig`
|
368
369
|
# @return [Google::Apis::CloudschedulerV1::RetryConfig]
|
369
370
|
attr_accessor :retry_config
|
370
371
|
|
372
|
+
# Output only. Whether or not this Job satisfies the requirements of physical
|
373
|
+
# zone separation
|
374
|
+
# Corresponds to the JSON property `satisfiesPzs`
|
375
|
+
# @return [Boolean]
|
376
|
+
attr_accessor :satisfies_pzs
|
377
|
+
alias_method :satisfies_pzs?, :satisfies_pzs
|
378
|
+
|
371
379
|
# Required, except when used with UpdateJob. Describes the schedule on which the
|
372
380
|
# job will be executed. The schedule can be either of the following types: * [
|
373
381
|
# Crontab](https://en.wikipedia.org/wiki/Cron#Overview) * English-like [schedule]
|
@@ -439,6 +447,7 @@ module Google
|
|
439
447
|
@name = args[:name] if args.key?(:name)
|
440
448
|
@pubsub_target = args[:pubsub_target] if args.key?(:pubsub_target)
|
441
449
|
@retry_config = args[:retry_config] if args.key?(:retry_config)
|
450
|
+
@satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
|
442
451
|
@schedule = args[:schedule] if args.key?(:schedule)
|
443
452
|
@schedule_time = args[:schedule_time] if args.key?(:schedule_time)
|
444
453
|
@state = args[:state] if args.key?(:state)
|
@@ -887,10 +896,11 @@ module Google
|
|
887
896
|
end
|
888
897
|
end
|
889
898
|
|
890
|
-
# Settings that determine the retry behavior.
|
891
|
-
#
|
892
|
-
#
|
893
|
-
#
|
899
|
+
# Settings that determine the retry behavior. For more information, see [Retry
|
900
|
+
# jobs](https://cloud.google.com/scheduler/docs/configuring/retry-jobs). By
|
901
|
+
# default, if a job does not complete successfully (meaning that an
|
902
|
+
# acknowledgement is not received from the handler, then it will be retried with
|
903
|
+
# exponential backoff according to the settings in RetryConfig.
|
894
904
|
class RetryConfig
|
895
905
|
include Google::Apis::Core::Hashable
|
896
906
|
|
@@ -903,21 +913,18 @@ module Google
|
|
903
913
|
# The time between retries will double `max_doublings` times. A job's retry
|
904
914
|
# interval starts at min_backoff_duration, then doubles `max_doublings` times,
|
905
915
|
# then increases linearly, and finally retries at intervals of
|
906
|
-
# max_backoff_duration up to retry_count times. For
|
907
|
-
#
|
908
|
-
#
|
909
|
-
# double three times, and then increase linearly by 2^3 * 10s. Finally, the job
|
910
|
-
# will retry at intervals of max_backoff_duration until the job has been
|
911
|
-
# attempted retry_count times. Thus, the requests will retry at 10s, 20s, 40s,
|
912
|
-
# 80s, 160s, 240s, 300s, 300s, .... The default value of this field is 5.
|
916
|
+
# max_backoff_duration up to retry_count times. For examples, see [Retry jobs](
|
917
|
+
# https://cloud.google.com/scheduler/docs/configuring/retry-jobs#max-doublings).
|
918
|
+
# The default value of this field is 5.
|
913
919
|
# Corresponds to the JSON property `maxDoublings`
|
914
920
|
# @return [Fixnum]
|
915
921
|
attr_accessor :max_doublings
|
916
922
|
|
917
|
-
# The time limit for retrying a failed job, measured from time when an
|
918
|
-
# was first attempted. If specified with retry_count, the job will be
|
919
|
-
# until both limits are reached. The default value for
|
920
|
-
# zero, which means retry duration is unlimited.
|
923
|
+
# The time limit for retrying a failed job, measured from the time when an
|
924
|
+
# execution was first attempted. If specified with retry_count, the job will be
|
925
|
+
# retried until both limits are reached. The default value for
|
926
|
+
# max_retry_duration is zero, which means retry duration is unlimited. However,
|
927
|
+
# if retry_count is also 0, a job attempt won't be retried if it fails.
|
921
928
|
# Corresponds to the JSON property `maxRetryDuration`
|
922
929
|
# @return [String]
|
923
930
|
attr_accessor :max_retry_duration
|
@@ -930,14 +937,15 @@ module Google
|
|
930
937
|
|
931
938
|
# The number of attempts that the system will make to run a job using the
|
932
939
|
# exponential backoff procedure described by max_doublings. The default value of
|
933
|
-
# retry_count is zero. If retry_count is 0
|
934
|
-
# it fails. Instead
|
935
|
-
# execution time. Setting retry_count to 0
|
936
|
-
# running according to schedule after the
|
937
|
-
# non-zero number
|
938
|
-
# exponential backoff, retry_count times
|
939
|
-
#
|
940
|
-
#
|
940
|
+
# retry_count is zero. If retry_count is 0 (and if max_retry_duration is also 0),
|
941
|
+
# a job attempt won't be retried if it fails. Instead, Cloud Scheduler system
|
942
|
+
# will wait for the next scheduled execution time. Setting retry_count to 0
|
943
|
+
# doesn't prevent failed jobs from running according to schedule after the
|
944
|
+
# failure. If retry_count is set to a non-zero number, Cloud Scheduler will
|
945
|
+
# retry the failed job, using exponential backoff, for retry_count times until
|
946
|
+
# the job succeeds or the number of retries is exhausted. Note that the next
|
947
|
+
# scheduled execution time might be skipped if the retries continue through that
|
948
|
+
# time. Values greater than 5 and negative values are not allowed.
|
941
949
|
# Corresponds to the JSON property `retryCount`
|
942
950
|
# @return [Fixnum]
|
943
951
|
attr_accessor :retry_count
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module CloudschedulerV1
|
18
18
|
# Version of the google-apis-cloudscheduler_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.40.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.18.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250917"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -211,6 +211,7 @@ module Google
|
|
211
211
|
|
212
212
|
property :retry_config, as: 'retryConfig', class: Google::Apis::CloudschedulerV1::RetryConfig, decorator: Google::Apis::CloudschedulerV1::RetryConfig::Representation
|
213
213
|
|
214
|
+
property :satisfies_pzs, as: 'satisfiesPzs'
|
214
215
|
property :schedule, as: 'schedule'
|
215
216
|
property :schedule_time, as: 'scheduleTime'
|
216
217
|
property :state, as: 'state'
|
@@ -51,150 +51,6 @@ module Google
|
|
51
51
|
@batch_path = 'batch'
|
52
52
|
end
|
53
53
|
|
54
|
-
# Starts asynchronous cancellation on a long-running operation. The server makes
|
55
|
-
# a best effort to cancel the operation, but success is not guaranteed. If the
|
56
|
-
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
57
|
-
# Clients can use Operations.GetOperation or other methods to check whether the
|
58
|
-
# cancellation succeeded or whether the operation completed despite cancellation.
|
59
|
-
# On successful cancellation, the operation is not deleted; instead, it becomes
|
60
|
-
# an operation with an Operation.error value with a google.rpc.Status.code of `1`
|
61
|
-
# , corresponding to `Code.CANCELLED`.
|
62
|
-
# @param [String] name
|
63
|
-
# The name of the operation resource to be cancelled.
|
64
|
-
# @param [Google::Apis::CloudschedulerV1::CancelOperationRequest] cancel_operation_request_object
|
65
|
-
# @param [String] fields
|
66
|
-
# Selector specifying which fields to include in a partial response.
|
67
|
-
# @param [String] quota_user
|
68
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
69
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
70
|
-
# @param [Google::Apis::RequestOptions] options
|
71
|
-
# Request-specific options
|
72
|
-
#
|
73
|
-
# @yield [result, err] Result & error if block supplied
|
74
|
-
# @yieldparam result [Google::Apis::CloudschedulerV1::Empty] parsed result object
|
75
|
-
# @yieldparam err [StandardError] error object if request failed
|
76
|
-
#
|
77
|
-
# @return [Google::Apis::CloudschedulerV1::Empty]
|
78
|
-
#
|
79
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
80
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
81
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
82
|
-
def cancel_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
83
|
-
command = make_simple_command(:post, 'v1/{+name}:cancel', options)
|
84
|
-
command.request_representation = Google::Apis::CloudschedulerV1::CancelOperationRequest::Representation
|
85
|
-
command.request_object = cancel_operation_request_object
|
86
|
-
command.response_representation = Google::Apis::CloudschedulerV1::Empty::Representation
|
87
|
-
command.response_class = Google::Apis::CloudschedulerV1::Empty
|
88
|
-
command.params['name'] = name unless name.nil?
|
89
|
-
command.query['fields'] = fields unless fields.nil?
|
90
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
91
|
-
execute_or_queue_command(command, &block)
|
92
|
-
end
|
93
|
-
|
94
|
-
# Deletes a long-running operation. This method indicates that the client is no
|
95
|
-
# longer interested in the operation result. It does not cancel the operation.
|
96
|
-
# If the server doesn't support this method, it returns `google.rpc.Code.
|
97
|
-
# UNIMPLEMENTED`.
|
98
|
-
# @param [String] name
|
99
|
-
# The name of the operation resource to be deleted.
|
100
|
-
# @param [String] fields
|
101
|
-
# Selector specifying which fields to include in a partial response.
|
102
|
-
# @param [String] quota_user
|
103
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
104
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
105
|
-
# @param [Google::Apis::RequestOptions] options
|
106
|
-
# Request-specific options
|
107
|
-
#
|
108
|
-
# @yield [result, err] Result & error if block supplied
|
109
|
-
# @yieldparam result [Google::Apis::CloudschedulerV1::Empty] parsed result object
|
110
|
-
# @yieldparam err [StandardError] error object if request failed
|
111
|
-
#
|
112
|
-
# @return [Google::Apis::CloudschedulerV1::Empty]
|
113
|
-
#
|
114
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
115
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
116
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
117
|
-
def delete_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
118
|
-
command = make_simple_command(:delete, 'v1/{+name}', options)
|
119
|
-
command.response_representation = Google::Apis::CloudschedulerV1::Empty::Representation
|
120
|
-
command.response_class = Google::Apis::CloudschedulerV1::Empty
|
121
|
-
command.params['name'] = name unless name.nil?
|
122
|
-
command.query['fields'] = fields unless fields.nil?
|
123
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
124
|
-
execute_or_queue_command(command, &block)
|
125
|
-
end
|
126
|
-
|
127
|
-
# Gets the latest state of a long-running operation. Clients can use this method
|
128
|
-
# to poll the operation result at intervals as recommended by the API service.
|
129
|
-
# @param [String] name
|
130
|
-
# The name of the operation resource.
|
131
|
-
# @param [String] fields
|
132
|
-
# Selector specifying which fields to include in a partial response.
|
133
|
-
# @param [String] quota_user
|
134
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
135
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
136
|
-
# @param [Google::Apis::RequestOptions] options
|
137
|
-
# Request-specific options
|
138
|
-
#
|
139
|
-
# @yield [result, err] Result & error if block supplied
|
140
|
-
# @yieldparam result [Google::Apis::CloudschedulerV1::Operation] parsed result object
|
141
|
-
# @yieldparam err [StandardError] error object if request failed
|
142
|
-
#
|
143
|
-
# @return [Google::Apis::CloudschedulerV1::Operation]
|
144
|
-
#
|
145
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
146
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
147
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
148
|
-
def get_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
149
|
-
command = make_simple_command(:get, 'v1/{+name}', options)
|
150
|
-
command.response_representation = Google::Apis::CloudschedulerV1::Operation::Representation
|
151
|
-
command.response_class = Google::Apis::CloudschedulerV1::Operation
|
152
|
-
command.params['name'] = name unless name.nil?
|
153
|
-
command.query['fields'] = fields unless fields.nil?
|
154
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
155
|
-
execute_or_queue_command(command, &block)
|
156
|
-
end
|
157
|
-
|
158
|
-
# Lists operations that match the specified filter in the request. If the server
|
159
|
-
# doesn't support this method, it returns `UNIMPLEMENTED`.
|
160
|
-
# @param [String] name
|
161
|
-
# The name of the operation's parent resource.
|
162
|
-
# @param [String] filter
|
163
|
-
# The standard list filter.
|
164
|
-
# @param [Fixnum] page_size
|
165
|
-
# The standard list page size.
|
166
|
-
# @param [String] page_token
|
167
|
-
# The standard list page token.
|
168
|
-
# @param [String] fields
|
169
|
-
# Selector specifying which fields to include in a partial response.
|
170
|
-
# @param [String] quota_user
|
171
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
172
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
173
|
-
# @param [Google::Apis::RequestOptions] options
|
174
|
-
# Request-specific options
|
175
|
-
#
|
176
|
-
# @yield [result, err] Result & error if block supplied
|
177
|
-
# @yieldparam result [Google::Apis::CloudschedulerV1::ListOperationsResponse] parsed result object
|
178
|
-
# @yieldparam err [StandardError] error object if request failed
|
179
|
-
#
|
180
|
-
# @return [Google::Apis::CloudschedulerV1::ListOperationsResponse]
|
181
|
-
#
|
182
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
183
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
184
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
185
|
-
def list_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
186
|
-
command = make_simple_command(:get, 'v1/{+name}', options)
|
187
|
-
command.response_representation = Google::Apis::CloudschedulerV1::ListOperationsResponse::Representation
|
188
|
-
command.response_class = Google::Apis::CloudschedulerV1::ListOperationsResponse
|
189
|
-
command.params['name'] = name unless name.nil?
|
190
|
-
command.query['filter'] = filter unless filter.nil?
|
191
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
192
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
193
|
-
command.query['fields'] = fields unless fields.nil?
|
194
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
195
|
-
execute_or_queue_command(command, &block)
|
196
|
-
end
|
197
|
-
|
198
54
|
# Gets information about a location.
|
199
55
|
# @param [String] name
|
200
56
|
# Resource name for the location.
|
@@ -229,8 +85,8 @@ module Google
|
|
229
85
|
# @param [String] name
|
230
86
|
# The resource that owns the locations collection, if applicable.
|
231
87
|
# @param [Array<String>, String] extra_location_types
|
232
|
-
# Optional.
|
233
|
-
#
|
88
|
+
# Optional. Unless explicitly documented otherwise, don't use this unsupported
|
89
|
+
# field which is primarily intended for internal usage.
|
234
90
|
# @param [String] filter
|
235
91
|
# A filter to narrow down results to a preferred subset. The filtering language
|
236
92
|
# accepts strings like `"displayName=tokyo"`, and is documented in more detail
|
@@ -566,6 +422,150 @@ module Google
|
|
566
422
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
567
423
|
execute_or_queue_command(command, &block)
|
568
424
|
end
|
425
|
+
|
426
|
+
# Starts asynchronous cancellation on a long-running operation. The server makes
|
427
|
+
# a best effort to cancel the operation, but success is not guaranteed. If the
|
428
|
+
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
429
|
+
# Clients can use Operations.GetOperation or other methods to check whether the
|
430
|
+
# cancellation succeeded or whether the operation completed despite cancellation.
|
431
|
+
# On successful cancellation, the operation is not deleted; instead, it becomes
|
432
|
+
# an operation with an Operation.error value with a google.rpc.Status.code of `1`
|
433
|
+
# , corresponding to `Code.CANCELLED`.
|
434
|
+
# @param [String] name
|
435
|
+
# The name of the operation resource to be cancelled.
|
436
|
+
# @param [Google::Apis::CloudschedulerV1::CancelOperationRequest] cancel_operation_request_object
|
437
|
+
# @param [String] fields
|
438
|
+
# Selector specifying which fields to include in a partial response.
|
439
|
+
# @param [String] quota_user
|
440
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
441
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
442
|
+
# @param [Google::Apis::RequestOptions] options
|
443
|
+
# Request-specific options
|
444
|
+
#
|
445
|
+
# @yield [result, err] Result & error if block supplied
|
446
|
+
# @yieldparam result [Google::Apis::CloudschedulerV1::Empty] parsed result object
|
447
|
+
# @yieldparam err [StandardError] error object if request failed
|
448
|
+
#
|
449
|
+
# @return [Google::Apis::CloudschedulerV1::Empty]
|
450
|
+
#
|
451
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
452
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
453
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
454
|
+
def cancel_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
455
|
+
command = make_simple_command(:post, 'v1/{+name}:cancel', options)
|
456
|
+
command.request_representation = Google::Apis::CloudschedulerV1::CancelOperationRequest::Representation
|
457
|
+
command.request_object = cancel_operation_request_object
|
458
|
+
command.response_representation = Google::Apis::CloudschedulerV1::Empty::Representation
|
459
|
+
command.response_class = Google::Apis::CloudschedulerV1::Empty
|
460
|
+
command.params['name'] = name unless name.nil?
|
461
|
+
command.query['fields'] = fields unless fields.nil?
|
462
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
463
|
+
execute_or_queue_command(command, &block)
|
464
|
+
end
|
465
|
+
|
466
|
+
# Deletes a long-running operation. This method indicates that the client is no
|
467
|
+
# longer interested in the operation result. It does not cancel the operation.
|
468
|
+
# If the server doesn't support this method, it returns `google.rpc.Code.
|
469
|
+
# UNIMPLEMENTED`.
|
470
|
+
# @param [String] name
|
471
|
+
# The name of the operation resource to be deleted.
|
472
|
+
# @param [String] fields
|
473
|
+
# Selector specifying which fields to include in a partial response.
|
474
|
+
# @param [String] quota_user
|
475
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
476
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
477
|
+
# @param [Google::Apis::RequestOptions] options
|
478
|
+
# Request-specific options
|
479
|
+
#
|
480
|
+
# @yield [result, err] Result & error if block supplied
|
481
|
+
# @yieldparam result [Google::Apis::CloudschedulerV1::Empty] parsed result object
|
482
|
+
# @yieldparam err [StandardError] error object if request failed
|
483
|
+
#
|
484
|
+
# @return [Google::Apis::CloudschedulerV1::Empty]
|
485
|
+
#
|
486
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
487
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
488
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
489
|
+
def delete_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
490
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
491
|
+
command.response_representation = Google::Apis::CloudschedulerV1::Empty::Representation
|
492
|
+
command.response_class = Google::Apis::CloudschedulerV1::Empty
|
493
|
+
command.params['name'] = name unless name.nil?
|
494
|
+
command.query['fields'] = fields unless fields.nil?
|
495
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
496
|
+
execute_or_queue_command(command, &block)
|
497
|
+
end
|
498
|
+
|
499
|
+
# Gets the latest state of a long-running operation. Clients can use this method
|
500
|
+
# to poll the operation result at intervals as recommended by the API service.
|
501
|
+
# @param [String] name
|
502
|
+
# The name of the operation resource.
|
503
|
+
# @param [String] fields
|
504
|
+
# Selector specifying which fields to include in a partial response.
|
505
|
+
# @param [String] quota_user
|
506
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
507
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
508
|
+
# @param [Google::Apis::RequestOptions] options
|
509
|
+
# Request-specific options
|
510
|
+
#
|
511
|
+
# @yield [result, err] Result & error if block supplied
|
512
|
+
# @yieldparam result [Google::Apis::CloudschedulerV1::Operation] parsed result object
|
513
|
+
# @yieldparam err [StandardError] error object if request failed
|
514
|
+
#
|
515
|
+
# @return [Google::Apis::CloudschedulerV1::Operation]
|
516
|
+
#
|
517
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
518
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
519
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
520
|
+
def get_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
521
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
522
|
+
command.response_representation = Google::Apis::CloudschedulerV1::Operation::Representation
|
523
|
+
command.response_class = Google::Apis::CloudschedulerV1::Operation
|
524
|
+
command.params['name'] = name unless name.nil?
|
525
|
+
command.query['fields'] = fields unless fields.nil?
|
526
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
527
|
+
execute_or_queue_command(command, &block)
|
528
|
+
end
|
529
|
+
|
530
|
+
# Lists operations that match the specified filter in the request. If the server
|
531
|
+
# doesn't support this method, it returns `UNIMPLEMENTED`.
|
532
|
+
# @param [String] name
|
533
|
+
# The name of the operation's parent resource.
|
534
|
+
# @param [String] filter
|
535
|
+
# The standard list filter.
|
536
|
+
# @param [Fixnum] page_size
|
537
|
+
# The standard list page size.
|
538
|
+
# @param [String] page_token
|
539
|
+
# The standard list page token.
|
540
|
+
# @param [String] fields
|
541
|
+
# Selector specifying which fields to include in a partial response.
|
542
|
+
# @param [String] quota_user
|
543
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
544
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
545
|
+
# @param [Google::Apis::RequestOptions] options
|
546
|
+
# Request-specific options
|
547
|
+
#
|
548
|
+
# @yield [result, err] Result & error if block supplied
|
549
|
+
# @yieldparam result [Google::Apis::CloudschedulerV1::ListOperationsResponse] parsed result object
|
550
|
+
# @yieldparam err [StandardError] error object if request failed
|
551
|
+
#
|
552
|
+
# @return [Google::Apis::CloudschedulerV1::ListOperationsResponse]
|
553
|
+
#
|
554
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
555
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
556
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
557
|
+
def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
558
|
+
command = make_simple_command(:get, 'v1/{+name}/operations', options)
|
559
|
+
command.response_representation = Google::Apis::CloudschedulerV1::ListOperationsResponse::Representation
|
560
|
+
command.response_class = Google::Apis::CloudschedulerV1::ListOperationsResponse
|
561
|
+
command.params['name'] = name unless name.nil?
|
562
|
+
command.query['filter'] = filter unless filter.nil?
|
563
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
564
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
565
|
+
command.query['fields'] = fields unless fields.nil?
|
566
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
567
|
+
execute_or_queue_command(command, &block)
|
568
|
+
end
|
569
569
|
|
570
570
|
protected
|
571
571
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-cloudscheduler_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.40.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_v1/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudscheduler_v1/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudscheduler_v1/v0.40.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudscheduler_v1
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|
@@ -73,7 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
73
73
|
- !ruby/object:Gem::Version
|
74
74
|
version: '0'
|
75
75
|
requirements: []
|
76
|
-
rubygems_version: 3.6.
|
76
|
+
rubygems_version: 3.6.9
|
77
77
|
specification_version: 4
|
78
78
|
summary: Simple REST client for Cloud Scheduler API V1
|
79
79
|
test_files: []
|