Sites

Menu

CreateServiceAccountRequest Class

Namespace: Improbable.SpatialOS.ServiceAccount.V1Alpha1

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()

Search results

Was this page helpful?

Thanks for letting us know!

Thanks for your feedback

Need more help? Ask on the forums