Identity and Access Management API, gRPC: ServiceAccountService.Get
Returns the specified ServiceAccount resource.
To get the list of available ServiceAccount resources, make a List request.
gRPC request
rpc Get (GetServiceAccountRequest) returns (ServiceAccount)
GetServiceAccountRequest
{
"serviceAccountId": "string"
}
Field |
Description |
serviceAccountId |
string Required field. ID of the ServiceAccount resource to return. |
ServiceAccount
{
"id": "string",
"folderId": "string",
"createdAt": "google.protobuf.Timestamp",
"name": "string",
"description": "string",
"labels": "string",
"lastAuthenticatedAt": "google.protobuf.Timestamp"
}
A ServiceAccount resource. For more information, see Service accounts.
Field |
Description |
id |
string ID of the service account. |
folderId |
string ID of the folder that the service account belongs to. |
createdAt |
Creation timestamp. |
name |
string Name of the service account. |
description |
string Description of the service account. 0-256 characters long. |
labels |
string Resource labels as |
lastAuthenticatedAt |
Timestamp for the last authentication of this service account. |