PermissionResponse class

Deprecated All fields defined in a permission are ANDed.

Constructors

PermissionResponse({required Input<List<PermissionConstraintResponse>> constraints, required Input<List<String>> hosts, required Input<List<String>> methods, required Input<List<String>> notHosts, required Input<List<String>> notMethods, required Input<List<String>> notPaths, required Input<List<String>> notPorts, required Input<List<String>> paths, required Input<List<String>> ports})
Creates a new PermissionResponse. constraints Extra custom constraints. The constraints are ANDed together. hosts Used in Ingress or Egress Gateway cases to specify hosts that the policy applies to. Exact match, prefix match, and suffix match are supported. methods HTTP method. notHosts Negate of hosts. Specifies exclusions. notMethods Negate of methods. Specifies exclusions. notPaths Negate of paths. Specifies exclusions. notPorts Negate of ports. Specifies exclusions. paths HTTP request paths or gRPC methods. Exact match, prefix match, and suffix match are supported. ports Port names or numbers.
const
PermissionResponse.fromMap(Map<String, dynamic> map)
factory

Properties

constraints → Input<List<PermissionConstraintResponse>>
Extra custom constraints. The constraints are ANDed together.
final
hashCode → int
The hash code for this object.
no setterinherited
hosts → Input<List<String>>
Used in Ingress or Egress Gateway cases to specify hosts that the policy applies to. Exact match, prefix match, and suffix match are supported.
final
methods → Input<List<String>>
HTTP method.
final
notHosts → Input<List<String>>
Negate of hosts. Specifies exclusions.
final
notMethods → Input<List<String>>
Negate of methods. Specifies exclusions.
final
notPaths → Input<List<String>>
Negate of paths. Specifies exclusions.
final
notPorts → Input<List<String>>
Negate of ports. Specifies exclusions.
final
paths → Input<List<String>>
HTTP request paths or gRPC methods. Exact match, prefix match, and suffix match are supported.
final
ports → Input<List<String>>
Port names or numbers.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited