Index
RouteLookupService(interface)RouteLookupRequest(message)RouteLookupRequest.Reason(enum)RouteLookupResponse(message)
RouteLookupService
| RouteLookup |
|---|
|
Lookup returns a target for a single key.
|
RouteLookupRequest
| Fields | |
|---|---|
target_type |
Target type allows the client to specify what kind of target format it would like from RLS to allow it to find the regional server, e.g. "grpc". |
reason |
Reason for making this request. |
stale_header_data |
For REASON_STALE, the header_data from the stale response, if any. |
key_map |
Map of key values extracted via key builders for the gRPC or HTTP request. |
extensions[] |
Application-specific optional extensions. |
Reason
Possible reasons for making a request.
| Enums | |
|---|---|
REASON_UNKNOWN |
Unused |
REASON_MISS |
No data available in local cache |
REASON_STALE |
Data in local cache is stale |
RouteLookupResponse
| Fields | |
|---|---|
targets[] |
Prioritized list (best one first) of addressable entities to use for routing, using syntax requested by the request target_type. The targets will be tried in order until a healthy one is found. |
header_data |
Optional header value to pass along to AFE in the X-Google-RLS-Data header. Cached with "target" and sent with all requests that match the request key. Allows the RLS to pass its work product to the eventual target. |
extensions[] |
Application-specific optional extensions. |