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
{
"serviceId": "string",
"resource": {
"id": "string",
"type": "string"
}
}
Field |
Description |
serviceId |
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
{
"serviceId": "string",
"resource": {
"id": "string",
"type": "string"
},
"updatedAt": "google.protobuf.Timestamp",
"status": "Status"
}
A Service.
Field |
Description |
serviceId |
string ID of the service. |
resource |
Resource that the service belongs to. |
updatedAt |
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. |