Interface RateLimitServiceAsync
-
- All Implemented Interfaces:
public interface RateLimitServiceAsync
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceRateLimitServiceAsync.WithRawResponseA view of RateLimitServiceAsync that provides access to raw HTTP responses for each method.
-
Method Summary
Modifier and Type Method Description abstract RateLimitServiceAsync.WithRawResponsewithRawResponse()Returns a view of this service that provides access to raw HTTP responses for each method. abstract RateLimitServiceAsyncwithOptions(Consumer<ClientOptions.Builder> modifier)Returns a view of this service with the given option modifications applied. CompletableFuture<RateLimitListPageAsync>list()List Messages API rate limits for your organization. abstract CompletableFuture<RateLimitListPageAsync>list(RateLimitListParams params, RequestOptions requestOptions)CompletableFuture<RateLimitListPageAsync>list(RateLimitListParams params)CompletableFuture<RateLimitListPageAsync>list(RequestOptions requestOptions)-
-
Method Detail
-
withRawResponse
abstract RateLimitServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
abstract RateLimitServiceAsync withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
list
CompletableFuture<RateLimitListPageAsync> list()
List Messages API rate limits for your organization.
Each entry corresponds to one rate-limit group (either a model family or an API-surface category such as the Message Batches API or the web search tool) and contains the set of limiter values that apply to it.
When
limitis omitted, every matching entry is returned in a single page; whenlimittruncates the result, follownext_pageto fetch the remaining entries.
-
list
abstract CompletableFuture<RateLimitListPageAsync> list(RateLimitListParams params, RequestOptions requestOptions)
-
list
CompletableFuture<RateLimitListPageAsync> list(RateLimitListParams params)
-
list
CompletableFuture<RateLimitListPageAsync> list(RequestOptions requestOptions)
-
-
-
-