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
{
"service_account_id": "string"
}
Field |
Description |
service_account_id |
string Required field. ID of the ServiceAccount resource to return. |
ServiceAccount
{
"id": "string",
"folder_id": "string",
"created_at": "google.protobuf.Timestamp",
"name": "string",
"description": "string",
"labels": "map<string, string>",
"last_authenticated_at": "google.protobuf.Timestamp"
}
A ServiceAccount resource. For more information, see Service accounts.
Field |
Description |
id |
string ID of the service account. |
folder_id |
string ID of the folder that the service account belongs to. |
created_at |
Creation timestamp. |
name |
string Name of the service account. |
description |
string Description of the service account. 0-256 characters long. |
labels |
object (map<string, string>) Resource labels as |
last_authenticated_at |
Timestamp for the last authentication of this service account. |