final case class Acl(allow: Seq[PrincipalMatcher] = _root_.scala.Seq.empty, deny: Seq[PrincipalMatcher] = _root_.scala.Seq.empty, denyCode: Int = 0, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty) extends GeneratedMessage with Updatable[Acl] with Product with Serializable
ACL configuration for a resource.
- allow
Principals that are allowed to access this resource. An incoming request must have at least one principal associated with it in this list to be allowed.
- deny
Principals that are not allowed to access this resource. After matching an allow rule, an incoming request that has at least one principal that matches a deny rule will be denied.
- denyCode
The gRPC status code to respond with when access is denied. By default, this will be 7 (permission denied), but alternatives might include 16 (unauthenticated) or 5 (not found). If 0, indicates that the code should be inherited from the parent (regardless of the inherit field). When HTTP transcoding is in use, this code will be translated to an equivalent HTTP status code.
- Annotations
- @SerialVersionUID()
- Source
- Acl.scala
- Alphabetic
- By Inheritance
- Acl
- Updatable
- GeneratedMessage
- Serializable
- Product
- Equals
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new Acl(allow: Seq[PrincipalMatcher] = _root_.scala.Seq.empty, deny: Seq[PrincipalMatcher] = _root_.scala.Seq.empty, denyCode: Int = 0, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty)
- allow
Principals that are allowed to access this resource. An incoming request must have at least one principal associated with it in this list to be allowed.
- deny
Principals that are not allowed to access this resource. After matching an allow rule, an incoming request that has at least one principal that matches a deny rule will be denied.
- denyCode
The gRPC status code to respond with when access is denied. By default, this will be 7 (permission denied), but alternatives might include 16 (unauthenticated) or 5 (not found). If 0, indicates that the code should be inherited from the parent (regardless of the inherit field). When HTTP transcoding is in use, this code will be translated to an equivalent HTTP status code.
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- def ->[B](y: B): (Acl, B)
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def addAllAllow(__vs: Iterable[PrincipalMatcher]): Acl
- def addAllDeny(__vs: Iterable[PrincipalMatcher]): Acl
- def addAllow(__vs: PrincipalMatcher*): Acl
- def addDeny(__vs: PrincipalMatcher*): Acl
- val allow: Seq[PrincipalMatcher]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clearAllow: Acl
- def clearDeny: Acl
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def companion: Acl.type
- Definition Classes
- Acl → GeneratedMessage
- val deny: Seq[PrincipalMatcher]
- val denyCode: Int
- def discardUnknownFields: Acl
- def ensuring(cond: (Acl) => Boolean, msg: => Any): Acl
- def ensuring(cond: (Acl) => Boolean): Acl
- def ensuring(cond: Boolean, msg: => Any): Acl
- def ensuring(cond: Boolean): Acl
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getField(__field: FieldDescriptor): PValue
- Definition Classes
- Acl → GeneratedMessage
- def getFieldByNumber(__fieldNumber: Int): Any
- Definition Classes
- Acl → GeneratedMessage
- 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()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def serializedSize: Int
- Definition Classes
- Acl → 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
- Acl → GeneratedMessage
- val unknownFields: UnknownFieldSet
- def update(ms: (Lens[Acl, Acl]) => Mutation[Acl]*): Acl
- 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 withAllow(__v: Seq[PrincipalMatcher]): Acl
- def withDeny(__v: Seq[PrincipalMatcher]): Acl
- def withDenyCode(__v: Int): Acl
- def withUnknownFields(__v: UnknownFieldSet): Acl
- final def writeDelimitedTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
- def writeTo(_output__: CodedOutputStream): Unit
- Definition Classes
- Acl → GeneratedMessage
- final def writeTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)
- def formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from Acl toStringFormat[Acl] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.12.16) Use
formatString.format(value)
instead ofvalue.formatted(formatString)
, or use thef""
string interpolator. In Java 15 and later,formatted
resolves to the new method in String which has reversed parameters.
- def →[B](y: B): (Acl, B)
- Implicit
- This member is added by an implicit conversion from Acl toArrowAssoc[Acl] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->
instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.