class Aerospike::Role

Role provides granular access to database entities for users.

Attributes

allowlist[RW]

List of allowable IP addresses

name[RW]

Role name

privileges[RW]

List of assigned privileges

read_quota[RW]

Maximum reads per second limit for the role

write_quota[RW]

Maximum writes per second limit for the role

Public Instance Methods

to_s() click to toggle source
# File lib/aerospike/role.rb, line 49
def to_s
  "Role [name=#{@name}, privileges=#{@privileges}, allowlist=#{@allowlist}, readQuota=#{@read_quota}, writeQuota=#{@write_quota}]";
end