# Cloud IoT V1 API - Module Google::Cloud::Iot::V1::PublicKeyCertificateFormat (v0.9.2)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [0.9.2 (latest)](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iot-v1/latest/Google-Cloud-Iot-V1-PublicKeyCertificateFormat)
- [0.9.1](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iot-v1/0.9.1/Google-Cloud-Iot-V1-PublicKeyCertificateFormat)
- [0.8.0](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iot-v1/0.8.0/Google-Cloud-Iot-V1-PublicKeyCertificateFormat)
- [0.7.1](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iot-v1/0.7.1/Google-Cloud-Iot-V1-PublicKeyCertificateFormat)
- [0.6.0](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iot-v1/0.6.0/Google-Cloud-Iot-V1-PublicKeyCertificateFormat)
- [0.5.0](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iot-v1/0.5.0/Google-Cloud-Iot-V1-PublicKeyCertificateFormat)
- [0.4.0](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iot-v1/0.4.0/Google-Cloud-Iot-V1-PublicKeyCertificateFormat)
- [0.3.5](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iot-v1/0.3.5/Google-Cloud-Iot-V1-PublicKeyCertificateFormat)
Reference documentation and code samples for the Cloud IoT V1 API module Google::Cloud::Iot::V1::PublicKeyCertificateFormat.

The supported formats for the public key.

## Constants

### UNSPECIFIED_PUBLIC_KEY_CERTIFICATE_FORMAT

**value:** 0  
The format has not been specified. This is an invalid default value and
must not be used.

### X509_CERTIFICATE_PEM

**value:** 1  
An X.509v3 certificate ([RFC5280](https://www.ietf.org/rfc/rfc5280.txt)),
encoded in base64, and wrapped by `---BEGIN CERTIFICATE---` and
`---END CERTIFICATE---`.