Versions in this module Expand all Collapse all v0 v0.37.1 Dec 15, 2020 Changes in this version + const TasksReadonlyScope + const TasksScope + type Service struct + BasePath string + Tasklists *TasklistsService + Tasks *TasksService + UserAgent string + func New(client *http.Client) (*Service, error) + func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) + type Task struct + Completed *string + Deleted bool + Due string + Etag string + ForceSendFields []string + Hidden bool + Id string + Kind string + Links []*TaskLinks + Notes string + NullFields []string + Parent string + Position string + SelfLink string + Status string + Title string + Updated string + func (s *Task) MarshalJSON() ([]byte, error) + type TaskLinks struct + Description string + ForceSendFields []string + Link string + NullFields []string + Type string + func (s *TaskLinks) MarshalJSON() ([]byte, error) + type TaskList struct + Etag string + ForceSendFields []string + Id string + Kind string + NullFields []string + SelfLink string + Title string + Updated string + func (s *TaskList) MarshalJSON() ([]byte, error) + type TaskLists struct + Etag string + ForceSendFields []string + Items []*TaskList + Kind string + NextPageToken string + NullFields []string + func (s *TaskLists) MarshalJSON() ([]byte, error) + type TasklistsDeleteCall struct + func (c *TasklistsDeleteCall) Context(ctx context.Context) *TasklistsDeleteCall + func (c *TasklistsDeleteCall) Do(opts ...googleapi.CallOption) error + func (c *TasklistsDeleteCall) Fields(s ...googleapi.Field) *TasklistsDeleteCall + func (c *TasklistsDeleteCall) Header() http.Header + type TasklistsGetCall struct + func (c *TasklistsGetCall) Context(ctx context.Context) *TasklistsGetCall + func (c *TasklistsGetCall) Do(opts ...googleapi.CallOption) (*TaskList, error) + func (c *TasklistsGetCall) Fields(s ...googleapi.Field) *TasklistsGetCall + func (c *TasklistsGetCall) Header() http.Header + func (c *TasklistsGetCall) IfNoneMatch(entityTag string) *TasklistsGetCall + type TasklistsInsertCall struct + func (c *TasklistsInsertCall) Context(ctx context.Context) *TasklistsInsertCall + func (c *TasklistsInsertCall) Do(opts ...googleapi.CallOption) (*TaskList, error) + func (c *TasklistsInsertCall) Fields(s ...googleapi.Field) *TasklistsInsertCall + func (c *TasklistsInsertCall) Header() http.Header + type TasklistsListCall struct + func (c *TasklistsListCall) Context(ctx context.Context) *TasklistsListCall + func (c *TasklistsListCall) Do(opts ...googleapi.CallOption) (*TaskLists, error) + func (c *TasklistsListCall) Fields(s ...googleapi.Field) *TasklistsListCall + func (c *TasklistsListCall) Header() http.Header + func (c *TasklistsListCall) IfNoneMatch(entityTag string) *TasklistsListCall + func (c *TasklistsListCall) MaxResults(maxResults int64) *TasklistsListCall + func (c *TasklistsListCall) PageToken(pageToken string) *TasklistsListCall + func (c *TasklistsListCall) Pages(ctx context.Context, f func(*TaskLists) error) error + type TasklistsPatchCall struct + func (c *TasklistsPatchCall) Context(ctx context.Context) *TasklistsPatchCall + func (c *TasklistsPatchCall) Do(opts ...googleapi.CallOption) (*TaskList, error) + func (c *TasklistsPatchCall) Fields(s ...googleapi.Field) *TasklistsPatchCall + func (c *TasklistsPatchCall) Header() http.Header + type TasklistsService struct + func NewTasklistsService(s *Service) *TasklistsService + func (r *TasklistsService) Delete(tasklistid string) *TasklistsDeleteCall + func (r *TasklistsService) Get(tasklistid string) *TasklistsGetCall + func (r *TasklistsService) Insert(tasklist *TaskList) *TasklistsInsertCall + func (r *TasklistsService) List() *TasklistsListCall + func (r *TasklistsService) Patch(tasklistid string, tasklist *TaskList) *TasklistsPatchCall + func (r *TasklistsService) Update(tasklistid string, tasklist *TaskList) *TasklistsUpdateCall + type TasklistsUpdateCall struct + func (c *TasklistsUpdateCall) Context(ctx context.Context) *TasklistsUpdateCall + func (c *TasklistsUpdateCall) Do(opts ...googleapi.CallOption) (*TaskList, error) + func (c *TasklistsUpdateCall) Fields(s ...googleapi.Field) *TasklistsUpdateCall + func (c *TasklistsUpdateCall) Header() http.Header + type Tasks struct + Etag string + ForceSendFields []string + Items []*Task + Kind string + NextPageToken string + NullFields []string + func (s *Tasks) MarshalJSON() ([]byte, error) + type TasksClearCall struct + func (c *TasksClearCall) Context(ctx context.Context) *TasksClearCall + func (c *TasksClearCall) Do(opts ...googleapi.CallOption) error + func (c *TasksClearCall) Fields(s ...googleapi.Field) *TasksClearCall + func (c *TasksClearCall) Header() http.Header + type TasksDeleteCall struct + func (c *TasksDeleteCall) Context(ctx context.Context) *TasksDeleteCall + func (c *TasksDeleteCall) Do(opts ...googleapi.CallOption) error + func (c *TasksDeleteCall) Fields(s ...googleapi.Field) *TasksDeleteCall + func (c *TasksDeleteCall) Header() http.Header + type TasksGetCall struct + func (c *TasksGetCall) Context(ctx context.Context) *TasksGetCall + func (c *TasksGetCall) Do(opts ...googleapi.CallOption) (*Task, error) + func (c *TasksGetCall) Fields(s ...googleapi.Field) *TasksGetCall + func (c *TasksGetCall) Header() http.Header + func (c *TasksGetCall) IfNoneMatch(entityTag string) *TasksGetCall + type TasksInsertCall struct + func (c *TasksInsertCall) Context(ctx context.Context) *TasksInsertCall + func (c *TasksInsertCall) Do(opts ...googleapi.CallOption) (*Task, error) + func (c *TasksInsertCall) Fields(s ...googleapi.Field) *TasksInsertCall + func (c *TasksInsertCall) Header() http.Header + func (c *TasksInsertCall) Parent(parent string) *TasksInsertCall + func (c *TasksInsertCall) Previous(previous string) *TasksInsertCall + type TasksListCall struct + func (c *TasksListCall) CompletedMax(completedMax string) *TasksListCall + func (c *TasksListCall) CompletedMin(completedMin string) *TasksListCall + func (c *TasksListCall) Context(ctx context.Context) *TasksListCall + func (c *TasksListCall) Do(opts ...googleapi.CallOption) (*Tasks, error) + func (c *TasksListCall) DueMax(dueMax string) *TasksListCall + func (c *TasksListCall) DueMin(dueMin string) *TasksListCall + func (c *TasksListCall) Fields(s ...googleapi.Field) *TasksListCall + func (c *TasksListCall) Header() http.Header + func (c *TasksListCall) IfNoneMatch(entityTag string) *TasksListCall + func (c *TasksListCall) MaxResults(maxResults int64) *TasksListCall + func (c *TasksListCall) PageToken(pageToken string) *TasksListCall + func (c *TasksListCall) Pages(ctx context.Context, f func(*Tasks) error) error + func (c *TasksListCall) ShowCompleted(showCompleted bool) *TasksListCall + func (c *TasksListCall) ShowDeleted(showDeleted bool) *TasksListCall + func (c *TasksListCall) ShowHidden(showHidden bool) *TasksListCall + func (c *TasksListCall) UpdatedMin(updatedMin string) *TasksListCall + type TasksMoveCall struct + func (c *TasksMoveCall) Context(ctx context.Context) *TasksMoveCall + func (c *TasksMoveCall) Do(opts ...googleapi.CallOption) (*Task, error) + func (c *TasksMoveCall) Fields(s ...googleapi.Field) *TasksMoveCall + func (c *TasksMoveCall) Header() http.Header + func (c *TasksMoveCall) Parent(parent string) *TasksMoveCall + func (c *TasksMoveCall) Previous(previous string) *TasksMoveCall + type TasksPatchCall struct + func (c *TasksPatchCall) Context(ctx context.Context) *TasksPatchCall + func (c *TasksPatchCall) Do(opts ...googleapi.CallOption) (*Task, error) + func (c *TasksPatchCall) Fields(s ...googleapi.Field) *TasksPatchCall + func (c *TasksPatchCall) Header() http.Header + type TasksService struct + func NewTasksService(s *Service) *TasksService + func (r *TasksService) Clear(tasklistid string) *TasksClearCall + func (r *TasksService) Delete(tasklistid string, taskid string) *TasksDeleteCall + func (r *TasksService) Get(tasklistid string, taskid string) *TasksGetCall + func (r *TasksService) Insert(tasklistid string, task *Task) *TasksInsertCall + func (r *TasksService) List(tasklistid string) *TasksListCall + func (r *TasksService) Move(tasklistid string, taskid string) *TasksMoveCall + func (r *TasksService) Patch(tasklistid string, taskid string, task *Task) *TasksPatchCall + func (r *TasksService) Update(tasklistid string, taskid string, task *Task) *TasksUpdateCall + type TasksUpdateCall struct + func (c *TasksUpdateCall) Context(ctx context.Context) *TasksUpdateCall + func (c *TasksUpdateCall) Do(opts ...googleapi.CallOption) (*Task, error) + func (c *TasksUpdateCall) Fields(s ...googleapi.Field) *TasksUpdateCall + func (c *TasksUpdateCall) Header() http.Header