google-apis-cloudtasks_v2beta2 0.25.0 → 0.26.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7cb8e6f8ee50d6825fb1907f5e7142569e9dac3e34b771948cc56f130b99754f
4
- data.tar.gz: 47061fa17656fcc1f45c5e25c1083bd744c41a0a6d480916dff7d3383e5b351d
3
+ metadata.gz: b8034a195af832f6cd0cc7b8c3ec42e38c288c199b1795ac7415031c115ab298
4
+ data.tar.gz: 28c43b0bfdc01c9f65f0b6081af07d290db35b3cd6e02ec2d30b8f6c7691f14c
5
5
  SHA512:
6
- metadata.gz: 12187a6dd2a9d28593d175d8aa84dfb2ac8aef2937f318ad6797a3bacbcc1ce873e1e78d87f04815313feb0b8433274ff81063f29f2819ed5b2da16c90dfa26a
7
- data.tar.gz: a8e36f49c01d250b577f1f9af5f434a3c3ead37ebef0da4eb7323952ea4e00cd5199786764f34b9ee51cca87127b8fb35e79f795e1fb46f1aba529c5ba737981
6
+ metadata.gz: 41d753bc295ca4b4feddc56a7d0839ebdae97da130cf22cc1951a39dfe8c28b1f8e3f700bae169d5e8a06e5ea69503aba9560deddde16e0f768c82f182716515
7
+ data.tar.gz: 67ce42950452dbde678ff4779358aceb7d837e32d44590d9f7c1fe4a7454c0a9abbee82ea84055a646ad32fba5749c23effd1071432c32d29ff0dca13983de87
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-cloudtasks_v2beta2
2
2
 
3
+ ### v0.26.0 (2022-09-18)
4
+
5
+ * Regenerated from discovery document revision 20220914
6
+
3
7
  ### v0.25.0 (2022-09-09)
4
8
 
5
9
  * 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.25.0"
19
+ GEM_VERSION = "0.26.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.9.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220908"
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, :base64 => true, as: 'key'
427
- property :value, :base64 => true, as: '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. Note: This feature is in its
620
- # experimental stage. You must request access to the API through the [Cloud
621
- # Tasks BufferTasks Experiment Signup form](https://forms.gle/X8Zr5hiXH5tTGFqh8).
622
- # @param [String] parent
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(parent, buffer_task_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
644
- command = make_simple_command(:post, 'v2beta2/{+parent}/tasks:buffer', options)
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['parent'] = parent unless parent.nil?
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.25.0
4
+ version: 0.26.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-12 00:00:00.000000000 Z
11
+ date: 2022-09-19 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: '0.7'
19
+ version: 0.7.2
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: '0.7'
29
+ version: 0.7.2
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.25.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudtasks_v2beta2/v0.26.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: []