# REST Resource: services

- [Resource: ManagedService](https://docs.cloud.google.com/service-infrastructure/docs/service-management/reference/rest/v1/services#ManagedService)
  - [JSON representation](https://docs.cloud.google.com/service-infrastructure/docs/service-management/reference/rest/v1/services#ManagedService.SCHEMA_REPRESENTATION)
- [Methods](https://docs.cloud.google.com/service-infrastructure/docs/service-management/reference/rest/v1/services#METHODS_SUMMARY)

## Resource: ManagedService

The full representation of a Service that is managed by Google Service Management.

| JSON representation |
|---|
| ``` { "serviceName": string, "producerProjectId": string } ``` |

| Fields ||
|---|---|
| `serviceName` | `string` The name of the service. See the [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements. |
| `producerProjectId` | `string` ID of the project that produces and owns this service. |

| ## Methods ||
|---|---|
| ### `https://docs.cloud.google.com/service-infrastructure/docs/service-management/reference/rest/v1/services/create` | Creates a new managed service. |
| ### `https://docs.cloud.google.com/service-infrastructure/docs/service-management/reference/rest/v1/services/delete` | Deletes a managed service. |
| ### `https://docs.cloud.google.com/service-infrastructure/docs/service-management/reference/rest/v1/services/disable (deprecated)` | Disables a `https://docs.cloud.google.com/service-infrastructure/docs/service-management/reference/rest/v1/services#ManagedService` for a project, so it can no longer be be used for the project. |
| ### `https://docs.cloud.google.com/service-infrastructure/docs/service-management/reference/rest/v1/services/enable (deprecated)` | Enables a `https://docs.cloud.google.com/service-infrastructure/docs/service-management/reference/rest/v1/services#ManagedService` for a project, so it can be used for the project. |
| ### `https://docs.cloud.google.com/service-infrastructure/docs/service-management/reference/rest/v1/services/generateConfigReport` | Generates and returns a report (errors, warnings and changes from existing configurations) associated with GenerateConfigReportRequest.new_value If GenerateConfigReportRequest.old_value is specified, GenerateConfigReportRequest will contain a single ChangeReport based on the comparison between GenerateConfigReportRequest.new_value and GenerateConfigReportRequest.old_value. |
| ### `https://docs.cloud.google.com/service-infrastructure/docs/service-management/reference/rest/v1/services/get` | Gets a managed service. |
| ### `https://docs.cloud.google.com/service-infrastructure/docs/service-management/reference/rest/v1/services/getConfig` | Gets a service configuration (version) for a managed service. |
| ### `https://docs.cloud.google.com/service-infrastructure/docs/service-management/reference/rest/v1/services/getIamPolicy` | Gets the access control policy for a resource. |
| ### `https://docs.cloud.google.com/service-infrastructure/docs/service-management/reference/rest/v1/services/list` | Lists managed services. |
| ### `https://docs.cloud.google.com/service-infrastructure/docs/service-management/reference/rest/v1/services/setIamPolicy` | Sets the access control policy on the specified resource. |
| ### `https://docs.cloud.google.com/service-infrastructure/docs/service-management/reference/rest/v1/services/testIamPermissions` | Returns permissions that a caller has on the specified resource. |
| ### `https://docs.cloud.google.com/service-infrastructure/docs/service-management/reference/rest/v1/services/undelete` | Revives a previously deleted managed service. |