# Cloud Number Registry API

- [REST Resource: v1alpha.projects.locations](https://docs.cloud.google.com/number-registry/reference/rest#v1alpha.projects.locations)
- [REST Resource: v1alpha.projects.locations.customRanges](https://docs.cloud.google.com/number-registry/reference/rest#v1alpha.projects.locations.customRanges)
- [REST Resource: v1alpha.projects.locations.discoveredRanges](https://docs.cloud.google.com/number-registry/reference/rest#v1alpha.projects.locations.discoveredRanges)
- [REST Resource: v1alpha.projects.locations.ipamAdminScopes](https://docs.cloud.google.com/number-registry/reference/rest#v1alpha.projects.locations.ipamAdminScopes)
- [REST Resource: v1alpha.projects.locations.operations](https://docs.cloud.google.com/number-registry/reference/rest#v1alpha.projects.locations.operations)
- [REST Resource: v1alpha.projects.locations.realms](https://docs.cloud.google.com/number-registry/reference/rest#v1alpha.projects.locations.realms)
- [REST Resource: v1alpha.projects.locations.registryBooks](https://docs.cloud.google.com/number-registry/reference/rest#v1alpha.projects.locations.registryBooks)

## Service: cloudnumberregistry.googleapis.com

To call this service, we recommend that you use the Google-provided [client libraries](https://cloud.google.com/apis/docs/client-libraries-explained). If your application needs to use your own libraries to call this service, use the following information when you make the API requests.

### Discovery document

A [Discovery Document](https://developers.google.com/discovery/v1/reference/apis) is a machine-readable specification for describing and consuming REST APIs. It is used to build client libraries, IDE plugins, and other tools that interact with Google APIs. One service may provide multiple discovery documents. This service provides the following discovery document:

- <https://cloudnumberregistry.googleapis.com/$discovery/rest?version=v1alpha>

### Service endpoint

A [service endpoint](https://cloud.google.com/apis/design/glossary#api_service_endpoint) is a base URL that specifies the network address of an API service. One service might have multiple service endpoints. This service has the following service endpoint and all URIs below are relative to this service endpoint:

- `https://cloudnumberregistry.googleapis.com`

## REST Resource: [v1alpha.projects.locations](https://docs.cloud.google.com/number-registry/reference/rest/v1alpha/projects.locations)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/number-registry/reference/rest/v1alpha/projects.locations/get` | `GET /v1alpha/{name=projects/*/locations/*}` Gets information about a location. |
| `https://docs.cloud.google.com/number-registry/reference/rest/v1alpha/projects.locations/list` | `GET /v1alpha/{name=projects/*}/locations` Lists information about the supported locations for this service. |

## REST Resource: [v1alpha.projects.locations.customRanges](https://docs.cloud.google.com/number-registry/reference/rest/v1alpha/projects.locations.customRanges)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/number-registry/reference/rest/v1alpha/projects.locations.customRanges/create` | `POST /v1alpha/{parent=projects/*/locations/*}/customRanges` Creates a new CustomRange in a given project and location. |
| `https://docs.cloud.google.com/number-registry/reference/rest/v1alpha/projects.locations.customRanges/delete` | `DELETE /v1alpha/{name=projects/*/locations/*/customRanges/*}` Deletes a single CustomRange. |
| `https://docs.cloud.google.com/number-registry/reference/rest/v1alpha/projects.locations.customRanges/findFreeIpRanges` | `GET /v1alpha/{name=projects/*/locations/*/customRanges/*}:findFreeIpRanges` Finds free IP ranges in a single CustomRange. |
| `https://docs.cloud.google.com/number-registry/reference/rest/v1alpha/projects.locations.customRanges/get` | `GET /v1alpha/{name=projects/*/locations/*/customRanges/*}` Gets details of a single CustomRange. |
| `https://docs.cloud.google.com/number-registry/reference/rest/v1alpha/projects.locations.customRanges/list` | `GET /v1alpha/{parent=projects/*/locations/*}/customRanges` Lists CustomRanges in a given project and location. |
| `https://docs.cloud.google.com/number-registry/reference/rest/v1alpha/projects.locations.customRanges/patch` | `PATCH /v1alpha/{customRange.name=projects/*/locations/*/customRanges/*}` Updates the parameters of a single CustomRange. |
| `https://docs.cloud.google.com/number-registry/reference/rest/v1alpha/projects.locations.customRanges/showUtilization` | `GET /v1alpha/{name=projects/*/locations/*/customRanges/*}:showUtilization` Gets the details of a single CustomRange and its utilization. |

## REST Resource: [v1alpha.projects.locations.discoveredRanges](https://docs.cloud.google.com/number-registry/reference/rest/v1alpha/projects.locations.discoveredRanges)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/number-registry/reference/rest/v1alpha/projects.locations.discoveredRanges/findFreeIpRanges` | `GET /v1alpha/{name=projects/*/locations/*/discoveredRanges/*}:findFreeIpRanges` Finds free IP ranges in a single DiscoveredRange. |
| `https://docs.cloud.google.com/number-registry/reference/rest/v1alpha/projects.locations.discoveredRanges/get` | `GET /v1alpha/{name=projects/*/locations/*/discoveredRanges/*}` Gets details of a single DiscoveredRange. |
| `https://docs.cloud.google.com/number-registry/reference/rest/v1alpha/projects.locations.discoveredRanges/list` | `GET /v1alpha/{parent=projects/*/locations/*}/discoveredRanges` Lists DiscoveredRanges in a given project and location. |
| `https://docs.cloud.google.com/number-registry/reference/rest/v1alpha/projects.locations.discoveredRanges/showUtilization` | `GET /v1alpha/{name=projects/*/locations/*/discoveredRanges/*}:showUtilization` Gets the details of a single DiscoveredRange and its utilization. |

## REST Resource: [v1alpha.projects.locations.ipamAdminScopes](https://docs.cloud.google.com/number-registry/reference/rest/v1alpha/projects.locations.ipamAdminScopes)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/number-registry/reference/rest/v1alpha/projects.locations.ipamAdminScopes/checkAvailability` | `GET /v1alpha/{parent=projects/*/locations/*}/ipamAdminScopes:checkAvailability` Checks the availability of IpamAdminScopes in a given project and location. |
| `https://docs.cloud.google.com/number-registry/reference/rest/v1alpha/projects.locations.ipamAdminScopes/cleanup` | `POST /v1alpha/{name=projects/*/locations/*/ipamAdminScopes/*}:cleanup` Cleans up a single IpamAdminScope. |
| `https://docs.cloud.google.com/number-registry/reference/rest/v1alpha/projects.locations.ipamAdminScopes/create` | `POST /v1alpha/{parent=projects/*/locations/*}/ipamAdminScopes` Creates a new IpamAdminScope in a given project and location. |
| `https://docs.cloud.google.com/number-registry/reference/rest/v1alpha/projects.locations.ipamAdminScopes/delete` | `DELETE /v1alpha/{name=projects/*/locations/*/ipamAdminScopes/*}` Deletes a single IpamAdminScope. |
| `https://docs.cloud.google.com/number-registry/reference/rest/v1alpha/projects.locations.ipamAdminScopes/disable` | `POST /v1alpha/{name=projects/*/locations/*/ipamAdminScopes/*}:disable` Disables a single IpamAdminScope. |
| `https://docs.cloud.google.com/number-registry/reference/rest/v1alpha/projects.locations.ipamAdminScopes/get` | `GET /v1alpha/{name=projects/*/locations/*/ipamAdminScopes/*}` Gets details of a single IpamAdminScope. |
| `https://docs.cloud.google.com/number-registry/reference/rest/v1alpha/projects.locations.ipamAdminScopes/list` | `GET /v1alpha/{parent=projects/*/locations/*}/ipamAdminScopes` Lists IpamAdminScopes in a given project and location. |
| `https://docs.cloud.google.com/number-registry/reference/rest/v1alpha/projects.locations.ipamAdminScopes/patch` | `PATCH /v1alpha/{ipamAdminScope.name=projects/*/locations/*/ipamAdminScopes/*}` Updates the parameters of a single IpamAdminScope. |

## REST Resource: [v1alpha.projects.locations.operations](https://docs.cloud.google.com/number-registry/reference/rest/v1alpha/projects.locations.operations)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/number-registry/reference/rest/v1alpha/projects.locations.operations/cancel` | `POST /v1alpha/{name=projects/*/locations/*/operations/*}:cancel` Starts asynchronous cancellation on a long-running operation. |
| `https://docs.cloud.google.com/number-registry/reference/rest/v1alpha/projects.locations.operations/delete` | `DELETE /v1alpha/{name=projects/*/locations/*/operations/*}` Deletes a long-running operation. |
| `https://docs.cloud.google.com/number-registry/reference/rest/v1alpha/projects.locations.operations/get` | `GET /v1alpha/{name=projects/*/locations/*/operations/*}` Gets the latest state of a long-running operation. |
| `https://docs.cloud.google.com/number-registry/reference/rest/v1alpha/projects.locations.operations/list` | `GET /v1alpha/{name=projects/*/locations/*}/operations` Lists operations that match the specified filter in the request. |

## REST Resource: [v1alpha.projects.locations.realms](https://docs.cloud.google.com/number-registry/reference/rest/v1alpha/projects.locations.realms)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/number-registry/reference/rest/v1alpha/projects.locations.realms/create` | `POST /v1alpha/{parent=projects/*/locations/*}/realms` Creates a new Realm in a given project and location. |
| `https://docs.cloud.google.com/number-registry/reference/rest/v1alpha/projects.locations.realms/delete` | `DELETE /v1alpha/{name=projects/*/locations/*/realms/*}` Deletes a single Realm. |
| `https://docs.cloud.google.com/number-registry/reference/rest/v1alpha/projects.locations.realms/get` | `GET /v1alpha/{name=projects/*/locations/*/realms/*}` Gets details of a single Realm. |
| `https://docs.cloud.google.com/number-registry/reference/rest/v1alpha/projects.locations.realms/list` | `GET /v1alpha/{parent=projects/*/locations/*}/realms` Lists Realms in a given project and location. |
| `https://docs.cloud.google.com/number-registry/reference/rest/v1alpha/projects.locations.realms/patch` | `PATCH /v1alpha/{realm.name=projects/*/locations/*/realms/*}` Updates the parameters of a single Realm. |

## REST Resource: [v1alpha.projects.locations.registryBooks](https://docs.cloud.google.com/number-registry/reference/rest/v1alpha/projects.locations.registryBooks)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/number-registry/reference/rest/v1alpha/projects.locations.registryBooks/create` | `POST /v1alpha/{parent=projects/*/locations/*}/registryBooks` Creates a new RegistryBook in a given project and location. |
| `https://docs.cloud.google.com/number-registry/reference/rest/v1alpha/projects.locations.registryBooks/delete` | `DELETE /v1alpha/{name=projects/*/locations/*/registryBooks/*}` Deletes a single RegistryBook. |
| `https://docs.cloud.google.com/number-registry/reference/rest/v1alpha/projects.locations.registryBooks/get` | `GET /v1alpha/{name=projects/*/locations/*/registryBooks/*}` Gets details of a single RegistryBook. |
| `https://docs.cloud.google.com/number-registry/reference/rest/v1alpha/projects.locations.registryBooks/list` | `GET /v1alpha/{parent=projects/*/locations/*}/registryBooks` Lists RegistryBooks in a given project and location. |
| `https://docs.cloud.google.com/number-registry/reference/rest/v1alpha/projects.locations.registryBooks/patch` | `PATCH /v1alpha/{registryBook.name=projects/*/locations/*/registryBooks/*}` Updates the parameters of a single RegistryBook. |
| `https://docs.cloud.google.com/number-registry/reference/rest/v1alpha/projects.locations.registryBooks/searchIpResources` | `POST /v1alpha/{name=projects/*/locations/*/registryBooks/*}:searchIpResources` Searches IP resources in a given RegistryBook. |