Interface RateLimitService
-
- All Implemented Interfaces:
public interface RateLimitService
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceRateLimitService.WithRawResponseA view of RateLimitService that provides access to raw HTTP responses for each method.
-
Method Summary
Modifier and Type Method Description abstract RateLimitService.WithRawResponsewithRawResponse()Returns a view of this service that provides access to raw HTTP responses for each method. abstract RateLimitServicewithOptions(Consumer<ClientOptions.Builder> modifier)Returns a view of this service with the given option modifications applied. RateLimitListPagelist()List Messages API rate limits for your organization. abstract RateLimitListPagelist(RateLimitListParams params, RequestOptions requestOptions)RateLimitListPagelist(RateLimitListParams params)RateLimitListPagelist(RequestOptions requestOptions)-
-
Method Detail
-
withRawResponse
abstract RateLimitService.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
abstract RateLimitService withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
list
RateLimitListPage 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 RateLimitListPage list(RateLimitListParams params, RequestOptions requestOptions)
-
list
RateLimitListPage list(RateLimitListParams params)
-
list
RateLimitListPage list(RequestOptions requestOptions)
-
-
-
-