google-apis-cloudtasks_v2beta2 0.25.0 → 0.27.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 +8 -0
- data/lib/google/apis/cloudtasks_v2beta2/classes.rb +2 -4
- data/lib/google/apis/cloudtasks_v2beta2/gem_version.rb +3 -3
- data/lib/google/apis/cloudtasks_v2beta2/representations.rb +2 -2
- data/lib/google/apis/cloudtasks_v2beta2/service.rb +16 -7
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6b4e61ccff37323f1525be2b40af9c937a5cd81225242f411eb2942cdac08fe6
|
4
|
+
data.tar.gz: 0f31cc18dbf0dd261ea7ea5902ef805730e48af072ce35141b62c0d25363651a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 20973ceb792faca97d33d7cd6b98cebcd1ef7fe64e35b539726e00ce3252943d1a3357e26ca27d07d2f441766b52f94c7b491058ff5585352ed76c54d989ec7e
|
7
|
+
data.tar.gz: c66946a25342c3183784571d305f750caf4044926a78a939e05e9072fbb197c289842283dbb121ff99e172dc4cbf97e0a57b37d0fde75c91cd3ffac657ae98ca
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-cloudtasks_v2beta2
|
2
2
|
|
3
|
+
### v0.27.0 (2022-09-22)
|
4
|
+
|
5
|
+
* Regenerated using generator version 0.10.0
|
6
|
+
|
7
|
+
### v0.26.0 (2022-09-18)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220914
|
10
|
+
|
3
11
|
### v0.25.0 (2022-09-09)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20220908
|
@@ -638,15 +638,13 @@ module Google
|
|
638
638
|
class Header
|
639
639
|
include Google::Apis::Core::Hashable
|
640
640
|
|
641
|
-
#
|
641
|
+
# The key of the header.
|
642
642
|
# Corresponds to the JSON property `key`
|
643
|
-
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
644
643
|
# @return [String]
|
645
644
|
attr_accessor :key
|
646
645
|
|
647
|
-
#
|
646
|
+
# The value of the header.
|
648
647
|
# Corresponds to the JSON property `value`
|
649
|
-
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
650
648
|
# @return [String]
|
651
649
|
attr_accessor :value
|
652
650
|
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module CloudtasksV2beta2
|
18
18
|
# Version of the google-apis-cloudtasks_v2beta2 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.27.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.10.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220914"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -423,8 +423,8 @@ module Google
|
|
423
423
|
class Header
|
424
424
|
# @private
|
425
425
|
class Representation < Google::Apis::Core::JsonRepresentation
|
426
|
-
property :key,
|
427
|
-
property :value,
|
426
|
+
property :key, as: 'key'
|
427
|
+
property :value, as: 'value'
|
428
428
|
end
|
429
429
|
end
|
430
430
|
|
@@ -616,12 +616,20 @@ module Google
|
|
616
616
|
end
|
617
617
|
|
618
618
|
# Creates and buffers a new task without the need to explicitly define a Task
|
619
|
-
# message. The queue must have HTTP target.
|
620
|
-
#
|
621
|
-
#
|
622
|
-
#
|
619
|
+
# message. The queue must have HTTP target. To create the task with a custom ID,
|
620
|
+
# use the following format and set TASK_ID to your desired ID: projects/
|
621
|
+
# PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID:buffer To
|
622
|
+
# create the task with an automatically generated ID, use the following format:
|
623
|
+
# projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks:buffer. Note:
|
624
|
+
# This feature is in its experimental stage. You must request access to the API
|
625
|
+
# through the [Cloud Tasks BufferTask Experiment Signup form](https://forms.gle/
|
626
|
+
# X8Zr5hiXH5tTGFqh8).
|
627
|
+
# @param [String] queue
|
623
628
|
# Required. The parent queue name. For example: projects/PROJECT_ID/locations/
|
624
629
|
# LOCATION_ID/queues/QUEUE_ID` The queue must already exist.
|
630
|
+
# @param [String] task_id
|
631
|
+
# Optional. Task ID for the task being created. If not provided, a random task
|
632
|
+
# ID is assigned to the task.
|
625
633
|
# @param [Google::Apis::CloudtasksV2beta2::BufferTaskRequest] buffer_task_request_object
|
626
634
|
# @param [String] fields
|
627
635
|
# Selector specifying which fields to include in a partial response.
|
@@ -640,13 +648,14 @@ module Google
|
|
640
648
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
641
649
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
642
650
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
643
|
-
def buffer_task(
|
644
|
-
command = make_simple_command(:post, 'v2beta2/{+
|
651
|
+
def buffer_task(queue, task_id, buffer_task_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
652
|
+
command = make_simple_command(:post, 'v2beta2/{+queue}/tasks/{taskId}:buffer', options)
|
645
653
|
command.request_representation = Google::Apis::CloudtasksV2beta2::BufferTaskRequest::Representation
|
646
654
|
command.request_object = buffer_task_request_object
|
647
655
|
command.response_representation = Google::Apis::CloudtasksV2beta2::BufferTaskResponse::Representation
|
648
656
|
command.response_class = Google::Apis::CloudtasksV2beta2::BufferTaskResponse
|
649
|
-
command.params['
|
657
|
+
command.params['queue'] = queue unless queue.nil?
|
658
|
+
command.params['taskId'] = task_id unless task_id.nil?
|
650
659
|
command.query['fields'] = fields unless fields.nil?
|
651
660
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
652
661
|
execute_or_queue_command(command, &block)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-cloudtasks_v2beta2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.27.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: 2022-09-
|
11
|
+
date: 2022-09-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 0.9.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version:
|
29
|
+
version: 0.9.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudtasks_v2beta2/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudtasks_v2beta2/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudtasks_v2beta2/v0.27.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudtasks_v2beta2
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|