Permission class
Deprecated All fields defined in a permission are ANDed.
Constructors
-
Permission({Input<
List< ? constraints, Input<PermissionConstraint> >List< ? hosts, Input<String> >List< ? methods, Input<String> >List< ? notHosts, Input<String> >List< ? notMethods, Input<String> >List< ? notPaths, Input<String> >List< ? notPorts, Input<String> >List< ? paths, Input<String> >List< ? ports})String> > -
Creates a new Permission.
constraintsExtra custom constraints. The constraints are ANDed together.hostsUsed in Ingress or Egress Gateway cases to specify hosts that the policy applies to. Exact match, prefix match, and suffix match are supported.methodsHTTP method.notHostsNegate of hosts. Specifies exclusions.notMethodsNegate of methods. Specifies exclusions.notPathsNegate of paths. Specifies exclusions.notPortsNegate of ports. Specifies exclusions.pathsHTTP request paths or gRPC methods. Exact match, prefix match, and suffix match are supported.portsPort names or numbers.const -
Permission.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
constraints
→ Input<
List< ?PermissionConstraint> > -
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