V1Alpha1.ServiceAccount Class

Namespace: Improbable.SpatialOS.ServiceAccount

A representation of service account containing the information required to display them to a user.

Inheritance

pb::IMessage<ServiceAccount>


Const Fields

IdFieldNumber
const int IdFieldNumber = 1

Field number for the "id" field.

NameFieldNumber
const int NameFieldNumber = 2

Field number for the "name" field.

ProjectNameFieldNumber
const int ProjectNameFieldNumber = 7

Field number for the "project_name" field.

PermissionsFieldNumber
const int PermissionsFieldNumber = 3

Field number for the "permissions" field.

TokenFieldNumber
const int TokenFieldNumber = 4

Field number for the "token" field.

CreationTimeFieldNumber
const int CreationTimeFieldNumber = 5

Field number for the "creation_time" field.

ExpirationTimeFieldNumber
const int ExpirationTimeFieldNumber = 6

Field number for the "expiration_time" field.


Static Properties

Parser
pb::MessageParser<ServiceAccount> Parser { get; }


Descriptor
pbr::MessageDescriptor Descriptor { get; }


Properties

Id
long Id { get; set; }

The unique service account id.

Name
string Name { get; set; }

The name of the service account.

ProjectName
string ProjectName { get; set; }

The name of the project associated with the service account.

Permissions
pbc::RepeatedField<global::Improbable.SpatialOS.ServiceAccount.V1Alpha1.Permission> Permissions { get; }

The service account's scope, as Permissions.

Token
string Token { get; set; }

A refresh token representing the created service account.

CreationTime
global::Google.Protobuf.WellKnownTypes.Timestamp CreationTime { get; set; }

Creation and expiration time of the service account token. Expiration time optional, if non-expiring.

ExpirationTime
global::Google.Protobuf.WellKnownTypes.Timestamp ExpirationTime { get; set; }


Constructors

ServiceAccount
ServiceAccount()


ServiceAccount
ServiceAccount(ServiceAccount other)

Parameters


Methods

Clone
ServiceAccount Clone()


Equals
bool Equals(ServiceAccount other)

Parameters

WriteTo
void WriteTo(pb::CodedOutputStream output)

Parameters
  • pb::CodedOutputStream output :

CalculateSize
int CalculateSize()


MergeFrom
void MergeFrom(ServiceAccount other)

Parameters

MergeFrom
void MergeFrom(pb::CodedInputStream input)

Parameters
  • pb::CodedInputStream input :


Overrides

Equals
override bool Equals(object other)

Parameters
  • object other :

GetHashCode
override int GetHashCode()


ToString
override string ToString()

Updated about a year ago


V1Alpha1.ServiceAccount Class


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.