Interface ApiKeyServiceAsync
-
- All Implemented Interfaces:
public interface ApiKeyServiceAsync
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceApiKeyServiceAsync.WithRawResponseA view of ApiKeyServiceAsync that provides access to raw HTTP responses for each method.
-
Method Summary
-
-
Method Detail
-
withRawResponse
abstract ApiKeyServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
abstract ApiKeyServiceAsync withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
retrieve
CompletableFuture<ProjectApiKey> retrieve(String apiKeyId, ApiKeyRetrieveParams params)
Retrieves an API key in the project.
-
retrieve
CompletableFuture<ProjectApiKey> retrieve(String apiKeyId, ApiKeyRetrieveParams params, RequestOptions requestOptions)
-
retrieve
CompletableFuture<ProjectApiKey> retrieve(ApiKeyRetrieveParams params)
-
retrieve
abstract CompletableFuture<ProjectApiKey> retrieve(ApiKeyRetrieveParams params, RequestOptions requestOptions)
-
list
CompletableFuture<ApiKeyListPageAsync> list(String projectId)
Returns a list of API keys in the project.
-
list
CompletableFuture<ApiKeyListPageAsync> list(String projectId, ApiKeyListParams params, RequestOptions requestOptions)
-
list
CompletableFuture<ApiKeyListPageAsync> list(String projectId, ApiKeyListParams params)
-
list
abstract CompletableFuture<ApiKeyListPageAsync> list(ApiKeyListParams params, RequestOptions requestOptions)
-
list
CompletableFuture<ApiKeyListPageAsync> list(ApiKeyListParams params)
-
list
CompletableFuture<ApiKeyListPageAsync> list(String projectId, RequestOptions requestOptions)
-
delete
CompletableFuture<ApiKeyDeleteResponse> delete(String apiKeyId, ApiKeyDeleteParams params)
Deletes an API key from the project.
Returns confirmation of the key deletion, or an error if the key belonged to a service account.
-
delete
CompletableFuture<ApiKeyDeleteResponse> delete(String apiKeyId, ApiKeyDeleteParams params, RequestOptions requestOptions)
-
delete
CompletableFuture<ApiKeyDeleteResponse> delete(ApiKeyDeleteParams params)
-
delete
abstract CompletableFuture<ApiKeyDeleteResponse> delete(ApiKeyDeleteParams params, RequestOptions requestOptions)
-
-
-
-