# build_tasks_service

> **Function** in `langchain_google_community`

📖 [View in docs](https://reference.langchain.com/python/langchain-google-community/tasks/utils/build_tasks_service)

Build a Google Tasks service.

## Signature

```python
build_tasks_service(
    credentials: Optional[Credentials] = None,
    service_name: str = 'tasks',
    service_version: str = 'v1',
) -> Resource
```

## Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `credentials` | `Optional[Credentials]` | No | Optional credentials to use. If not provided, will use default credentials. (default: `None`) |
| `service_name` | `str` | No | The name of the service. Default is 'tasks'. (default: `'tasks'`) |
| `service_version` | `str` | No | The version of the service. Default is 'v1'. (default: `'v1'`) |

## Returns

`Resource`

A Resource object for interacting with the Google Tasks API.

---

[View source on GitHub](https://github.com/langchain-ai/langchain-google/blob/a3f016b2a6c4af535df275545f76fa7424aa39e5/libs/community/langchain_google_community/tasks/utils.py#L23)