[Yandex Cloud documentation](../../../../index.md) > [Yandex Identity and Access Management](../../../index.md) > API reference > [gRPC](../index.md) > [ServiceControl](index.md) > Get

# Identity and Access Management API, gRPC: ServiceControlService.Get

Returns the Service information in the specified resource container.
To get the list of available Services, make a [List](list.md#List) request.

## gRPC request

**rpc Get ([GetServiceRequest](#yandex.cloud.iam.v1.GetServiceRequest)) returns ([Service](#yandex.cloud.iam.v1.Service))**

## GetServiceRequest {#yandex.cloud.iam.v1.GetServiceRequest}

```json
{
  "service_id": "string",
  "resource": {
    "id": "string",
    "type": "string"
  }
}
```

#|
||Field | Description ||
|| service_id | **string**

Required field. ID of the Service.

The maximum string length in characters is 50. ||
|| resource | **[Resource](#yandex.cloud.iam.v1.Resource)**

Required field. Resource container to get a service information in.
It is supported only resource-manager.cloud resource container now. ||
|#

## Resource {#yandex.cloud.iam.v1.Resource}

A Resource. For more information, see [Resource](../../../concepts/access-control/resources-with-access-control.md).

#|
||Field | Description ||
|| id | **string**

Required field. ID of the resource.

The maximum string length in characters is 50. ||
|| type | **string**

Required field. The type of the resource, e.g. resource-manager.folder, billing.account, compute.snapshot, etc.

The maximum string length in characters is 64. ||
|#

## Service {#yandex.cloud.iam.v1.Service}

```json
{
  "service_id": "string",
  "resource": {
    "id": "string",
    "type": "string"
  },
  "updated_at": "google.protobuf.Timestamp",
  "status": "Status"
}
```

A Service.

#|
||Field | Description ||
|| service_id | **string**

ID of the service. ||
|| resource | **[Resource](#yandex.cloud.iam.v1.Resource2)**

Resource that the service belongs to. ||
|| updated_at | **[google.protobuf.Timestamp](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#timestamp)**

Time of the last status update of the service. ||
|| status | enum **Status**

Current status of the service.

- `ENABLED`: The service is enabled.
- `DISABLED`: The service is disabled.
- `ENABLING`: The service is being enabled.
- `DISABLING`: The service is being disabled.
- `ERROR`: The service is in error state.
- `PAUSED`: The service is paused.
- `PAUSING`: The service is being paused.
- `RESUMING`: The service is being resumed.
- `DEFAULT`: The service could be auto enabled. ||
|#

## Resource {#yandex.cloud.iam.v1.Resource2}

A Resource. For more information, see [Resource](../../../concepts/access-control/resources-with-access-control.md).

#|
||Field | Description ||
|| id | **string**

Required field. ID of the resource.

The maximum string length in characters is 50. ||
|| type | **string**

Required field. The type of the resource, e.g. resource-manager.folder, billing.account, compute.snapshot, etc.

The maximum string length in characters is 64. ||
|#