google-apis-cloudscheduler_v1beta1 0.7.0 → 0.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +17 -0
- data/OVERVIEW.md +3 -3
- data/lib/google/apis/cloudscheduler_v1beta1/classes.rb +15 -8
- data/lib/google/apis/cloudscheduler_v1beta1/gem_version.rb +3 -3
- data/lib/google/apis/cloudscheduler_v1beta1/service.rb +8 -1
- data/lib/google/apis/cloudscheduler_v1beta1.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5355244c53c6ec2b3020d165414802a976d946929c820c905b8a9ba7f5b365d3
|
4
|
+
data.tar.gz: d8aeac51fe4bb54ffcdc6a5688ca635d401e1f6d606beb7b0ee59aead4602571
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b960cebd86c5ec50f05df74b396fa79cb1ec8971979c44cf029ded7fd6b8de2865a13df9a8f93bcf9a560c5350b787c149481ea10651914eed6703fc605e4249
|
7
|
+
data.tar.gz: bddbe654a3896734fc75d963e10859f505bddde14d15178b83bae133e91ae84e26efe99ffd1e2867392e7baf21783496974dde745f35c11aa6dc013583878027
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,22 @@
|
|
1
1
|
# Release history for google-apis-cloudscheduler_v1beta1
|
2
2
|
|
3
|
+
### v0.11.0 (2022-01-13)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220106
|
6
|
+
* Regenerated using generator version 0.4.1
|
7
|
+
|
8
|
+
### v0.10.0 (2021-12-16)
|
9
|
+
|
10
|
+
* Unspecified changes
|
11
|
+
|
12
|
+
### v0.9.0 (2021-10-20)
|
13
|
+
|
14
|
+
* Unspecified changes
|
15
|
+
|
16
|
+
### v0.8.0 (2021-09-01)
|
17
|
+
|
18
|
+
* Regenerated from discovery document revision 20210816
|
19
|
+
|
3
20
|
### v0.7.0 (2021-06-29)
|
4
21
|
|
5
22
|
* Regenerated using generator version 0.4.0
|
data/OVERVIEW.md
CHANGED
@@ -51,7 +51,7 @@ require "google/apis/cloudscheduler_v1beta1"
|
|
51
51
|
client = Google::Apis::CloudschedulerV1beta1::CloudSchedulerService.new
|
52
52
|
|
53
53
|
# Authenticate calls
|
54
|
-
client.
|
54
|
+
client.authorization = # ... use the googleauth gem to create credentials
|
55
55
|
```
|
56
56
|
|
57
57
|
See the class reference docs for information on the methods you can call from a client.
|
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
|
|
60
60
|
|
61
61
|
More detailed descriptions of the Google simple REST clients are available in two documents.
|
62
62
|
|
63
|
-
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
64
|
-
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
63
|
+
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
|
64
|
+
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
|
65
65
|
|
66
66
|
(Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Cloudscheduler service in particular.)
|
67
67
|
|
@@ -58,10 +58,13 @@ module Google
|
|
58
58
|
# Google; (+http://code.google.com/appengine)"`. This header can be modified,
|
59
59
|
# but Cloud Scheduler will append `"AppEngine-Google; (+http://code.google.com/
|
60
60
|
# appengine)"` to the modified `User-Agent`. * `X-CloudScheduler`: This header
|
61
|
-
# will be set to true.
|
62
|
-
#
|
63
|
-
#
|
64
|
-
#
|
61
|
+
# will be set to true. * `X-CloudScheduler-JobName`: This header will contain
|
62
|
+
# the job name. * `X-CloudScheduler-ScheduleTime`: For Cloud Scheduler jobs
|
63
|
+
# specified in the unix-cron format, this header will contain the job schedule
|
64
|
+
# time in RFC3339 UTC "Zulu" format. If the job has an body, Cloud Scheduler
|
65
|
+
# sets the following headers: * `Content-Type`: By default, the `Content-Type`
|
66
|
+
# header is set to `"application/octet-stream"`. The default can be overridden
|
67
|
+
# by explictly setting `Content-Type` to a particular media type when the job is
|
65
68
|
# created. For example, `Content-Type` can be set to `"application/json"`. * `
|
66
69
|
# Content-Length`: This is computed by Cloud Scheduler. This value is output
|
67
70
|
# only. It cannot be changed. The headers below are output only. They cannot be
|
@@ -217,7 +220,11 @@ module Google
|
|
217
220
|
# Scheduler and derived from uri. * `Content-Length`: This will be computed by
|
218
221
|
# Cloud Scheduler. * `User-Agent`: This will be set to `"Google-Cloud-Scheduler"`
|
219
222
|
# . * `X-Google-*`: Google internal use only. * `X-AppEngine-*`: Google internal
|
220
|
-
# use only.
|
223
|
+
# use only. * `X-CloudScheduler`: This header will be set to true. * `X-
|
224
|
+
# CloudScheduler-JobName`: This header will contain the job name. * `X-
|
225
|
+
# CloudScheduler-ScheduleTime`: For Cloud Scheduler jobs specified in the unix-
|
226
|
+
# cron format, this header will contain the job schedule time in RFC3339 UTC "
|
227
|
+
# Zulu" format. The total size of headers must be less than 80KB.
|
221
228
|
# Corresponds to the JSON property `headers`
|
222
229
|
# @return [Hash<String,String>]
|
223
230
|
attr_accessor :headers
|
@@ -266,7 +273,7 @@ module Google
|
|
266
273
|
end
|
267
274
|
end
|
268
275
|
|
269
|
-
# Configuration for a job. The maximum allowed size for a job is
|
276
|
+
# Configuration for a job. The maximum allowed size for a job is 1MB.
|
270
277
|
class Job
|
271
278
|
include Google::Apis::Core::Hashable
|
272
279
|
|
@@ -286,8 +293,8 @@ module Google
|
|
286
293
|
# DEADLINE_EXCEEDED` failure. The failed attempt can be viewed in execution logs.
|
287
294
|
# Cloud Scheduler will retry the job according to the RetryConfig. The allowed
|
288
295
|
# duration for this deadline is: * For HTTP targets, between 15 seconds and 30
|
289
|
-
# minutes. * For App Engine HTTP targets, between 15 seconds and 24 hours
|
290
|
-
# PubSub targets, this field is ignored.
|
296
|
+
# minutes. * For App Engine HTTP targets, between 15 seconds and 24 hours 15
|
297
|
+
# seconds. * For PubSub targets, this field is ignored.
|
291
298
|
# Corresponds to the JSON property `attemptDeadline`
|
292
299
|
# @return [String]
|
293
300
|
attr_accessor :attempt_deadline
|
@@ -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.11.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.4.
|
22
|
+
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220106"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -227,6 +227,12 @@ module Google
|
|
227
227
|
# @param [String] parent
|
228
228
|
# Required. The location name. For example: `projects/PROJECT_ID/locations/
|
229
229
|
# LOCATION_ID`.
|
230
|
+
# @param [String] filter
|
231
|
+
# `filter` can be used to specify a subset of jobs. If `filter` equals `
|
232
|
+
# target_config="HttpConfig"`, then the http target jobs are retrieved. If `
|
233
|
+
# filter` equals `target_config="PubSubConfig"`, then the Pub/Sub target jobs
|
234
|
+
# are retrieved. If `filter` equals `labels.foo=value1 labels.foo=value2` then
|
235
|
+
# only jobs which are labeled with foo=value1 AND foo=value2 will be returned.
|
230
236
|
# @param [Boolean] legacy_app_engine_cron
|
231
237
|
# This field is used to manage the legacy App Engine Cron jobs using the Cloud
|
232
238
|
# Scheduler API. If the field is set to true, the jobs in the __cron queue will
|
@@ -258,11 +264,12 @@ module Google
|
|
258
264
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
259
265
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
260
266
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
261
|
-
def list_project_location_jobs(parent, legacy_app_engine_cron: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
267
|
+
def list_project_location_jobs(parent, filter: nil, legacy_app_engine_cron: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
262
268
|
command = make_simple_command(:get, 'v1beta1/{+parent}/jobs', options)
|
263
269
|
command.response_representation = Google::Apis::CloudschedulerV1beta1::ListJobsResponse::Representation
|
264
270
|
command.response_class = Google::Apis::CloudschedulerV1beta1::ListJobsResponse
|
265
271
|
command.params['parent'] = parent unless parent.nil?
|
272
|
+
command.query['filter'] = filter unless filter.nil?
|
266
273
|
command.query['legacyAppEngineCron'] = legacy_app_engine_cron unless legacy_app_engine_cron.nil?
|
267
274
|
command.query['pageSize'] = page_size unless page_size.nil?
|
268
275
|
command.query['pageToken'] = page_token unless page_token.nil?
|
@@ -29,7 +29,7 @@ module Google
|
|
29
29
|
# This is NOT the gem version.
|
30
30
|
VERSION = 'V1beta1'
|
31
31
|
|
32
|
-
# See, edit, configure, and delete your Google Cloud
|
32
|
+
# See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
|
33
33
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
34
34
|
end
|
35
35
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.11.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-01-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -57,9 +57,9 @@ licenses:
|
|
57
57
|
- Apache-2.0
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
|
-
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudscheduler_v1beta1/v0.
|
62
|
-
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
60
|
+
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudscheduler_v1beta1/CHANGELOG.md
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudscheduler_v1beta1/v0.11.0
|
62
|
+
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudscheduler_v1beta1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
65
65
|
require_paths:
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.
|
78
|
+
rubygems_version: 3.3.5
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Cloud Scheduler API V1beta1
|