google_api_tasks v0.2.0 GoogleApi.Tasks.V1.Api.Tasklists View Source

API calls for all endpoints tagged Tasklists.

Link to this section Summary

Functions

Deletes the authenticated user's specified task list

Returns the authenticated user's specified task list

Creates a new task list and adds it to the authenticated user's task lists

Returns all the authenticated user's task lists

Updates the authenticated user's specified task list. This method supports patch semantics

Updates the authenticated user's specified task list

Link to this section Functions

Link to this function

tasks_tasklists_delete(connection, tasklist, optional_params \\ [], opts \\ []) View Source

Deletes the authenticated user's specified task list.

Parameters

  • connection (GoogleApi.Tasks.V1.Connection): Connection to server
  • tasklist (String.t): Task list identifier.
  • optional_params (KeywordList): [optional] Optional parameters

    • :alt (String.t): Data format for the response.
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • :oauth_token (String.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
    • :userIp (String.t): Deprecated. Please use quotaUser instead.

Returns

{:ok, %{}} on success {:error, info} on failure

Link to this function

tasks_tasklists_get(connection, tasklist, optional_params \\ [], opts \\ []) View Source

Returns the authenticated user's specified task list.

Parameters

  • connection (GoogleApi.Tasks.V1.Connection): Connection to server
  • tasklist (String.t): Task list identifier.
  • optional_params (KeywordList): [optional] Optional parameters

    • :alt (String.t): Data format for the response.
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • :oauth_token (String.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
    • :userIp (String.t): Deprecated. Please use quotaUser instead.

Returns

{:ok, %GoogleApi.Tasks.V1.Model.TaskList{}} on success {:error, info} on failure

Link to this function

tasks_tasklists_insert(connection, optional_params \\ [], opts \\ []) View Source

Creates a new task list and adds it to the authenticated user's task lists.

Parameters

  • connection (GoogleApi.Tasks.V1.Connection): Connection to server
  • optional_params (KeywordList): [optional] Optional parameters

    • :alt (String.t): Data format for the response.
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • :oauth_token (String.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
    • :userIp (String.t): Deprecated. Please use quotaUser instead.
    • :body (TaskList):

Returns

{:ok, %GoogleApi.Tasks.V1.Model.TaskList{}} on success {:error, info} on failure

Link to this function

tasks_tasklists_list(connection, optional_params \\ [], opts \\ []) View Source

Returns all the authenticated user's task lists.

Parameters

  • connection (GoogleApi.Tasks.V1.Connection): Connection to server
  • optional_params (KeywordList): [optional] Optional parameters

    • :alt (String.t): Data format for the response.
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • :oauth_token (String.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
    • :userIp (String.t): Deprecated. Please use quotaUser instead.
    • :maxResults (String.t): Maximum number of task lists returned on one page. Optional. The default is 20 (max allowed: 100).
    • :pageToken (String.t): Token specifying the result page to return. Optional.

Returns

{:ok, %GoogleApi.Tasks.V1.Model.TaskLists{}} on success {:error, info} on failure

Link to this function

tasks_tasklists_patch(connection, tasklist, optional_params \\ [], opts \\ []) View Source

Updates the authenticated user's specified task list. This method supports patch semantics.

Parameters

  • connection (GoogleApi.Tasks.V1.Connection): Connection to server
  • tasklist (String.t): Task list identifier.
  • optional_params (KeywordList): [optional] Optional parameters

    • :alt (String.t): Data format for the response.
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • :oauth_token (String.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
    • :userIp (String.t): Deprecated. Please use quotaUser instead.
    • :body (TaskList):

Returns

{:ok, %GoogleApi.Tasks.V1.Model.TaskList{}} on success {:error, info} on failure

Link to this function

tasks_tasklists_update(connection, tasklist, optional_params \\ [], opts \\ []) View Source

Updates the authenticated user's specified task list.

Parameters

  • connection (GoogleApi.Tasks.V1.Connection): Connection to server
  • tasklist (String.t): Task list identifier.
  • optional_params (KeywordList): [optional] Optional parameters

    • :alt (String.t): Data format for the response.
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • :oauth_token (String.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
    • :userIp (String.t): Deprecated. Please use quotaUser instead.
    • :body (TaskList):

Returns

{:ok, %GoogleApi.Tasks.V1.Model.TaskList{}} on success {:error, info} on failure