Identity and Access Management API, gRPC: ServiceControlService.ResolveAgent
Written by
Updated at November 26, 2024
Resolve agent service account for the service in the specified resource container.
gRPC request
rpc ResolveAgent (ResolveServiceAgentRequest) returns (ServiceAgent)
ResolveServiceAgentRequest
{
"service_id": "string",
"microservice_id": "string",
"resource": {
"id": "string",
"type": "string"
}
}
Field |
Description |
service_id |
string Required field. ID of the Service. |
microservice_id |
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
{
"service_account_id": "string",
"service_id": "string",
"microservice_id": "string"
}
Field |
Description |
service_account_id |
string ID of the agent service account. |
service_id |
string ID of the service. |
microservice_id |
string ID of the microservice. |