# Source: https://docs.datadoghq.com/ddsql_reference/data_directory/gcp/gcp.serviceusage_service.dataset.md

---
title: Service Usage API Service
description: Datadog, the leading service for cloud-scale monitoring.
breadcrumbs: Docs > DDSQL Reference > Data Directory > Service Usage API Service
---

# Service Usage API Service

The Service Usage API Service in Google Cloud Platform allows users to manage the activation and usage of Google Cloud services within a project. It provides methods to enable, disable, and list available services, helping control which APIs and services are accessible. This API is useful for automating service management and ensuring consistent configurations across environments.

```
gcp.serviceusage_service
```

## Fields

| Title                | ID   | Type          | Data Type                                                                                                                                                                                                                                                                                                                                                                 | Description |
| -------------------- | ---- | ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- |
| _key                 | core | string        |
| ancestors            | core | array<string> |
| apis                 | core | json          | A list of API interfaces exported by this service. Only the `name` field of the google.protobuf.Api needs to be provided by the configuration author, as the remaining fields will be derived from the IDL during the normalization process. It is an error to specify an API interface here which cannot be resolved against the associated IDL files.                   |
| aspects              | core | json          | Configuration aspects. This is a repeated field to allow multiple aspects to be configured. The kind field in each ConfigAspect specifies the type of aspect. The spec field contains the configuration for that aspect. The schema for the spec field is defined by the backend service owners.                                                                          |
| authentication       | core | json          | Auth configuration.                                                                                                                                                                                                                                                                                                                                                       |
| backend              | core | json          | API backend configuration.                                                                                                                                                                                                                                                                                                                                                |
| billing              | core | json          | Billing configuration.                                                                                                                                                                                                                                                                                                                                                    |
| config_version       | core | int64         | Obsolete. Do not use. This field has no semantic meaning. The service config compiler always sets this field to `3`.                                                                                                                                                                                                                                                      |
| context              | core | json          | Context configuration.                                                                                                                                                                                                                                                                                                                                                    |
| control              | core | json          | Configuration for the service control plane.                                                                                                                                                                                                                                                                                                                              |
| custom_error         | core | json          | Custom error configuration.                                                                                                                                                                                                                                                                                                                                               |
| datadog_display_name | core | string        |
| documentation        | core | json          | Additional API documentation.                                                                                                                                                                                                                                                                                                                                             |
| endpoints            | core | json          | Configuration for network endpoints. If this is empty, then an endpoint with the same name as the service is automatically generated to service all defined APIs.                                                                                                                                                                                                         |
| enums                | core | json          | A list of all enum types included in this API service. Enums referenced directly or indirectly by the `apis` are automatically included. Enums which are not referenced but shall be included should be listed here by name by the configuration author. Example: enums: - name: google.someapi.v1.SomeEnum                                                               |
| http                 | core | json          | HTTP configuration.                                                                                                                                                                                                                                                                                                                                                       |
| id                   | core | string        | A unique ID for a specific instance of this message, typically assigned by the client for tracking purpose. Must be no longer than 63 characters and only lower case letters, digits, '.', '_' and '-' are allowed. If empty, the server may choose to generate one instead.                                                                                              |
| labels               | core | array<string> |
| logging              | core | json          | Logging configuration.                                                                                                                                                                                                                                                                                                                                                    |
| logs                 | core | json          | Defines the logs used by this service.                                                                                                                                                                                                                                                                                                                                    |
| metrics              | core | json          | Defines the metrics used by this service.                                                                                                                                                                                                                                                                                                                                 |
| monitored_resources  | core | json          | Defines the monitored resources used by this service. This is required by the Service.monitoring and Service.logging configurations.                                                                                                                                                                                                                                      |
| monitoring           | core | json          | Monitoring configuration.                                                                                                                                                                                                                                                                                                                                                 |
| name                 | core | string        | The service name, which is a DNS-like logical identifier for the service, such as `calendar.googleapis.com`. The service name typically goes through DNS verification to make sure the owner of the service also owns the DNS name.                                                                                                                                       |
| organization_id      | core | string        |
| parent               | core | string        |
| producer_project_id  | core | string        | The Google project that owns this service.                                                                                                                                                                                                                                                                                                                                |
| project_id           | core | string        |
| project_number       | core | string        |
| publishing           | core | json          | Settings for [Google Cloud Client libraries](https://cloud.google.com/apis/docs/cloud-client-libraries) generated from APIs defined as protocol buffers.                                                                                                                                                                                                                  |
| quota                | core | json          | Quota configuration.                                                                                                                                                                                                                                                                                                                                                      |
| region_id            | core | string        |
| resource_name        | core | string        |
| source_info          | core | json          | Output only. The source information for this configuration if available.                                                                                                                                                                                                                                                                                                  |
| system_parameters    | core | json          | System parameter configuration.                                                                                                                                                                                                                                                                                                                                           |
| system_types         | core | json          | A list of all proto message types included in this API service. It serves similar purpose as [google.api.Service.types], except that these types are not needed by user-defined APIs. Therefore, they will not show up in the generated discovery doc. This field should only be used to define system APIs in ESF.                                                       |
| tags                 | core | hstore_csv    |
| title                | core | string        | The product title for this service, it is the name displayed in Google Cloud Console.                                                                                                                                                                                                                                                                                     |
| types                | core | json          | A list of all proto message types included in this API service. Types referenced directly or indirectly by the `apis` are automatically included. Messages which are not referenced but shall be included, such as types used by the `google.protobuf.Any` type, should be listed here by name by the configuration author. Example: types: - name: google.protobuf.Int32 |
| usage                | core | json          | Configuration controlling usage of this service.                                                                                                                                                                                                                                                                                                                          |
| zone_id              | core | string        |