v1

latestOpenAPI 3.0.02026-07-141,4077,1665.2 MB
GCP Integration

List all GCP STS-enabled service accounts

List all GCP STS-enabled service accounts configured in your Datadog account.

get/api/v2/integration/gcp/accounts

Response

OK

Example response

{
  "data": [
    {
      "attributes": {
        "client_email": "datadog-service-account@test-project.iam.gserviceaccount.com",
        "cloud_run_revision_filters": [
          "$KEY:$VALUE"
        ],
        "host_filters": [
          "$KEY:$VALUE"
        ],
        "is_global_location_enabled": true,
        "is_per_project_quota_enabled": true,
        "is_resource_change_collection_enabled": true,
        "is_security_command_center_enabled": true,
        "metric_namespace_configs": [
          {
            "disabled": true,
            "id": "aiplatform"
          },
          {
            "filters": [
              "snapshot.*",
              "!*_by_region"
            ],
            "id": "pubsub"
          }
        ],
        "monitored_resource_configs": [
          {
            "filters": [
              "$KEY:$VALUE"
            ],
            "type": "gce_instance"
          }
        ],
        "region_filter_configs": [
          "nam4",
          "europe-north1"
        ]
      },
      "id": "d291291f-12c2-22g4-j290-123456678897",
      "type": "gcp_service_account"
    }
  ]
}