# REST Resource: services

- [Resource: Service](https://docs.cloud.google.com/billing/docs/reference/pricing-api/rest/v2beta/services#Service)
  - [JSON representation](https://docs.cloud.google.com/billing/docs/reference/pricing-api/rest/v2beta/services#Service.SCHEMA_REPRESENTATION)
- [Methods](https://docs.cloud.google.com/billing/docs/reference/pricing-api/rest/v2beta/services#METHODS_SUMMARY)

## Resource: Service

Encapsulates a Google Cloud `service`.

| JSON representation |
|---|
| ``` { "name": string, "serviceId": string, "displayName": string } ``` |

| Fields ||
|---|---|
| `name` | `string` Resource name for the `service`. Example: "services/DA34-426B-A397". |
| `serviceId` | `string` Identifier for the `service`. Example: "DA34-426B-A397". |
| `displayName` | `string` Description of the `service`. Example: "BigQuery", "Compute Engine". |

| ## Methods ||
|---|---|
| ### `https://docs.cloud.google.com/billing/docs/reference/pricing-api/rest/v2beta/services/get` | Gets a publicly listed Google Cloud `service`. |
| ### `https://docs.cloud.google.com/billing/docs/reference/pricing-api/rest/v2beta/services/list` | Lists all publicly listed Google Cloud `services`. |