SDK reference / Models / Account

AccessTokenInfo

Kind: class

Namespace: Egulu.Sdk.Models.Account

A personal access token (proposed ADR "personal access tokens are expiring keys of a service account of their own"): one service account ofthe project named pat-{you}-{token}, bound to one role (viewer or editor) in the project's policy, with one API key that expires. It acts asitself, never as the person who made it.

Properties

NameTypeJSON nameDescription
CreateTimeDateTimeOffset?createTimeThe createTime property
DisplayNamestring?displayName1 to 60 letters, digits, spaces, dots, dashes and underscores.
ExpireTimeDateTimeOffset?expireTimeThe expireTime property
Memberstring?memberThe member the role is bound to: serviceAccounts/{uid}.
Namestring?nameprojects/{project}/accessTokens/{tokenId}.
Rolestring?roleroles/viewer or roles/editor.
StateModels.Account.AccessTokenState?stateStates of a personal access token.
TokenIdstring?tokenIdThe token's ID: the ID of its service account.