ApiKeyEntity

user_api.v1.ApiKeyEntity

type ApiKeyEntity

user_api.v1.ApiKeyEntity

FieldTypeDescription
client_idstringClient ID.
client_namestringClient Name.
api_keystringAPI Key.
statusApiKeyStatus enum
FieldNumberDescription
API_KEY_STATUS_UNSPECIFIED0API Key Status.API Key Status Unspecified.
API_KEY_STATUS_ACTIVE1API Key Status.API Key Status Active.
API_KEY_STATUS_INACTIVE2API Key Status.API Key Status Inactive.
expiry_dateTimestampAPI Key Expiry Timestamp.
{
  "client_id": "CLIENT_ID",
  "client_name": "CLIENT_NAME",
  "api_key": "API_KEY",
  "status": 0,
  "expiry_date": {
    "seconds": 0,
    "nanos": 0
  }
}