---
title: "Update a GCP integration"
method: PUT
path: "/api/v1/integration/gcp"
tags: ["GCP Integration"]
deprecated: true
---

# Update a GCP integration

`PUT /api/v1/integration/gcp`

> **Deprecated.**

This endpoint is deprecated – use the V2 endpoints instead. Update a Datadog-GCP integrations host_filters and/or auto-mute.
Requires a `project_id` and `client_email`, however these fields cannot be updated.
If you need to update these fields, delete and use the create (`POST`) endpoint.
The unspecified fields will keep their original values.

## Request body

- GCPAccount — Your Google Cloud Platform Account.
  - `auth_provider_x509_cert_url` string — Should be `https://www.googleapis.com/oauth2/v1/certs`.
  - `auth_uri` string — Should be `https://accounts.google.com/o/oauth2/auth`.
  - `automute` boolean — Silence monitors for expected GCE instance shutdowns.
  - `client_email` string — Your email found in your JSON service account key.
  - `client_id` string — Your ID found in your JSON service account key.
  - `client_x509_cert_url` string — Should be `https://www.googleapis.com/robot/v1/metadata/x509/$CLIENT_EMAIL` where `$CLIENT_EMAIL` is the email found in your JSON service account key.
  - `cloud_run_revision_filters` string[] — List of filters to limit the Cloud Run revisions that are pulled into Datadog by using tags. Only Cloud Run revision resources that apply to specified filters are imported into Datadog. **Note:** This field is deprecated. Instead, use `monitored_resource_configs` with `type=cloud_run_revision`
  - `errors` string[] — An array of errors.
  - `host_filters` string — A comma-separated list of filters to limit the VM instances that are pulled into Datadog by using tags. Only VM instance resources that apply to specified filters are imported into Datadog. **Note:** This field is deprecated. Instead, use `monitored_resource_configs` with `type=gce_instance`
  - `is_cspm_enabled` boolean — When enabled, Datadog will activate the Cloud Security Monitoring product for this service account. Note: This requires resource_collection_enabled to be set to true.
  - `is_resource_change_collection_enabled` boolean — When enabled, Datadog scans for all resource change data in your Google Cloud environment.
  - `is_security_command_center_enabled` boolean — When enabled, Datadog will attempt to collect Security Command Center Findings. Note: This requires additional permissions on the service account.
  - `monitored_resource_configs` GCPMonitoredResourceConfig[] — Configurations for GCP monitored resources.
    - `filters` string[] — List of filters to limit the monitored resources that are pulled into Datadog by using tags. Only monitored resources that apply to specified filters are imported into Datadog.
    - `type` 'cloud_function' | 'cloud_run_revision' | 'gce_instance' — The GCP monitored resource type. Only a subset of resource types are supported.
  - `private_key` string — Your private key name found in your JSON service account key.
  - `private_key_id` string — Your private key ID found in your JSON service account key.
  - `project_id` string — Your Google Cloud project ID found in your JSON service account key.
  - `resource_collection_enabled` boolean — When enabled, Datadog scans for all resources in your GCP environment.
  - `token_uri` string — Should be `https://accounts.google.com/o/oauth2/token`.
  - `type` string — The value for service_account found in your JSON service account key.

## Response `200`

OK

- object

## Other responses

- `400` — Bad Request
- `403` — Authentication error
- `429` — Too many requests

---

[API](https://skmtc.net/datadog/apis/api-v1.md) · [All operations](https://skmtc.net/datadog/apis/api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/datadog/api-v1/revisions/ca5871004d26/schema)
