--- id: cloud-tasks title: Google Cloud Tasks sidebar_label: Google Cloud Tasks description: Learn about the Sumo Logic collection process for the Google Cloud Tasks service. slug: /help/docs/integrations/google/cloud-tasks/ canonical: https://www.sumologic.com/help/docs/integrations/google/cloud-tasks/ --- import useBaseUrl from '@docusaurus/useBaseUrl'; Google Cloud Tasks icon Cloud Tasks is a fully managed service that allows you to manage the execution, dispatch, and delivery of a large number of distributed tasks. For more details, refer to the [GCP documentation](https://cloud.google.com/tasks/docs/dual-overview). ## Log and metric types * [Google Cloud Metrics](https://cloud.google.com/monitoring/api/metrics_gcp) * [Platform Logs](https://docs.aws.amazon.com/appflow/latest/userguide/monitoring-cloudwatch.html) ## Setup You can collect the logs and metrics for Sumo Logic's Google Cloud Tasks integration by following the below steps. ### Configure logs collection * Collect **Platform Logs** using the [Google Cloud Platform source](/docs/send-data/hosted-collectors/google-source/google-cloud-platform-source). Follow the [instructions](https://cloud.google.com/tasks/docs/logging#turning_on_logging) to enable logging for Google Cloud tasks. While creating the sync in GCP, as part of the **Choose logs to include in sink** section, you can use the following query: ```sql resource.type=cloud_tasks_queue ``` ### Configure metrics collection * Collect **GCP Metrics** using the [GCP Metric](/docs/send-data/hosted-collectors/google-source/gcp-metrics-source/) source. Under the **Services** dropdown, select **Cloud Tasks**. For Google Tasks metrics and dimensions, refer to [Google Tasks metrics](https://cloud.google.com/monitoring/api/metrics_gcp#gcp-cloudtasks).