# Package types (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 API documentation for `api_keys_v2.types` package.

## Classes

### [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.

### [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.