# SubjectAltNames

- [JSON representation](https://docs.cloud.google.com/certificate-authority-service/docs/reference/rest/v1/SubjectAltNames#SCHEMA_REPRESENTATION)

`https://docs.cloud.google.com/certificate-authority-service/docs/reference/rest/v1/SubjectAltNames` corresponds to a more modern way of listing what the asserted identity is in a certificate (i.e., compared to the "common name" in the distinguished name).

| JSON representation |
|---|
| ``` { "dnsNames": [ string ], "uris": [ string ], "emailAddresses": [ string ], "ipAddresses": [ string ], "customSans": [ { object (`https://docs.cloud.google.com/certificate-authority-service/docs/reference/rest/v1/X509Extension`) } ] } ``` |

| Fields ||
|---|---|
| `dnsNames[]` | `string` Contains only valid, fully-qualified host names. |
| `uris[]` | `string` Contains only valid RFC 3986 URIs. |
| `emailAddresses[]` | `string` Contains only valid RFC 2822 E-mail addresses. |
| `ipAddresses[]` | `string` Contains only valid 32-bit IPv4 addresses or RFC 4291 IPv6 addresses. |
| `customSans[]` | ``object (`https://docs.cloud.google.com/certificate-authority-service/docs/reference/rest/v1/X509Extension`)`` Contains additional subject alternative name values. For each custom_san, the `value` field must contain an ASN.1 encoded UTF8String. |