Public Member Functions | |
| None | __init__ (self, HomeAssistant hass, config_entry_oauth2_flow.OAuth2Session oauth2_session) |
| str | async_get_access_token (self) |
| None | delete (self, str task_list_id, list[str] task_ids) |
| None | insert (self, str task_list_id, dict[str, Any] task) |
| list[dict[str, Any]] | list_task_lists (self) |
| list[dict[str, Any]] | list_tasks (self, str task_list_id) |
| None | move (self, str task_list_id, str task_id, str|None previous) |
| None | patch (self, str task_list_id, str task_id, dict[str, Any] task) |
Private Member Functions | |
| Any | _execute (self, HttpRequest|BatchHttpRequest request) |
| Resource | _get_service (self) |
Private Attributes | |
| _hass | |
| _oauth_session | |
Provide Google Tasks authentication tied to an OAuth2 based config entry.
| None homeassistant.components.google_tasks.api.AsyncConfigEntryAuth.__init__ | ( | self, | |
| HomeAssistant | hass, | ||
| config_entry_oauth2_flow.OAuth2Session | oauth2_session | ||
| ) |
|
private |
|
private |
| str homeassistant.components.google_tasks.api.AsyncConfigEntryAuth.async_get_access_token | ( | self | ) |
| None homeassistant.components.google_tasks.api.AsyncConfigEntryAuth.delete | ( | self, | |
| str | task_list_id, | ||
| list[str] | task_ids | ||
| ) |
| None homeassistant.components.google_tasks.api.AsyncConfigEntryAuth.insert | ( | self, | |
| str | task_list_id, | ||
| dict[str, Any] | task | ||
| ) |
| list[dict[str, Any]] homeassistant.components.google_tasks.api.AsyncConfigEntryAuth.list_task_lists | ( | self | ) |
| list[dict[str, Any]] homeassistant.components.google_tasks.api.AsyncConfigEntryAuth.list_tasks | ( | self, | |
| str | task_list_id | ||
| ) |
| None homeassistant.components.google_tasks.api.AsyncConfigEntryAuth.move | ( | self, | |
| str | task_list_id, | ||
| str | task_id, | ||
| str | None | previous | ||
| ) |
| None homeassistant.components.google_tasks.api.AsyncConfigEntryAuth.patch | ( | self, | |
| str | task_list_id, | ||
| str | task_id, | ||
| dict[str, Any] | task | ||
| ) |
|
private |
|
private |