google_api_tasks v0.0.1 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
tasks_tasklists_delete(Tesla.Env.client, String.t, keyword) :: {:ok, nil} | {:error, Tesla.Env.t}
Deletes the authenticated user's specified task list.
Parameters
- connection (GoogleApi.Tasks.V1.Connection): Connection to server
- tasklist (String): Task list identifier.
opts (KeywordList): [optional] Optional parameters
- :alt (String): Data format for the response.
- :fields (String): Selector specifying which fields to include in a partial response.
- :key (String): 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): OAuth 2.0 token for the current user.
- :pretty_print (Boolean): Returns response with indentations and line breaks.
- :quota_user (String): Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
- :user_ip (String): IP address of the site where the request originates. Use this if you want to enforce per-user limits.
Returns
{:ok, %{}} on success {:error, info} on failure
tasks_tasklists_get(Tesla.Env.client, String.t, keyword) :: {:ok, GoogleApi.Tasks.V1.Model.TaskList.t} | {:error, Tesla.Env.t}
Returns the authenticated user's specified task list.
Parameters
- connection (GoogleApi.Tasks.V1.Connection): Connection to server
- tasklist (String): Task list identifier.
opts (KeywordList): [optional] Optional parameters
- :alt (String): Data format for the response.
- :fields (String): Selector specifying which fields to include in a partial response.
- :key (String): 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): OAuth 2.0 token for the current user.
- :pretty_print (Boolean): Returns response with indentations and line breaks.
- :quota_user (String): Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
- :user_ip (String): IP address of the site where the request originates. Use this if you want to enforce per-user limits.
Returns
{:ok, %GoogleApi.Tasks.V1.Model.TaskList{}} on success {:error, info} on failure
tasks_tasklists_insert(Tesla.Env.client, keyword) :: {:ok, GoogleApi.Tasks.V1.Model.TaskList.t} | {:error, Tesla.Env.t}
Creates a new task list and adds it to the authenticated user's task lists.
Parameters
- connection (GoogleApi.Tasks.V1.Connection): Connection to server
opts (KeywordList): [optional] Optional parameters
- :alt (String): Data format for the response.
- :fields (String): Selector specifying which fields to include in a partial response.
- :key (String): 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): OAuth 2.0 token for the current user.
- :pretty_print (Boolean): Returns response with indentations and line breaks.
- :quota_user (String): Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
- :user_ip (String): IP address of the site where the request originates. Use this if you want to enforce per-user limits.
- :body (TaskList):
Returns
{:ok, %GoogleApi.Tasks.V1.Model.TaskList{}} on success {:error, info} on failure
tasks_tasklists_list(Tesla.Env.client, keyword) :: {:ok, GoogleApi.Tasks.V1.Model.TaskLists.t} | {:error, Tesla.Env.t}
Returns all the authenticated user's task lists.
Parameters
- connection (GoogleApi.Tasks.V1.Connection): Connection to server
opts (KeywordList): [optional] Optional parameters
- :alt (String): Data format for the response.
- :fields (String): Selector specifying which fields to include in a partial response.
- :key (String): 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): OAuth 2.0 token for the current user.
- :pretty_print (Boolean): Returns response with indentations and line breaks.
- :quota_user (String): Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
- :user_ip (String): IP address of the site where the request originates. Use this if you want to enforce per-user limits.
- :max_results (String): Maximum number of task lists returned on one page. Optional. The default is 100.
- :page_token (String): Token specifying the result page to return. Optional.
Returns
{:ok, %GoogleApi.Tasks.V1.Model.TaskLists{}} on success {:error, info} on failure
tasks_tasklists_patch(Tesla.Env.client, String.t, keyword) :: {:ok, GoogleApi.Tasks.V1.Model.TaskList.t} | {:error, Tesla.Env.t}
Updates the authenticated user's specified task list. This method supports patch semantics.
Parameters
- connection (GoogleApi.Tasks.V1.Connection): Connection to server
- tasklist (String): Task list identifier.
opts (KeywordList): [optional] Optional parameters
- :alt (String): Data format for the response.
- :fields (String): Selector specifying which fields to include in a partial response.
- :key (String): 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): OAuth 2.0 token for the current user.
- :pretty_print (Boolean): Returns response with indentations and line breaks.
- :quota_user (String): Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
- :user_ip (String): IP address of the site where the request originates. Use this if you want to enforce per-user limits.
- :body (TaskList):
Returns
{:ok, %GoogleApi.Tasks.V1.Model.TaskList{}} on success {:error, info} on failure
tasks_tasklists_update(Tesla.Env.client, String.t, keyword) :: {:ok, GoogleApi.Tasks.V1.Model.TaskList.t} | {:error, Tesla.Env.t}
Updates the authenticated user's specified task list.
Parameters
- connection (GoogleApi.Tasks.V1.Connection): Connection to server
- tasklist (String): Task list identifier.
opts (KeywordList): [optional] Optional parameters
- :alt (String): Data format for the response.
- :fields (String): Selector specifying which fields to include in a partial response.
- :key (String): 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): OAuth 2.0 token for the current user.
- :pretty_print (Boolean): Returns response with indentations and line breaks.
- :quota_user (String): Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
- :user_ip (String): IP address of the site where the request originates. Use this if you want to enforce per-user limits.
- :body (TaskList):
Returns
{:ok, %GoogleApi.Tasks.V1.Model.TaskList{}} on success {:error, info} on failure