Interface ApiKeyService
-
- All Implemented Interfaces:
public interface ApiKeyService
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceApiKeyService.WithRawResponseA view of ApiKeyService that provides access to raw HTTP responses for each method.
-
Method Summary
-
-
Method Detail
-
withRawResponse
abstract ApiKeyService.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
abstract ApiKeyService withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
retrieve
ProjectApiKey retrieve(String apiKeyId, ApiKeyRetrieveParams params)
Retrieves an API key in the project.
-
retrieve
ProjectApiKey retrieve(String apiKeyId, ApiKeyRetrieveParams params, RequestOptions requestOptions)
-
retrieve
ProjectApiKey retrieve(ApiKeyRetrieveParams params)
-
retrieve
abstract ProjectApiKey retrieve(ApiKeyRetrieveParams params, RequestOptions requestOptions)
-
list
ApiKeyListPage list(String projectId)
Returns a list of API keys in the project.
-
list
ApiKeyListPage list(String projectId, ApiKeyListParams params, RequestOptions requestOptions)
-
list
ApiKeyListPage list(String projectId, ApiKeyListParams params)
-
list
abstract ApiKeyListPage list(ApiKeyListParams params, RequestOptions requestOptions)
-
list
ApiKeyListPage list(ApiKeyListParams params)
-
list
ApiKeyListPage list(String projectId, RequestOptions requestOptions)
-
delete
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
ApiKeyDeleteResponse delete(String apiKeyId, ApiKeyDeleteParams params, RequestOptions requestOptions)
-
delete
ApiKeyDeleteResponse delete(ApiKeyDeleteParams params)
-
delete
abstract ApiKeyDeleteResponse delete(ApiKeyDeleteParams params, RequestOptions requestOptions)
-
-
-
-