com.authzed.api.v1.permission_service
LookupSubjectsResponse
Companion object LookupSubjectsResponse
final case class LookupSubjectsResponse(lookedUpAt: Option[ZedToken] = _root_.scala.None, subjectObjectId: String = "", excludedSubjectIds: Seq[String] = _root_.scala.Seq.empty, permissionship: LookupPermissionship = com.authzed.api.v1.permission_service.LookupPermissionship.LOOKUP_PERMISSIONSHIP_UNSPECIFIED, partialCaveatInfo: Option[PartialCaveatInfo] = _root_.scala.None, subject: Option[ResolvedSubject] = _root_.scala.None, excludedSubjects: Seq[ResolvedSubject] = _root_.scala.Seq.empty, afterResultCursor: Option[Cursor] = _root_.scala.None, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty) extends GeneratedMessage with Updatable[LookupSubjectsResponse] with Product with Serializable
LookupSubjectsResponse contains a single matching subject object ID for the requested subject object type on the permission or relation.
- subjectObjectId
subject_object_id is the Object ID of the subject found. May be a
*
if a wildcard was found. deprecated: usesubject
- excludedSubjectIds
excluded_subject_ids are the Object IDs of the subjects excluded. This list will only contain object IDs if
subject_object_id
is a wildcard (*
) and will only be populated if exclusions exist from the wildcard. deprecated: useexcluded_subjects
- permissionship
permissionship indicates whether the response was partially evaluated or not deprecated: use
subject.permissionship
- partialCaveatInfo
partial_caveat_info holds information of a partially-evaluated caveated response deprecated: use
subject.partial_caveat_info
- subject
subject is the subject found, along with its permissionship.
- excludedSubjects
excluded_subjects are the subjects excluded. This list will only contain subjects if
subject.subject_object_id
is a wildcard (*
) and will only be populated if exclusions exist from the wildcard.- afterResultCursor
after_result_cursor holds a cursor that can be used to resume the LookupSubjects stream after this result.
- Annotations
- @SerialVersionUID()
- Source
- LookupSubjectsResponse.scala
- Alphabetic
- By Inheritance
- LookupSubjectsResponse
- Updatable
- GeneratedMessage
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new LookupSubjectsResponse(lookedUpAt: Option[ZedToken] = _root_.scala.None, subjectObjectId: String = "", excludedSubjectIds: Seq[String] = _root_.scala.Seq.empty, permissionship: LookupPermissionship = com.authzed.api.v1.permission_service.LookupPermissionship.LOOKUP_PERMISSIONSHIP_UNSPECIFIED, partialCaveatInfo: Option[PartialCaveatInfo] = _root_.scala.None, subject: Option[ResolvedSubject] = _root_.scala.None, excludedSubjects: Seq[ResolvedSubject] = _root_.scala.Seq.empty, afterResultCursor: Option[Cursor] = _root_.scala.None, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty)
- subjectObjectId
subject_object_id is the Object ID of the subject found. May be a
*
if a wildcard was found. deprecated: usesubject
- excludedSubjectIds
excluded_subject_ids are the Object IDs of the subjects excluded. This list will only contain object IDs if
subject_object_id
is a wildcard (*
) and will only be populated if exclusions exist from the wildcard. deprecated: useexcluded_subjects
- permissionship
permissionship indicates whether the response was partially evaluated or not deprecated: use
subject.permissionship
- partialCaveatInfo
partial_caveat_info holds information of a partially-evaluated caveated response deprecated: use
subject.partial_caveat_info
- subject
subject is the subject found, along with its permissionship.
- excludedSubjects
excluded_subjects are the subjects excluded. This list will only contain subjects if
subject.subject_object_id
is a wildcard (*
) and will only be populated if exclusions exist from the wildcard.- afterResultCursor
after_result_cursor holds a cursor that can be used to resume the LookupSubjects stream after this result.
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def addAllExcludedSubjectIds(__vs: Iterable[String]): LookupSubjectsResponse
- def addAllExcludedSubjects(__vs: Iterable[ResolvedSubject]): LookupSubjectsResponse
- def addExcludedSubjectIds(__vs: String*): LookupSubjectsResponse
- def addExcludedSubjects(__vs: ResolvedSubject*): LookupSubjectsResponse
- val afterResultCursor: Option[Cursor]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clearAfterResultCursor: LookupSubjectsResponse
- def clearExcludedSubjectIds: LookupSubjectsResponse
- def clearExcludedSubjects: LookupSubjectsResponse
- def clearLookedUpAt: LookupSubjectsResponse
- def clearPartialCaveatInfo: LookupSubjectsResponse
- def clearSubject: LookupSubjectsResponse
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def companion: LookupSubjectsResponse.type
- Definition Classes
- LookupSubjectsResponse → GeneratedMessage
- def discardUnknownFields: LookupSubjectsResponse
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val excludedSubjects: Seq[ResolvedSubject]
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def getAfterResultCursor: Cursor
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getField(__field: FieldDescriptor): PValue
- Definition Classes
- LookupSubjectsResponse → GeneratedMessage
- def getFieldByNumber(__fieldNumber: Int): Any
- Definition Classes
- LookupSubjectsResponse → GeneratedMessage
- def getLookedUpAt: ZedToken
- def getPartialCaveatInfo: PartialCaveatInfo
- def getSubject: ResolvedSubject
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val lookedUpAt: Option[ZedToken]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def serializedSize: Int
- Definition Classes
- LookupSubjectsResponse → GeneratedMessage
- val subject: Option[ResolvedSubject]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def toByteArray: Array[Byte]
- Definition Classes
- GeneratedMessage
- final def toByteString: ByteString
- Definition Classes
- GeneratedMessage
- final def toPMessage: PMessage
- Definition Classes
- GeneratedMessage
- def toProtoString: String
- Definition Classes
- LookupSubjectsResponse → GeneratedMessage
- val unknownFields: UnknownFieldSet
- def update(ms: (Lens[LookupSubjectsResponse, LookupSubjectsResponse]) => Mutation[LookupSubjectsResponse]*): LookupSubjectsResponse
- Definition Classes
- Updatable
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def withAfterResultCursor(__v: Cursor): LookupSubjectsResponse
- def withExcludedSubjectIds(__v: Seq[String]): LookupSubjectsResponse
- def withExcludedSubjects(__v: Seq[ResolvedSubject]): LookupSubjectsResponse
- def withLookedUpAt(__v: ZedToken): LookupSubjectsResponse
- def withPartialCaveatInfo(__v: PartialCaveatInfo): LookupSubjectsResponse
- def withPermissionship(__v: LookupPermissionship): LookupSubjectsResponse
- def withSubject(__v: ResolvedSubject): LookupSubjectsResponse
- def withSubjectObjectId(__v: String): LookupSubjectsResponse
- def withUnknownFields(__v: UnknownFieldSet): LookupSubjectsResponse
- final def writeDelimitedTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
- def writeTo(_output__: CodedOutputStream): Unit
- Definition Classes
- LookupSubjectsResponse → GeneratedMessage
- final def writeTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
Deprecated Value Members
- val excludedSubjectIds: Seq[String]
- Annotations
- @deprecated
- Deprecated
(Since version ) Marked as deprecated in proto file
- val partialCaveatInfo: Option[PartialCaveatInfo]
- Annotations
- @deprecated
- Deprecated
(Since version ) Marked as deprecated in proto file
- val permissionship: LookupPermissionship
- Annotations
- @deprecated
- Deprecated
(Since version ) Marked as deprecated in proto file
- val subjectObjectId: String
- Annotations
- @deprecated
- Deprecated
(Since version ) Marked as deprecated in proto file