Skip to main content
POST
/
api
/
v1
/
config
/
gcp-metrics-integrations
{
  "gcp_metrics_integration": {
    "name": "<string>",
    "created_at": "2023-11-07T05:31:56Z",
    "metric_groups": [
      {
        "prefixes": [
          "<string>"
        ],
        "project_id": "<string>"
      }
    ],
    "service_account": {
      "client_email": "<string>"
    },
    "slug": "<string>",
    "updated_at": "2023-11-07T05:31:56Z"
  }
}

Authorizations

API-Token
string
header
required

Chronosphere API token

Body

application/json
dry_run
boolean

If true, validates the specified configuration without creating the GcpMetricsIntegration. If the specified configuration is valid, the endpoint returns a partial response without the GcpMetricsIntegration. If the specified configuration is invalid, the endpoint returns an error.

gcp_metrics_integration
object

The GcpMetricsIntegration to create.

Response

A successful response containing the created GcpMetricsIntegration.

gcp_metrics_integration
object