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 request.
gRPC request
rpc Get (GetServiceRequest) returns (Service)
GetServiceRequest
{
"service_id": "string",
"resource": {
"id": "string",
"type": "string"
}
}
Field |
Description |
service_id |
string Required field. ID of the Service. |
resource |
Required field. Resource container to get a service information in. It is supported only resource-manager.cloud resource container now. |
Resource
A Resource. For more information, see Resource.
Field |
Description |
id |
string Required field. ID of the resource. |
type |
string Required field. The type of the resource, e.g. resource-manager.folder, billing.account, compute.snapshot, etc. |
Service
{
"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 that the service belongs to. |
updated_at |
Time of the last status update of the service. |
status |
enum Status Current status of the service.
|
Resource
A Resource. For more information, see Resource.
Field |
Description |
id |
string Required field. ID of the resource. |
type |
string Required field. The type of the resource, e.g. resource-manager.folder, billing.account, compute.snapshot, etc. |