# Class GetPublicKeyRequest (3.14.0)

3.14.0 (latest) 3.13.0 3.12.0 3.11.0 3.10.0 3.9.0 3.8.0 3.7.0 3.6.0 3.5.1 3.4.0 3.3.1 3.2.2 3.1.1 3.0.0 2.24.2 2.23.0 2.22.0 2.21.4 2.20.0 2.19.2 2.18.0 2.17.0 2.16.1 2.15.0 2.14.1 2.13.0 2.12.3 2.11.2 2.10.1 2.9.0 2.8.0 2.7.0 2.6.1 2.5.0 2.4.3 2.3.0 2.2.0 2.1.0 2.0.1 1.4.2 1.3.0 1.2.1 1.1.0

    GetPublicKeyRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Request message for
KeyManagementService.GetPublicKey.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `name` | `str` Required. The name of the CryptoKeyVersion public key to get. |
| `public_key_format` | `https://docs.cloud.google.com/python/docs/reference/cloudkms/latest/google.cloud.kms_v1.types.PublicKey.PublicKeyFormat` Optional. The PublicKey format specified by the user. This field is required for PQC algorithms. If specified, the public key will be exported through the public_key field in the requested format. Otherwise, the pem field will be populated for non-PQC algorithms, and an error will be returned for PQC algorithms. |