BackendRule class

A backend rule provides configuration for an individual API element.

Constructors

BackendRule()
BackendRule.fromJson(Map _json)

Properties

address ↔ String
The address of the API backend.
read / write
deadline ↔ double
The number of seconds to wait for a response from a request. The default deadline for gRPC is infinite (no deadline) and HTTP requests is 5 seconds.
read / write
jwtAudience ↔ String
The JWT audience is used when generating a JWT id token for the backend.
read / write
minDeadline ↔ double
Minimum deadline in seconds needed for this method. Calls having deadline value lower than this will be rejected.
read / write
operationDeadline ↔ double
The number of seconds to wait for the completion of a long running operation. The default is no deadline.
read / write
pathTranslation ↔ String
Possible string values are: [...]
read / write
selector ↔ String
Selects the methods to which this rule applies. [...]
read / write
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

toJson() → Map<String, Object>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

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