Identity and Access Management API, gRPC: ServiceControlService.ResolveAgent
Статья создана
Обновлена 17 октября 2024 г.
Resolve agent service account for the service in the specified resource container.
gRPC request
rpc ResolveAgent (ResolveServiceAgentRequest) returns (ServiceAgent)
ResolveServiceAgentRequest
{
"serviceId": "string",
"microserviceId": "string",
"resource": {
"id": "string",
"type": "string"
}
}
Field |
Description |
serviceId |
string Required field. ID of the Service. |
microserviceId |
string ID of the Microservice. |
resource |
Required field. Resource container. |
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. |
ServiceAgent
{
"serviceAccountId": "string",
"serviceId": "string",
"microserviceId": "string"
}
Field |
Description |
serviceAccountId |
string ID of the agent service account. |
serviceId |
string ID of the service. |
microserviceId |
string ID of the microservice. |