class Google::Apis::TasksV1::TaskList
Attributes
etag[RW]
ETag of the resource. Corresponds to the JSON property `etag` @return [String]
id[RW]
Task list identifier. Corresponds to the JSON property `id` @return [String]
kind[RW]
Type of the resource. This is always “tasks#taskList”. Corresponds to the JSON property `kind` @return [String]
self_link[RW]
URL pointing to this task list. Used to retrieve, update, or delete this task list. Corresponds to the JSON property `selfLink` @return [String]
title[RW]
Title of the task list. Corresponds to the JSON property `title` @return [String]
updated[RW]
Last modification time of the task list (as a RFC 3339 timestamp). Corresponds to the JSON property `updated` @return [DateTime]
Public Class Methods
new(**args)
click to toggle source
# File generated/google/apis/tasks_v1/classes.rb, line 206 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File generated/google/apis/tasks_v1/classes.rb, line 211 def update!(**args) @etag = args[:etag] if args.key?(:etag) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @self_link = args[:self_link] if args.key?(:self_link) @title = args[:title] if args.key?(:title) @updated = args[:updated] if args.key?(:updated) end