V1Alpha1.CreateServiceAccountRequest Class

Namespace: Improbable.SpatialOS.ServiceAccount

A request to create a new service account.

Inheritance

pb::IMessage<CreateServiceAccountRequest>


Const Fields

NameFieldNumber
const int NameFieldNumber = 1

Field number for the "name" field.

ProjectNameFieldNumber
const int ProjectNameFieldNumber = 3

Field number for the "project_name" field.

PermissionsFieldNumber
const int PermissionsFieldNumber = 4

Field number for the "permissions" field.

LifetimeFieldNumber
const int LifetimeFieldNumber = 2

Field number for the "lifetime" field.


Static Properties

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


Descriptor
pbr::MessageDescriptor Descriptor { get; }


Properties

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.

Lifetime
global::Google.Protobuf.WellKnownTypes.Duration Lifetime { get; set; }

The lifetime of the service account. If not specified, then the new service account will have a default lifetime of 30 days. This value cannot be larger than 90 days.


Constructors

CreateServiceAccountRequest
CreateServiceAccountRequest()


CreateServiceAccountRequest
CreateServiceAccountRequest(CreateServiceAccountRequest other)

Parameters


Methods

Clone
CreateServiceAccountRequest Clone()


Equals
bool Equals(CreateServiceAccountRequest other)

Parameters

WriteTo
void WriteTo(pb::CodedOutputStream output)

Parameters
  • pb::CodedOutputStream output :

CalculateSize
int CalculateSize()


MergeFrom
void MergeFrom(CreateServiceAccountRequest 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.CreateServiceAccountRequest Class


Suggested Edits are limited on API Reference Pages

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