google_api_tasks v0.4.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
tasks_tasklists_delete(connection, tasklist, optional_params \\ [], opts \\ [])
View Source
tasks_tasklists_delete(Tesla.Env.client(), String.t(), keyword(), keyword()) ::
{:ok, nil} | {:error, Tesla.Env.t()}
tasks_tasklists_delete(Tesla.Env.client(), String.t(), keyword(), keyword()) :: {:ok, nil} | {:error, Tesla.Env.t()}
Deletes the authenticated user's specified task list.
Parameters
connection
(type:GoogleApi.Tasks.V1.Connection.t
) - Connection to servertasklist
(type:String.t
) - Task list identifier.optional_params
(type:keyword()
) - Optional parameters:alt
(type:String.t
) - Data format for the response.:fields
(type:String.t
) - Selector specifying which fields to include in a partial response.:key
(type: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
(type:String.t
) - OAuth 2.0 token for the current user.:prettyPrint
(type:boolean()
) - Returns response with indentations and line breaks.:quotaUser
(type:String.t
) - An opaque string that represents a user for quota purposes. Must not exceed 40 characters.:userIp
(type:String.t
) - Deprecated. Please use quotaUser instead.
opts
(type:keyword()
) - Call options
Returns
{:ok, %{}}
on success{:error, info}
on failure
tasks_tasklists_get(connection, tasklist, optional_params \\ [], opts \\ [])
View Source
tasks_tasklists_get(Tesla.Env.client(), String.t(), keyword(), keyword()) ::
{:ok, GoogleApi.Tasks.V1.Model.TaskList.t()} | {:error, Tesla.Env.t()}
tasks_tasklists_get(Tesla.Env.client(), String.t(), keyword(), keyword()) :: {:ok, GoogleApi.Tasks.V1.Model.TaskList.t()} | {:error, Tesla.Env.t()}
Returns the authenticated user's specified task list.
Parameters
connection
(type:GoogleApi.Tasks.V1.Connection.t
) - Connection to servertasklist
(type:String.t
) - Task list identifier.optional_params
(type:keyword()
) - Optional parameters:alt
(type:String.t
) - Data format for the response.:fields
(type:String.t
) - Selector specifying which fields to include in a partial response.:key
(type: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
(type:String.t
) - OAuth 2.0 token for the current user.:prettyPrint
(type:boolean()
) - Returns response with indentations and line breaks.:quotaUser
(type:String.t
) - An opaque string that represents a user for quota purposes. Must not exceed 40 characters.:userIp
(type:String.t
) - Deprecated. Please use quotaUser instead.
opts
(type:keyword()
) - Call options
Returns
{:ok, %GoogleApi.Tasks.V1.Model.TaskList{}}
on success{:error, info}
on failure
tasks_tasklists_insert(connection, optional_params \\ [], opts \\ [])
View Source
tasks_tasklists_insert(Tesla.Env.client(), keyword(), keyword()) ::
{:ok, GoogleApi.Tasks.V1.Model.TaskList.t()} | {:error, Tesla.Env.t()}
tasks_tasklists_insert(Tesla.Env.client(), keyword(), 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
(type:GoogleApi.Tasks.V1.Connection.t
) - Connection to serveroptional_params
(type:keyword()
) - Optional parameters:alt
(type:String.t
) - Data format for the response.:fields
(type:String.t
) - Selector specifying which fields to include in a partial response.:key
(type: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
(type:String.t
) - OAuth 2.0 token for the current user.:prettyPrint
(type:boolean()
) - Returns response with indentations and line breaks.:quotaUser
(type:String.t
) - An opaque string that represents a user for quota purposes. Must not exceed 40 characters.:userIp
(type:String.t
) - Deprecated. Please use quotaUser instead.:body
(type:GoogleApi.Tasks.V1.Model.TaskList.t
) -
opts
(type:keyword()
) - Call options
Returns
{:ok, %GoogleApi.Tasks.V1.Model.TaskList{}}
on success{:error, info}
on failure
tasks_tasklists_list(connection, optional_params \\ [], opts \\ [])
View Source
tasks_tasklists_list(Tesla.Env.client(), keyword(), keyword()) ::
{:ok, GoogleApi.Tasks.V1.Model.TaskLists.t()} | {:error, Tesla.Env.t()}
tasks_tasklists_list(Tesla.Env.client(), keyword(), keyword()) :: {:ok, GoogleApi.Tasks.V1.Model.TaskLists.t()} | {:error, Tesla.Env.t()}
Returns all the authenticated user's task lists.
Parameters
connection
(type:GoogleApi.Tasks.V1.Connection.t
) - Connection to serveroptional_params
(type:keyword()
) - Optional parameters:alt
(type:String.t
) - Data format for the response.:fields
(type:String.t
) - Selector specifying which fields to include in a partial response.:key
(type: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
(type:String.t
) - OAuth 2.0 token for the current user.:prettyPrint
(type:boolean()
) - Returns response with indentations and line breaks.:quotaUser
(type:String.t
) - An opaque string that represents a user for quota purposes. Must not exceed 40 characters.:userIp
(type:String.t
) - Deprecated. Please use quotaUser instead.:maxResults
(type:String.t
) - Maximum number of task lists returned on one page. Optional. The default is 20 (max allowed: 100).:pageToken
(type:String.t
) - Token specifying the result page to return. Optional.
opts
(type:keyword()
) - Call options
Returns
{:ok, %GoogleApi.Tasks.V1.Model.TaskLists{}}
on success{:error, info}
on failure
tasks_tasklists_patch(connection, tasklist, optional_params \\ [], opts \\ [])
View Source
tasks_tasklists_patch(Tesla.Env.client(), String.t(), keyword(), keyword()) ::
{:ok, GoogleApi.Tasks.V1.Model.TaskList.t()} | {:error, Tesla.Env.t()}
tasks_tasklists_patch(Tesla.Env.client(), String.t(), keyword(), 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
(type:GoogleApi.Tasks.V1.Connection.t
) - Connection to servertasklist
(type:String.t
) - Task list identifier.optional_params
(type:keyword()
) - Optional parameters:alt
(type:String.t
) - Data format for the response.:fields
(type:String.t
) - Selector specifying which fields to include in a partial response.:key
(type: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
(type:String.t
) - OAuth 2.0 token for the current user.:prettyPrint
(type:boolean()
) - Returns response with indentations and line breaks.:quotaUser
(type:String.t
) - An opaque string that represents a user for quota purposes. Must not exceed 40 characters.:userIp
(type:String.t
) - Deprecated. Please use quotaUser instead.:body
(type:GoogleApi.Tasks.V1.Model.TaskList.t
) -
opts
(type:keyword()
) - Call options
Returns
{:ok, %GoogleApi.Tasks.V1.Model.TaskList{}}
on success{:error, info}
on failure
tasks_tasklists_update(connection, tasklist, optional_params \\ [], opts \\ [])
View Source
tasks_tasklists_update(Tesla.Env.client(), String.t(), keyword(), keyword()) ::
{:ok, GoogleApi.Tasks.V1.Model.TaskList.t()} | {:error, Tesla.Env.t()}
tasks_tasklists_update(Tesla.Env.client(), String.t(), keyword(), keyword()) :: {:ok, GoogleApi.Tasks.V1.Model.TaskList.t()} | {:error, Tesla.Env.t()}
Updates the authenticated user's specified task list.
Parameters
connection
(type:GoogleApi.Tasks.V1.Connection.t
) - Connection to servertasklist
(type:String.t
) - Task list identifier.optional_params
(type:keyword()
) - Optional parameters:alt
(type:String.t
) - Data format for the response.:fields
(type:String.t
) - Selector specifying which fields to include in a partial response.:key
(type: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
(type:String.t
) - OAuth 2.0 token for the current user.:prettyPrint
(type:boolean()
) - Returns response with indentations and line breaks.:quotaUser
(type:String.t
) - An opaque string that represents a user for quota purposes. Must not exceed 40 characters.:userIp
(type:String.t
) - Deprecated. Please use quotaUser instead.:body
(type:GoogleApi.Tasks.V1.Model.TaskList.t
) -
opts
(type:keyword()
) - Call options
Returns
{:ok, %GoogleApi.Tasks.V1.Model.TaskList{}}
on success{:error, info}
on failure