# REST Resource: billingAccounts.services

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

## Resource: BillingAccountService

Encapsulates a Google Cloud service visible to a `billing account`.

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

| Fields ||
|---|---|
| `name` | `string` Resource name for the `BillingAccountService`. Example: "billingAccounts/012345-567890-ABCDEF/services/DA34-426B-A397". |
| `serviceId` | `string` Identifier for the service. It is the string after the collection identifier "services/". Example: "DA34-426B-A397". |
| `displayName` | `string` Description of the `BillingAccountService`. Example: "BigQuery", "Compute Engine". |

| ## Methods ||
|---|---|
| ### `https://docs.cloud.google.com/billing/docs/reference/pricing-api/rest/v1beta/billingAccounts.services/get` | Gets a Google Cloud service visible to a `billing account`. |
| ### `https://docs.cloud.google.com/billing/docs/reference/pricing-api/rest/v1beta/billingAccounts.services/list` | Lists services visible to a `billing account`. |