Class GetAdminLogsRequest.Builder
- All Implemented Interfaces:
GetAdminLogsRequest._FinalStage,GetAdminLogsRequest.StartTimeStage
- Enclosing class:
GetAdminLogsRequest
-
Method Summary
Modifier and TypeMethodDescriptionadditionalProperties(Map<String, Object> additionalProperties) additionalProperty(String key, Object value) build()Filter by app context id to inspect a specific context's traffic.Filter by app context id to inspect a specific context's traffic.End of the time window (ISO-8601 UTC; defaults to now).End of the time window (ISO-8601 UTC; defaults to now).errorsOnly(Boolean errorsOnly) If true, return only requests with a status of 400 or higher.errorsOnly(Optional<Boolean> errorsOnly) If true, return only requests with a status of 400 or higher.from(GetAdminLogsRequest other) Filter by API key id to inspect a specific credential's traffic.Filter by API key id to inspect a specific credential's traffic.Maximum number of log entries to return per page (1–500; defaults to 200).Maximum number of log entries to return per page (1–500; defaults to 200).Filter by HTTP method (GET,POST,PUT, orDELETE).Filter by HTTP method (GET,POST,PUT, orDELETE).Filter by resource type.Filter by resource type.Start of the time window (ISO-8601 UTC).
-
Method Details
-
from
- Specified by:
fromin interfaceGetAdminLogsRequest.StartTimeStage
-
startTime
Start of the time window (ISO-8601 UTC).
Start of the time window (ISO-8601 UTC).
- Specified by:
startTimein interfaceGetAdminLogsRequest.StartTimeStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
limit
Maximum number of log entries to return per page (1–500; defaults to 200).
- Specified by:
limitin interfaceGetAdminLogsRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
limit
Maximum number of log entries to return per page (1–500; defaults to 200).
- Specified by:
limitin interfaceGetAdminLogsRequest._FinalStage
-
errorsOnly
If true, return only requests with a status of 400 or higher.
- Specified by:
errorsOnlyin interfaceGetAdminLogsRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
errorsOnly
If true, return only requests with a status of 400 or higher.
- Specified by:
errorsOnlyin interfaceGetAdminLogsRequest._FinalStage
-
contextId
Filter by app context id to inspect a specific context's traffic.
- Specified by:
contextIdin interfaceGetAdminLogsRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
contextId
Filter by app context id to inspect a specific context's traffic.
- Specified by:
contextIdin interfaceGetAdminLogsRequest._FinalStage
-
keyId
Filter by API key id to inspect a specific credential's traffic.
- Specified by:
keyIdin interfaceGetAdminLogsRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
keyId
Filter by API key id to inspect a specific credential's traffic.
- Specified by:
keyIdin interfaceGetAdminLogsRequest._FinalStage
-
method
Filter by HTTP method (
GET,POST,PUT, orDELETE).- Specified by:
methodin interfaceGetAdminLogsRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
method
Filter by HTTP method (
GET,POST,PUT, orDELETE).- Specified by:
methodin interfaceGetAdminLogsRequest._FinalStage
-
resource
Filter by resource type. One of
documents,records,search,schemas,folders,entities,namespaces,users,usage,auth,models,ping,issuers,rag,chat,ask,erasure-requests, orexport.clientsandorgsare not accepted —/v1/orgsand/v1/clientswere retired onto/v1/entities/{namespace}and no log row was ever written under those resource names.- Specified by:
resourcein interfaceGetAdminLogsRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
resource
Filter by resource type. One of
documents,records,search,schemas,folders,entities,namespaces,users,usage,auth,models,ping,issuers,rag,chat,ask,erasure-requests, orexport.clientsandorgsare not accepted —/v1/orgsand/v1/clientswere retired onto/v1/entities/{namespace}and no log row was ever written under those resource names.- Specified by:
resourcein interfaceGetAdminLogsRequest._FinalStage
-
endTime
End of the time window (ISO-8601 UTC; defaults to now).
- Specified by:
endTimein interfaceGetAdminLogsRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
endTime
End of the time window (ISO-8601 UTC; defaults to now).
- Specified by:
endTimein interfaceGetAdminLogsRequest._FinalStage
-
build
- Specified by:
buildin interfaceGetAdminLogsRequest._FinalStage
-
additionalProperty
- Specified by:
additionalPropertyin interfaceGetAdminLogsRequest._FinalStage
-
additionalProperties
- Specified by:
additionalPropertiesin interfaceGetAdminLogsRequest._FinalStage
-