# Which Google Cloud datasets hold data for this tenant

> The Google Cloud board shows a card only when the dataset behind it is true.

Source: https://docs.levelfour.ai/api-reference/google-cloud/get-providers-gcp-data-availability


## GET /api/v1/providers/gcp/data-availability

The Google Cloud board shows a card only when the dataset behind it is true.

### Authentication

Send `Authorization: Bearer <token>`.

### Responses

#### 200: Successful Response

- `success` (boolean, default `true`)
- `timestamp` (string, required)
- `data` (object, required)
  - `credits` (boolean, required): Credits by type are loaded
  - `purchase_type` (boolean, required): Spend is split by pricing type
  - `folders` (boolean, required): At least one project sits in a folder
  - `commitments` (boolean, required): An active or expiring committed use discount exists
  - `gke` (boolean, required): Spend carries a GKE cluster label
  - `labels` (boolean, required): Spend carries a label the customer set
  - `usage` (boolean, required): SKU usage exists in the last 30 days
  - `bigquery` (boolean, required): BigQuery usage exists in the last 30 days
  - `network` (boolean, required): Networking usage exists in the last 30 days
  - `invoices` (boolean, required): An invoice month is loaded
  - `utilization` (boolean, required): Cloud Monitoring utilization is loaded
  - `budgets` (boolean, required): A Cloud Billing budget is loaded
  - `inventory` (boolean, required): Resources are in the inventory
  - `waste_signals` (boolean, required): A waste signal counts at least one resource
  - `recommendations` (boolean, required): A Google Cloud savings recommendation exists
  - `anomalies` (boolean, required): A Google Cloud anomaly is active
  - `growth` (boolean, required): Enough history exists to rank growing services

#### Errors

- `400`: Bad Request
- `401`: Authentication Error
- `403`: Authorization Error
- `404`: Not Found
- `409`: Conflict
- `422`: Validation Error
- `429`: Rate Limit Exceeded
- `500`: Internal Server Error

Body of `400`, `401`, `403`, `404`, `409`, `422`, `429`, `500`:

- `success` (`false`, required)
- `error` (object, required)
  - `code` (string, required)
  - `message` (string, required)
  - `details` (any)
- `timestamp` (date-time string, required)
