PermissionResponse

data class PermissionResponse(val constraints: List<PermissionConstraintResponse>, val hosts: List<String>, val methods: List<String>, val notHosts: List<String>, val notMethods: List<String>, val notPaths: List<String>, val notPorts: List<String>, val paths: List<String>, val ports: List<String>)

Deprecated All fields defined in a permission are ANDed.

Constructors

Link copied to clipboard
constructor(constraints: List<PermissionConstraintResponse>, hosts: List<String>, methods: List<String>, notHosts: List<String>, notMethods: List<String>, notPaths: List<String>, notPorts: List<String>, paths: List<String>, ports: List<String>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Extra custom constraints. The constraints are ANDed together.

Link copied to clipboard

Used in Ingress or Egress Gateway cases to specify hosts that the policy applies to. Exact match, prefix match, and suffix match are supported.

Link copied to clipboard

HTTP method.

Link copied to clipboard

Negate of hosts. Specifies exclusions.

Link copied to clipboard

Negate of methods. Specifies exclusions.

Link copied to clipboard

Negate of paths. Specifies exclusions.

Link copied to clipboard

Negate of ports. Specifies exclusions.

Link copied to clipboard

HTTP request paths or gRPC methods. Exact match, prefix match, and suffix match are supported.

Link copied to clipboard

Port names or numbers.