com.authzed.api.v1.permission_service
CheckPermissionResponse
Companion object CheckPermissionResponse
final case class CheckPermissionResponse(checkedAt: Option[ZedToken] = _root_.scala.None, permissionship: Permissionship = com.authzed.api.v1.permission_service.CheckPermissionResponse.Permissionship.PERMISSIONSHIP_UNSPECIFIED, partialCaveatInfo: Option[PartialCaveatInfo] = _root_.scala.None, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty) extends GeneratedMessage with Updatable[CheckPermissionResponse] with Product with Serializable
- permissionship
Permissionship communicates whether or not the subject has the requested permission or has a relationship with the given resource, over the given relation. This value will be authzed.api.v1.PERMISSIONSHIP_HAS_PERMISSION if the requested subject is a member of the computed permission set or there exists a relationship with the requested relation from the given resource to the given subject.
- partialCaveatInfo
partial_caveat_info holds information of a partially-evaluated caveated response
- Annotations
- @SerialVersionUID()
- Source
- CheckPermissionResponse.scala
- Alphabetic
- By Inheritance
- CheckPermissionResponse
- Updatable
- GeneratedMessage
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new CheckPermissionResponse(checkedAt: Option[ZedToken] = _root_.scala.None, permissionship: Permissionship = com.authzed.api.v1.permission_service.CheckPermissionResponse.Permissionship.PERMISSIONSHIP_UNSPECIFIED, partialCaveatInfo: Option[PartialCaveatInfo] = _root_.scala.None, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty)
- permissionship
Permissionship communicates whether or not the subject has the requested permission or has a relationship with the given resource, over the given relation. This value will be authzed.api.v1.PERMISSIONSHIP_HAS_PERMISSION if the requested subject is a member of the computed permission set or there exists a relationship with the requested relation from the given resource to the given subject.
- partialCaveatInfo
partial_caveat_info holds information of a partially-evaluated caveated response
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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val checkedAt: Option[ZedToken]
- def clearCheckedAt: CheckPermissionResponse
- def clearPartialCaveatInfo: CheckPermissionResponse
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def companion: CheckPermissionResponse.type
- Definition Classes
- CheckPermissionResponse → GeneratedMessage
- def discardUnknownFields: CheckPermissionResponse
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def getCheckedAt: ZedToken
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getField(__field: FieldDescriptor): PValue
- Definition Classes
- CheckPermissionResponse → GeneratedMessage
- def getFieldByNumber(__fieldNumber: Int): Any
- Definition Classes
- CheckPermissionResponse → GeneratedMessage
- def getPartialCaveatInfo: PartialCaveatInfo
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- 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()
- val partialCaveatInfo: Option[PartialCaveatInfo]
- val permissionship: Permissionship
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def serializedSize: Int
- Definition Classes
- CheckPermissionResponse → GeneratedMessage
- 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
- CheckPermissionResponse → GeneratedMessage
- val unknownFields: UnknownFieldSet
- def update(ms: (Lens[CheckPermissionResponse, CheckPermissionResponse]) => Mutation[CheckPermissionResponse]*): CheckPermissionResponse
- 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 withCheckedAt(__v: ZedToken): CheckPermissionResponse
- def withPartialCaveatInfo(__v: PartialCaveatInfo): CheckPermissionResponse
- def withPermissionship(__v: Permissionship): CheckPermissionResponse
- def withUnknownFields(__v: UnknownFieldSet): CheckPermissionResponse
- final def writeDelimitedTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
- def writeTo(_output__: CodedOutputStream): Unit
- Definition Classes
- CheckPermissionResponse → GeneratedMessage
- final def writeTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage