google-apis-tasks_v1 0.32.0 → 0.33.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 +5 -0
- data/lib/google/apis/tasks_v1/classes.rb +2 -1
- data/lib/google/apis/tasks_v1/gem_version.rb +3 -3
- data/lib/google/apis/tasks_v1/service.rb +40 -30
- 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: 9f02afb54e5fbec5664c3c7c4bb306fdf27b9eb28dff8c6459cb093ea02e8fae
|
|
4
|
+
data.tar.gz: cb060e91c259fe1b600f96445d62b10dc5650d2c85bd72e28ba81d666123a567
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 06a97ee10b92545dbeadaa8d6fff5b9d3924bb50903be907278d67f454ee9b14dd0c84f2315639b2e36aa634ce9474b45d8d85df346e9f3feec1177baa12610a
|
|
7
|
+
data.tar.gz: 8ac18c785339dbabe6c5cda9eef5140f81116da7ac4590e41ba8fd8aae32ca9baaa61ae61f9d01cd2034c1d8b022e730de6a9dc5132c6b6e775ee627ead92887
|
data/CHANGELOG.md
CHANGED
|
@@ -289,7 +289,8 @@ module Google
|
|
|
289
289
|
# @return [String]
|
|
290
290
|
attr_accessor :etag
|
|
291
291
|
|
|
292
|
-
# Task list identifier.
|
|
292
|
+
# Task list identifier. In requests, the authenticated user's default task list
|
|
293
|
+
# can also be referred to as "@default".
|
|
293
294
|
# Corresponds to the JSON property `id`
|
|
294
295
|
# @return [String]
|
|
295
296
|
attr_accessor :id
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module TasksV1
|
|
18
18
|
# Version of the google-apis-tasks_v1 gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.33.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
|
-
GENERATOR_VERSION = "0.19.
|
|
22
|
+
GENERATOR_VERSION = "0.19.1"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20261025"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -53,9 +53,10 @@ module Google
|
|
|
53
53
|
|
|
54
54
|
# Deletes the authenticated user's specified task list. If the list contains
|
|
55
55
|
# assigned tasks, both the assigned tasks and the original tasks in the
|
|
56
|
-
# assignment surface (Docs, Chat Spaces) are deleted.
|
|
56
|
+
# assignment surface (Docs, Chat Spaces) are deleted. The user's default task
|
|
57
|
+
# list cannot be deleted.
|
|
57
58
|
# @param [String] tasklist
|
|
58
|
-
# Task list identifier.
|
|
59
|
+
# Task list identifier. The default task list cannot be deleted.
|
|
59
60
|
# @param [String] fields
|
|
60
61
|
# Selector specifying which fields to include in a partial response.
|
|
61
62
|
# @param [String] quota_user
|
|
@@ -83,7 +84,8 @@ module Google
|
|
|
83
84
|
|
|
84
85
|
# Returns the authenticated user's specified task list.
|
|
85
86
|
# @param [String] tasklist
|
|
86
|
-
# Task list identifier.
|
|
87
|
+
# Task list identifier. Use "@default" to get the authenticated user's default
|
|
88
|
+
# task list.
|
|
87
89
|
# @param [String] fields
|
|
88
90
|
# Selector specifying which fields to include in a partial response.
|
|
89
91
|
# @param [String] quota_user
|
|
@@ -145,10 +147,10 @@ module Google
|
|
|
145
147
|
# Returns all the authenticated user's task lists. A user can have up to 2000
|
|
146
148
|
# lists at a time.
|
|
147
149
|
# @param [Fixnum] max_results
|
|
148
|
-
# Maximum number of task lists returned on one page.
|
|
150
|
+
# Optional. Maximum number of task lists returned on one page. The default is
|
|
149
151
|
# 1000 (max allowed: 1000).
|
|
150
152
|
# @param [String] page_token
|
|
151
|
-
# Token specifying the result page to return.
|
|
153
|
+
# Optional. Token specifying the result page to return.
|
|
152
154
|
# @param [String] fields
|
|
153
155
|
# Selector specifying which fields to include in a partial response.
|
|
154
156
|
# @param [String] quota_user
|
|
@@ -348,14 +350,20 @@ module Google
|
|
|
348
350
|
# @param [String] tasklist
|
|
349
351
|
# Task list identifier.
|
|
350
352
|
# @param [Google::Apis::TasksV1::Task] task_object
|
|
353
|
+
# @param [Boolean] hidden
|
|
354
|
+
# Optional. Flag indicating whether the task is created as 'hidden', as if it
|
|
355
|
+
# had been completed and then cleared from the task list (see the "clear" method)
|
|
356
|
+
# . Hidden tasks are not returned by default when retrieving all tasks for a
|
|
357
|
+
# task list (see showHidden). Only completed tasks can be created as hidden, and
|
|
358
|
+
# they can not be nested or positioned, so parent and previous must be empty.
|
|
351
359
|
# @param [String] parent
|
|
352
|
-
# Parent task identifier. If the task is created at the top level,
|
|
353
|
-
# parameter is omitted. An assigned task cannot be a parent task, nor can
|
|
354
|
-
# have a parent. Setting the parent to an assigned task results in failure of
|
|
355
|
-
# the request.
|
|
360
|
+
# Optional. Parent task identifier. If the task is created at the top level,
|
|
361
|
+
# this parameter is omitted. An assigned task cannot be a parent task, nor can
|
|
362
|
+
# it have a parent. Setting the parent to an assigned task results in failure of
|
|
363
|
+
# the request.
|
|
356
364
|
# @param [String] previous
|
|
357
|
-
# Previous sibling task identifier. If the task is created at the
|
|
358
|
-
# among its siblings, this parameter is omitted.
|
|
365
|
+
# Optional. Previous sibling task identifier. If the task is created at the
|
|
366
|
+
# first position among its siblings, this parameter is omitted.
|
|
359
367
|
# @param [String] fields
|
|
360
368
|
# Selector specifying which fields to include in a partial response.
|
|
361
369
|
# @param [String] quota_user
|
|
@@ -373,13 +381,14 @@ module Google
|
|
|
373
381
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
374
382
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
375
383
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
376
|
-
def insert_task(tasklist, task_object = nil, parent: nil, previous: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
384
|
+
def insert_task(tasklist, task_object = nil, hidden: nil, parent: nil, previous: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
377
385
|
command = make_simple_command(:post, 'tasks/v1/lists/{tasklist}/tasks', options)
|
|
378
386
|
command.request_representation = Google::Apis::TasksV1::Task::Representation
|
|
379
387
|
command.request_object = task_object
|
|
380
388
|
command.response_representation = Google::Apis::TasksV1::Task::Representation
|
|
381
389
|
command.response_class = Google::Apis::TasksV1::Task
|
|
382
390
|
command.params['tasklist'] = tasklist unless tasklist.nil?
|
|
391
|
+
command.query['hidden'] = hidden unless hidden.nil?
|
|
383
392
|
command.query['parent'] = parent unless parent.nil?
|
|
384
393
|
command.query['previous'] = previous unless previous.nil?
|
|
385
394
|
command.query['fields'] = fields unless fields.nil?
|
|
@@ -393,38 +402,39 @@ module Google
|
|
|
393
402
|
# @param [String] tasklist
|
|
394
403
|
# Task list identifier.
|
|
395
404
|
# @param [String] completed_max
|
|
396
|
-
# Upper bound for a task's completion date (as a RFC 3339 timestamp)
|
|
397
|
-
# by.
|
|
405
|
+
# Optional. Upper bound for a task's completion date (as a RFC 3339 timestamp)
|
|
406
|
+
# to filter by. The default is not to filter by completion date.
|
|
398
407
|
# @param [String] completed_min
|
|
399
|
-
# Lower bound for a task's completion date (as a RFC 3339 timestamp)
|
|
400
|
-
# by.
|
|
408
|
+
# Optional. Lower bound for a task's completion date (as a RFC 3339 timestamp)
|
|
409
|
+
# to filter by. The default is not to filter by completion date.
|
|
401
410
|
# @param [String] due_max
|
|
402
|
-
# Upper bound for a task's due date (as a RFC 3339 timestamp) to
|
|
403
|
-
#
|
|
411
|
+
# Optional. Upper bound for a task's due date (as a RFC 3339 timestamp) to
|
|
412
|
+
# filter by. The default is not to filter by due date.
|
|
404
413
|
# @param [String] due_min
|
|
405
|
-
# Lower bound for a task's due date (as a RFC 3339 timestamp) to
|
|
406
|
-
#
|
|
414
|
+
# Optional. Lower bound for a task's due date (as a RFC 3339 timestamp) to
|
|
415
|
+
# filter by. The default is not to filter by due date.
|
|
407
416
|
# @param [Fixnum] max_results
|
|
408
|
-
# Maximum number of tasks returned on one page.
|
|
417
|
+
# Optional. Maximum number of tasks returned on one page. The default is 20 (max
|
|
409
418
|
# allowed: 100).
|
|
410
419
|
# @param [String] page_token
|
|
411
|
-
# Token specifying the result page to return.
|
|
420
|
+
# Optional. Token specifying the result page to return.
|
|
412
421
|
# @param [Boolean] show_assigned
|
|
413
422
|
# Optional. Flag indicating whether tasks assigned to the current user are
|
|
414
|
-
# returned in the result.
|
|
423
|
+
# returned in the result. The default is False.
|
|
415
424
|
# @param [Boolean] show_completed
|
|
416
|
-
# Flag indicating whether completed tasks are returned in the result.
|
|
417
|
-
# showHidden must also be True to show tasks completed in first party
|
|
418
|
-
# such as the web UI and Google's mobile apps.
|
|
425
|
+
# Optional. Flag indicating whether completed tasks are returned in the result.
|
|
426
|
+
# Note that showHidden must also be True to show tasks completed in first party
|
|
427
|
+
# clients, such as the web UI and Google's mobile apps. The default is True.
|
|
419
428
|
# @param [Boolean] show_deleted
|
|
420
|
-
# Flag indicating whether deleted tasks are returned in the result.
|
|
429
|
+
# Optional. Flag indicating whether deleted tasks are returned in the result.
|
|
421
430
|
# The default is False.
|
|
422
431
|
# @param [Boolean] show_hidden
|
|
423
|
-
# Flag indicating whether hidden tasks are returned in the result.
|
|
432
|
+
# Optional. Flag indicating whether hidden tasks are returned in the result. The
|
|
424
433
|
# default is False.
|
|
425
434
|
# @param [String] updated_min
|
|
426
|
-
# Lower bound for a task's last modification time (as a RFC 3339
|
|
427
|
-
# filter by.
|
|
435
|
+
# Optional. Lower bound for a task's last modification time (as a RFC 3339
|
|
436
|
+
# timestamp) to filter by. The default is not to filter by last modification
|
|
437
|
+
# time.
|
|
428
438
|
# @param [String] fields
|
|
429
439
|
# Selector specifying which fields to include in a partial response.
|
|
430
440
|
# @param [String] quota_user
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-tasks_v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.33.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-tasks_v1/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-tasks_v1/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-tasks_v1/v0.33.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-tasks_v1
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|