# Package Classes (0.9.0)

0.9.0 (latest) 0.8.0 0.7.0 0.6.0 0.5.17 0.4.1 0.3.0 0.2.2 0.1.0 Summary of entries of Classes for apikeys.

## Classes

### [ApiKeysAsyncClient](https://docs.cloud.google.com/python/docs/reference/apikeys/latest/google.cloud.api_keys_v2.services.api_keys.ApiKeysAsyncClient)

Manages the API keys associated with projects.

### [ApiKeysClient](https://docs.cloud.google.com/python/docs/reference/apikeys/latest/google.cloud.api_keys_v2.services.api_keys.ApiKeysClient)

Manages the API keys associated with projects.

### [ListKeysAsyncPager](https://docs.cloud.google.com/python/docs/reference/apikeys/latest/google.cloud.api_keys_v2.services.api_keys.pagers.ListKeysAsyncPager)

A pager for iterating through `list_keys` requests.

This class thinly wraps an initial
[ListKeysResponse](https://docs.cloud.google.com/python/docs/reference/apikeys/latest/google.cloud.api_keys_v2.types.ListKeysResponse) object, and
provides an `__aiter__` method to iterate through its
`keys` field.

If there are more pages, the `__aiter__` method will make additional
`ListKeys` requests and continue to iterate
through the `keys` field on the
corresponding responses.

All the usual [ListKeysResponse](https://docs.cloud.google.com/python/docs/reference/apikeys/latest/google.cloud.api_keys_v2.types.ListKeysResponse)
attributes are available on the pager. If multiple requests are made, only
the most recent response is retained, and thus used for attribute lookup.

### [ListKeysPager](https://docs.cloud.google.com/python/docs/reference/apikeys/latest/google.cloud.api_keys_v2.services.api_keys.pagers.ListKeysPager)

A pager for iterating through `list_keys` requests.

This class thinly wraps an initial
[ListKeysResponse](https://docs.cloud.google.com/python/docs/reference/apikeys/latest/google.cloud.api_keys_v2.types.ListKeysResponse) object, and
provides an `__iter__` method to iterate through its
`keys` field.

If there are more pages, the `__iter__` method will make additional
`ListKeys` requests and continue to iterate
through the `keys` field on the
corresponding responses.

All the usual [ListKeysResponse](https://docs.cloud.google.com/python/docs/reference/apikeys/latest/google.cloud.api_keys_v2.types.ListKeysResponse)
attributes are available on the pager. If multiple requests are made, only
the most recent response is retained, and thus used for attribute lookup.

### [AndroidApplication](https://docs.cloud.google.com/python/docs/reference/apikeys/latest/google.cloud.api_keys_v2.types.AndroidApplication)

Identifier of an Android application for key use.

### [AndroidKeyRestrictions](https://docs.cloud.google.com/python/docs/reference/apikeys/latest/google.cloud.api_keys_v2.types.AndroidKeyRestrictions)

The Android apps that are allowed to use the key.

### [ApiTarget](https://docs.cloud.google.com/python/docs/reference/apikeys/latest/google.cloud.api_keys_v2.types.ApiTarget)

A restriction for a specific service and optionally one or
multiple specific methods. Both fields are case insensitive.

### [BrowserKeyRestrictions](https://docs.cloud.google.com/python/docs/reference/apikeys/latest/google.cloud.api_keys_v2.types.BrowserKeyRestrictions)

The HTTP referrers (websites) that are allowed to use the
key.

### [CreateKeyRequest](https://docs.cloud.google.com/python/docs/reference/apikeys/latest/google.cloud.api_keys_v2.types.CreateKeyRequest)

Request message for `CreateKey` method.

### [DeleteKeyRequest](https://docs.cloud.google.com/python/docs/reference/apikeys/latest/google.cloud.api_keys_v2.types.DeleteKeyRequest)

Request message for `DeleteKey` method.

### [GetKeyRequest](https://docs.cloud.google.com/python/docs/reference/apikeys/latest/google.cloud.api_keys_v2.types.GetKeyRequest)

Request message for `GetKey` method.

### [GetKeyStringRequest](https://docs.cloud.google.com/python/docs/reference/apikeys/latest/google.cloud.api_keys_v2.types.GetKeyStringRequest)

Request message for `GetKeyString` method.

### [GetKeyStringResponse](https://docs.cloud.google.com/python/docs/reference/apikeys/latest/google.cloud.api_keys_v2.types.GetKeyStringResponse)

Response message for `GetKeyString` method.

### [IosKeyRestrictions](https://docs.cloud.google.com/python/docs/reference/apikeys/latest/google.cloud.api_keys_v2.types.IosKeyRestrictions)

The iOS apps that are allowed to use the key.

### [Key](https://docs.cloud.google.com/python/docs/reference/apikeys/latest/google.cloud.api_keys_v2.types.Key)

The representation of a key managed by the API Keys API.

### [AnnotationsEntry](https://docs.cloud.google.com/python/docs/reference/apikeys/latest/google.cloud.api_keys_v2.types.Key.AnnotationsEntry)

The abstract base class for a message.

### [ListKeysRequest](https://docs.cloud.google.com/python/docs/reference/apikeys/latest/google.cloud.api_keys_v2.types.ListKeysRequest)

Request message for `ListKeys` method.

### [ListKeysResponse](https://docs.cloud.google.com/python/docs/reference/apikeys/latest/google.cloud.api_keys_v2.types.ListKeysResponse)

Response message for `ListKeys` method.

### [LookupKeyRequest](https://docs.cloud.google.com/python/docs/reference/apikeys/latest/google.cloud.api_keys_v2.types.LookupKeyRequest)

Request message for `LookupKey` method.

### [LookupKeyResponse](https://docs.cloud.google.com/python/docs/reference/apikeys/latest/google.cloud.api_keys_v2.types.LookupKeyResponse)

Response message for `LookupKey` method.

### [Restrictions](https://docs.cloud.google.com/python/docs/reference/apikeys/latest/google.cloud.api_keys_v2.types.Restrictions)

Describes the restrictions on the key.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [ServerKeyRestrictions](https://docs.cloud.google.com/python/docs/reference/apikeys/latest/google.cloud.api_keys_v2.types.ServerKeyRestrictions)

The IP addresses of callers that are allowed to use the key.

### [UndeleteKeyRequest](https://docs.cloud.google.com/python/docs/reference/apikeys/latest/google.cloud.api_keys_v2.types.UndeleteKeyRequest)

Request message for `UndeleteKey` method.

### [UpdateKeyRequest](https://docs.cloud.google.com/python/docs/reference/apikeys/latest/google.cloud.api_keys_v2.types.UpdateKeyRequest)

Request message for `UpdateKey` method.

## Modules

### [pagers](https://docs.cloud.google.com/python/docs/reference/apikeys/latest/google.cloud.api_keys_v2.services.api_keys.pagers)

API documentation for `api_keys_v2.services.api_keys.pagers` module.