@Generated("by gapic-generator-java")
Package com.google.api.apikeys.v2
A client to API Keys API
The interfaces provided are listed below, along with usage samples.
======================= ApiKeysClient =======================
Service Description: Manages the API keys associated with projects.
Sample for ApiKeysClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (ApiKeysClient apiKeysClient = ApiKeysClient.create()) {
KeyName name = KeyName.of("[PROJECT]", "[LOCATION]", "[KEY]");
Key response = apiKeysClient.getKey(name);
}
-
Class Summary Class Description AndroidApplication Identifier of an Android application for key use.AndroidApplication.Builder Identifier of an Android application for key use.AndroidKeyRestrictions The Android apps that are allowed to use the key.AndroidKeyRestrictions.Builder The Android apps that are allowed to use the key.ApiKeysClient Service Description: Manages the API keys associated with projects.ApiKeysClient.ListKeysFixedSizeCollection ApiKeysClient.ListKeysPage ApiKeysClient.ListKeysPagedResponse ApiKeysGrpc Manages the API keys associated with projects.ApiKeysGrpc.ApiKeysBlockingStub A stub to allow clients to do synchronous rpc calls to service ApiKeys.ApiKeysGrpc.ApiKeysFutureStub A stub to allow clients to do ListenableFuture-style rpc calls to service ApiKeys.ApiKeysGrpc.ApiKeysImplBase Base class for the server implementation of the service ApiKeys.ApiKeysGrpc.ApiKeysStub A stub to allow clients to do asynchronous rpc calls to service ApiKeys.ApiKeysProto ApiKeysSettings Settings class to configure an instance ofApiKeysClient
.ApiKeysSettings.Builder Builder for ApiKeysSettings.ApiTarget A restriction for a specific service and optionally one or multiple specific methods.ApiTarget.Builder A restriction for a specific service and optionally one or multiple specific methods.BrowserKeyRestrictions The HTTP referrers (websites) that are allowed to use the key.BrowserKeyRestrictions.Builder The HTTP referrers (websites) that are allowed to use the key.CreateKeyRequest Request message for `CreateKey` method.CreateKeyRequest.Builder Request message for `CreateKey` method.DeleteKeyRequest Request message for `DeleteKey` method.DeleteKeyRequest.Builder Request message for `DeleteKey` method.GetKeyRequest Request message for `GetKey` method.GetKeyRequest.Builder Request message for `GetKey` method.GetKeyStringRequest Request message for `GetKeyString` method.GetKeyStringRequest.Builder Request message for `GetKeyString` method.GetKeyStringResponse Response message for `GetKeyString` method.GetKeyStringResponse.Builder Response message for `GetKeyString` method.IosKeyRestrictions The iOS apps that are allowed to use the key.IosKeyRestrictions.Builder The iOS apps that are allowed to use the key.Key The representation of a key managed by the API Keys API.Key.Builder The representation of a key managed by the API Keys API.KeyName KeyName.Builder Builder for projects/{project}/locations/{location}/keys/{key}.ListKeysRequest Request message for `ListKeys` method.ListKeysRequest.Builder Request message for `ListKeys` method.ListKeysResponse Response message for `ListKeys` method.ListKeysResponse.Builder Response message for `ListKeys` method.LocationName LocationName.Builder Builder for projects/{project}/locations/{location}.LookupKeyRequest Request message for `LookupKey` method.LookupKeyRequest.Builder Request message for `LookupKey` method.LookupKeyResponse Response message for `LookupKey` method.LookupKeyResponse.Builder Response message for `LookupKey` method.ResourcesProto Restrictions Describes the restrictions on the key.Restrictions.Builder Describes the restrictions on the key.ServerKeyRestrictions The IP addresses of callers that are allowed to use the key.ServerKeyRestrictions.Builder The IP addresses of callers that are allowed to use the key.UndeleteKeyRequest Request message for `UndeleteKey` method.UndeleteKeyRequest.Builder Request message for `UndeleteKey` method.UpdateKeyRequest Request message for `UpdateKey` method.UpdateKeyRequest.Builder Request message for `UpdateKey` method. -
Enum Summary Enum Description Restrictions.ClientRestrictionsCase