# Package google.cloud.security.privateca.v1beta1

## Index

- `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthorityService` (interface)
- `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.ActivateCertificateAuthorityRequest` (message)
- `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.Certificate` (message)
- `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.Certificate.RevocationDetails` (message)
- `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority` (message)
- `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority.AccessUrls` (message)
- `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy` (message)
- `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.AllowedConfigList` (message)
- `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames` (message)
- `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes` (message)
- `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority.IssuingOptions` (message)
- `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority.KeyVersionSpec` (message)
- `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority.SignHashAlgorithm` (enum)
- `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority.State` (enum)
- `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority.Tier` (enum)
- `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority.Type` (enum)
- `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateConfig` (message)
- `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateConfig.SubjectConfig` (message)
- `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateDescription` (message)
- `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateDescription.CertificateFingerprint` (message)
- `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateDescription.KeyId` (message)
- `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateDescription.SubjectDescription` (message)
- `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateRevocationList` (message)
- `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateRevocationList.RevokedCertificate` (message)
- `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateRevocationList.State` (enum)
- `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CreateCertificateAuthorityRequest` (message)
- `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CreateCertificateRequest` (message)
- `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.DisableCertificateAuthorityRequest` (message)
- `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.EnableCertificateAuthorityRequest` (message)
- `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.FetchCertificateAuthorityCsrRequest` (message)
- `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.FetchCertificateAuthorityCsrResponse` (message)
- `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.GetCertificateAuthorityRequest` (message)
- `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.GetCertificateRequest` (message)
- `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.GetCertificateRevocationListRequest` (message)
- `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.GetReusableConfigRequest` (message)
- `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.KeyUsage` (message)
- `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.KeyUsage.ExtendedKeyUsageOptions` (message)
- `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.KeyUsage.KeyUsageOptions` (message)
- `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.ListCertificateAuthoritiesRequest` (message)
- `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.ListCertificateAuthoritiesResponse` (message)
- `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.ListCertificateRevocationListsRequest` (message)
- `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.ListCertificateRevocationListsResponse` (message)
- `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.ListCertificatesRequest` (message)
- `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.ListCertificatesResponse` (message)
- `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.ListReusableConfigsRequest` (message)
- `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.ListReusableConfigsResponse` (message)
- `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.ObjectId` (message)
- `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.OperationMetadata` (message)
- `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.PublicKey` (message)
- `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.PublicKey.KeyType` (enum)
- `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.RestoreCertificateAuthorityRequest` (message)
- `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.ReusableConfig` (message)
- `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.ReusableConfigValues` (message)
- `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.ReusableConfigValues.CaOptions` (message)
- `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.ReusableConfigWrapper` (message)
- `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.RevocationReason` (enum)
- `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.RevokeCertificateRequest` (message)
- `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.ScheduleDeleteCertificateAuthorityRequest` (message)
- `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.Subject` (message)
- `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.SubjectAltNames` (message)
- `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.SubordinateConfig` (message)
- `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.SubordinateConfig.SubordinateConfigChain` (message)
- `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.UpdateCertificateAuthorityRequest` (message)
- `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.UpdateCertificateRequest` (message)
- `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.UpdateCertificateRevocationListRequest` (message)
- `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.X509Extension` (message)

## CertificateAuthorityService

`https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthorityService` manages private certificate authorities and issued certificates.

| ActivateCertificateAuthority ||
|---|---|
| `` rpc ActivateCertificateAuthority(`https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.ActivateCertificateAuthorityRequest`) returns (`https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.longrunning#google.longrunning.Operation`) `` Activate a `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority` that is in state `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority.State.ENUM_VALUES.google.cloud.security.privateca.v1beta1.CertificateAuthority.State.PENDING_ACTIVATION` and is of type `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority.Type.ENUM_VALUES.google.cloud.security.privateca.v1beta1.CertificateAuthority.Type.SUBORDINATE`. After the parent Certificate Authority signs a certificate signing request from `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthorityService.FetchCertificateAuthorityCsr`, this method can complete the activation process. Authorization Scopes :   Requires the following OAuth scope: - `https://www.googleapis.com/auth/cloud-platform` For more information, see the [Authentication Overview](https://cloud.google.com/docs/authentication/). |

| CreateCertificate ||
|---|---|
| `` rpc CreateCertificate(`https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CreateCertificateRequest`) returns (`https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.Certificate`) `` Create a new `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.Certificate` in a given Project, Location from a particular `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority`. Authorization Scopes :   Requires the following OAuth scope: - `https://www.googleapis.com/auth/cloud-platform` For more information, see the [Authentication Overview](https://cloud.google.com/docs/authentication/). |

| CreateCertificateAuthority ||
|---|---|
| `` rpc CreateCertificateAuthority(`https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CreateCertificateAuthorityRequest`) returns (`https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.longrunning#google.longrunning.Operation`) `` Create a new `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority` in a given Project and Location. Authorization Scopes :   Requires the following OAuth scope: - `https://www.googleapis.com/auth/cloud-platform` For more information, see the [Authentication Overview](https://cloud.google.com/docs/authentication/). |

| DisableCertificateAuthority ||
|---|---|
| `` rpc DisableCertificateAuthority(`https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.DisableCertificateAuthorityRequest`) returns (`https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.longrunning#google.longrunning.Operation`) `` Disable a `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority`. Authorization Scopes :   Requires the following OAuth scope: - `https://www.googleapis.com/auth/cloud-platform` For more information, see the [Authentication Overview](https://cloud.google.com/docs/authentication/). |

| EnableCertificateAuthority ||
|---|---|
| `` rpc EnableCertificateAuthority(`https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.EnableCertificateAuthorityRequest`) returns (`https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.longrunning#google.longrunning.Operation`) `` Enable a `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority`. Authorization Scopes :   Requires the following OAuth scope: - `https://www.googleapis.com/auth/cloud-platform` For more information, see the [Authentication Overview](https://cloud.google.com/docs/authentication/). |

| FetchCertificateAuthorityCsr ||
|---|---|
| `` rpc FetchCertificateAuthorityCsr(`https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.FetchCertificateAuthorityCsrRequest`) returns (`https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.FetchCertificateAuthorityCsrResponse`) `` Fetch a certificate signing request (CSR) from a `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority` that is in state `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority.State.ENUM_VALUES.google.cloud.security.privateca.v1beta1.CertificateAuthority.State.PENDING_ACTIVATION` and is of type `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority.Type.ENUM_VALUES.google.cloud.security.privateca.v1beta1.CertificateAuthority.Type.SUBORDINATE`. The CSR must then be signed by the desired parent Certificate Authority, which could be another `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority` resource, or could be an on-prem certificate authority. See also `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthorityService.ActivateCertificateAuthority`. Authorization Scopes :   Requires the following OAuth scope: - `https://www.googleapis.com/auth/cloud-platform` For more information, see the [Authentication Overview](https://cloud.google.com/docs/authentication/). |

| GetCertificate ||
|---|---|
| `` rpc GetCertificate(`https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.GetCertificateRequest`) returns (`https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.Certificate`) `` Returns a `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.Certificate`. Authorization Scopes :   Requires the following OAuth scope: - `https://www.googleapis.com/auth/cloud-platform` For more information, see the [Authentication Overview](https://cloud.google.com/docs/authentication/). |

| GetCertificateAuthority ||
|---|---|
| `` rpc GetCertificateAuthority(`https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.GetCertificateAuthorityRequest`) returns (`https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority`) `` Returns a `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority`. Authorization Scopes :   Requires the following OAuth scope: - `https://www.googleapis.com/auth/cloud-platform` For more information, see the [Authentication Overview](https://cloud.google.com/docs/authentication/). |

| GetCertificateRevocationList ||
|---|---|
| `` rpc GetCertificateRevocationList(`https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.GetCertificateRevocationListRequest`) returns (`https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateRevocationList`) `` Returns a `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateRevocationList`. Authorization Scopes :   Requires the following OAuth scope: - `https://www.googleapis.com/auth/cloud-platform` For more information, see the [Authentication Overview](https://cloud.google.com/docs/authentication/). |

| GetReusableConfig ||
|---|---|
| `` rpc GetReusableConfig(`https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.GetReusableConfigRequest`) returns (`https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.ReusableConfig`) `` Returns a `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.ReusableConfig`. Authorization Scopes :   Requires the following OAuth scope: - `https://www.googleapis.com/auth/cloud-platform` For more information, see the [Authentication Overview](https://cloud.google.com/docs/authentication/). |

| ListCertificateAuthorities ||
|---|---|
| `` rpc ListCertificateAuthorities(`https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.ListCertificateAuthoritiesRequest`) returns (`https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.ListCertificateAuthoritiesResponse`) `` Lists `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority`. Authorization Scopes :   Requires the following OAuth scope: - `https://www.googleapis.com/auth/cloud-platform` For more information, see the [Authentication Overview](https://cloud.google.com/docs/authentication/). |

| ListCertificateRevocationLists ||
|---|---|
| `` rpc ListCertificateRevocationLists(`https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.ListCertificateRevocationListsRequest`) returns (`https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.ListCertificateRevocationListsResponse`) `` Lists `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateRevocationList`. Authorization Scopes :   Requires the following OAuth scope: - `https://www.googleapis.com/auth/cloud-platform` For more information, see the [Authentication Overview](https://cloud.google.com/docs/authentication/). |

| ListCertificates ||
|---|---|
| `` rpc ListCertificates(`https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.ListCertificatesRequest`) returns (`https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.ListCertificatesResponse`) `` Lists `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.Certificate`. Authorization Scopes :   Requires the following OAuth scope: - `https://www.googleapis.com/auth/cloud-platform` For more information, see the [Authentication Overview](https://cloud.google.com/docs/authentication/). |

| ListReusableConfigs ||
|---|---|
| `` rpc ListReusableConfigs(`https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.ListReusableConfigsRequest`) returns (`https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.ListReusableConfigsResponse`) `` Lists `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.ReusableConfig`. Authorization Scopes :   Requires the following OAuth scope: - `https://www.googleapis.com/auth/cloud-platform` For more information, see the [Authentication Overview](https://cloud.google.com/docs/authentication/). |

| RestoreCertificateAuthority ||
|---|---|
| `` rpc RestoreCertificateAuthority(`https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.RestoreCertificateAuthorityRequest`) returns (`https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.longrunning#google.longrunning.Operation`) `` Restore a `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority` that is scheduled for deletion. Authorization Scopes :   Requires the following OAuth scope: - `https://www.googleapis.com/auth/cloud-platform` For more information, see the [Authentication Overview](https://cloud.google.com/docs/authentication/). |

| RevokeCertificate ||
|---|---|
| `` rpc RevokeCertificate(`https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.RevokeCertificateRequest`) returns (`https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.Certificate`) `` Revoke a `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.Certificate`. Authorization Scopes :   Requires the following OAuth scope: - `https://www.googleapis.com/auth/cloud-platform` For more information, see the [Authentication Overview](https://cloud.google.com/docs/authentication/). |

| ScheduleDeleteCertificateAuthority ||
|---|---|
| `` rpc ScheduleDeleteCertificateAuthority(`https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.ScheduleDeleteCertificateAuthorityRequest`) returns (`https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.longrunning#google.longrunning.Operation`) `` Schedule a `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority` for deletion. Authorization Scopes :   Requires the following OAuth scope: - `https://www.googleapis.com/auth/cloud-platform` For more information, see the [Authentication Overview](https://cloud.google.com/docs/authentication/). |

| UpdateCertificate ||
|---|---|
| `` rpc UpdateCertificate(`https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.UpdateCertificateRequest`) returns (`https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.Certificate`) `` Update a `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.Certificate`. Currently, the only field you can update is the `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.Certificate.FIELDS.repeated.google.cloud.security.privateca.v1beta1.Certificate.LabelsEntry.google.cloud.security.privateca.v1beta1.Certificate.labels` field. Authorization Scopes :   Requires the following OAuth scope: - `https://www.googleapis.com/auth/cloud-platform` For more information, see the [Authentication Overview](https://cloud.google.com/docs/authentication/). |

| UpdateCertificateAuthority ||
|---|---|
| `` rpc UpdateCertificateAuthority(`https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.UpdateCertificateAuthorityRequest`) returns (`https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.longrunning#google.longrunning.Operation`) `` Update a `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority`. Authorization Scopes :   Requires the following OAuth scope: - `https://www.googleapis.com/auth/cloud-platform` For more information, see the [Authentication Overview](https://cloud.google.com/docs/authentication/). |

| UpdateCertificateRevocationList ||
|---|---|
| `` rpc UpdateCertificateRevocationList(`https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.UpdateCertificateRevocationListRequest`) returns (`https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.longrunning#google.longrunning.Operation`) `` Update a `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateRevocationList`. Authorization Scopes :   Requires the following OAuth scope: - `https://www.googleapis.com/auth/cloud-platform` For more information, see the [Authentication Overview](https://cloud.google.com/docs/authentication/). |

## ActivateCertificateAuthorityRequest

Request message for `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthorityService.ActivateCertificateAuthority`.

| Fields ||
|---|---|
| `name` | `string` Required. The resource name for this `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority` in the format `projects/*/locations/*/certificateAuthorities/*`. Authorization requires the following [IAM](https://cloud.google.com/iam/docs/) permission on the specified resource `name`: - `privateca.certificateAuthorities.update` |
| `pem_ca_certificate` | `string` Required. The signed CA certificate issued from `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.FetchCertificateAuthorityCsrResponse.FIELDS.string.google.cloud.security.privateca.v1beta1.FetchCertificateAuthorityCsrResponse.pem_csr`. |
| `subordinate_config` | `` `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.SubordinateConfig` `` Required. Must include information about the issuer of 'pem_ca_certificate', and any further issuers until the self-signed CA. |
| `request_id` | `string` Optional. An ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). |

## Certificate

A `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.Certificate` corresponds to a signed X.509 certificate issued by a `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority`.

| Fields ||
|---|---|---|
| `name` | `string` Output only. The resource path for this `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.Certificate` in the format `projects/*/locations/*/certificateAuthorities/*/certificates/*`. |
| `lifetime` | `` `https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.Duration` `` Required. Immutable. The desired lifetime of a certificate. Used to create the "not_before_time" and "not_after_time" fields inside an X.509 certificate. Note that the lifetime may be truncated if it would extend past the life of any certificate authority in the issuing chain. |
| `revocation_details` | `` `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.Certificate.RevocationDetails` `` Output only. Details regarding the revocation of this `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.Certificate`. This `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.Certificate` is considered revoked if and only if this field is present. |
| `pem_certificate` | `string` Output only. The pem-encoded, signed X.509 certificate. |
| `certificate_description` | `` `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateDescription` `` Output only. A structured description of the issued X.509 certificate. |
| `pem_certificate_chain[]` | `string` Output only. The chain that may be used to verify the X.509 certificate. Expected to be in issuer-to-root order according to RFC 5246. |
| `create_time` | `` `https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.Timestamp` `` Output only. The time at which this `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.Certificate` was created. |
| `update_time` | `` `https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.Timestamp` `` Output only. The time at which this `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.Certificate` was updated. |
| `labels` | `map<string, string>` Optional. Labels with user-defined metadata. |
| Union field `certificate_config`. The config used to create a signed X.509 certificate. `certificate_config` can be only one of the following: |||
| `pem_csr` | `string` Immutable. A pem-encoded X.509 certificate signing request (CSR). |
| `config` | `` `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateConfig` `` Immutable. A description of the certificate and key that does not require X.509 or ASN.1. |

## RevocationDetails

Describes fields that are relavent to the revocation of a `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.Certificate`.

| Fields ||
|---|---|
| `revocation_state` | `` `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.RevocationReason` `` Indicates why a `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.Certificate` was revoked. |
| `revocation_time` | `` `https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.Timestamp` `` The time at which this `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.Certificate` was revoked. |

## CertificateAuthority

A `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority` represents an individual Certificate Authority. A `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority` can be used to create `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.Certificate`.

| Fields ||
|---|---|
| `name` | `string` Output only. The resource name for this `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority` in the format `projects/*/locations/*/certificateAuthorities/*`. |
| `type` | `` `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority.Type` `` Required. Immutable. The `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority.Type` of this `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority`. |
| `tier` | `` `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority.Tier` `` Required. Immutable. The `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority.Tier` of this `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority`. |
| `config` | `` `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateConfig` `` Required. Immutable. The config used to create a self-signed X.509 certificate or CSR. |
| `lifetime` | `` `https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.Duration` `` Required. The desired lifetime of the CA certificate. Used to create the "not_before_time" and "not_after_time" fields inside an X.509 certificate. |
| `key_spec` | `` `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority.KeyVersionSpec` `` Required. Immutable. Used when issuing certificates for this `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority`. If this `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority` is a self-signed CertificateAuthority, this key is also used to sign the self-signed CA certificate. Otherwise, it is used to sign a CSR. |
| `certificate_policy` | `` `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy` `` Optional. The `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy` to enforce when issuing `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.Certificate` from this `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority`. |
| `issuing_options` | `` `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority.IssuingOptions` `` Optional. The `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority.IssuingOptions` to follow when issuing `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.Certificate` from this `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority`. |
| `subordinate_config` | `` `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.SubordinateConfig` `` Optional. If this is a subordinate `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority`, this field will be set with the subordinate configuration, which describes its issuers. This may be updated, but this `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority` must continue to validate. |
| `state` | `` `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority.State` `` Output only. The `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority.State` for this `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority`. |
| `pem_ca_certificates[]` | `string` Output only. This `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority`'s certificate chain, including the current `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority`'s certificate. Ordered such that the root issuer is the final element (consistent with RFC 5246). For a self-signed CA, this will only list the current `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority`'s certificate. |
| `ca_certificate_descriptions[]` | `` `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateDescription` `` Output only. A structured description of this `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority`'s CA certificate and its issuers. Ordered as self-to-root. |
| `gcs_bucket` | `string` Immutable. The name of a Cloud Storage bucket where this `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority` will publish content, such as the CA certificate and CRLs. This must be a bucket name, without any prefixes (such as `gs://`) or suffixes (such as `.googleapis.com`). For example, to use a bucket named `my-bucket`, you would simply specify `my-bucket`. If not specified, a managed bucket will be created. |
| `access_urls` | `` `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority.AccessUrls` `` Output only. URLs for accessing content published by this CA, such as the CA certificate and CRLs. |
| `create_time` | `` `https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.Timestamp` `` Output only. The time at which this `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority` was created. |
| `update_time` | `` `https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.Timestamp` `` Output only. The time at which this `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority` was updated. |
| `delete_time` | `` `https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.Timestamp` `` Output only. The time at which this `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority` will be deleted, if scheduled for deletion. |
| `labels` | `map<string, string>` Optional. Labels with user-defined metadata. |

## AccessUrls

URLs where a `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority` will publish content.

| Fields ||
|---|---|
| `ca_certificate_access_url` | `string` The URL where this `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority`'s CA certificate is published. This will only be set for CAs that have been activated. |
| `crl_access_url` | `string` The URL where this `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority`'s CRLs are published. This will only be set for CAs that have been activated. |

## CertificateAuthorityPolicy

The issuing policy for a `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority`. `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.Certificate` will not be successfully issued from this `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority` if they violate the policy.

| Fields ||
|---|---|---|
| `allowed_locations_and_organizations[]` | `` `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.Subject` `` Optional. If any `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.Subject` is specified here, then all `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.Certificate` issued by the `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority` must match at least one listed `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.Subject`. If a `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.Subject` has an empty field, any value will be allowed for that field. |
| `allowed_common_names[]` | `string` Optional. If any value is specified here, then all `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.Certificate` issued by the `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority` must match at least one listed value. If no value is specified, all values will be allowed for this fied. Glob patterns are also supported. |
| `allowed_sans` | `` `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames` `` Optional. If a `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames` is specified here, then all `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.Certificate` issued by the `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority` must match `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames`. If no value or an empty value is specified, any value will be allowed for the `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.SubjectAltNames` field. |
| `maximum_lifetime` | `` `https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.Duration` `` Optional. The maximum lifetime allowed by the `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority`. Note that if the any part if the issuing chain expires before a `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.Certificate`'s requested maximum_lifetime, the effective lifetime will be explicitly truncated. |
| `allowed_issuance_modes` | `` `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes` `` Optional. If specified, then only methods allowed in the `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes` may be used to issue `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.Certificate`. |
| Union field `config_policy`. Allowed configurations or a single configuration for all issued certificates. `config_policy` can be only one of the following: |||
| `allowed_config_list` | `` `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.AllowedConfigList` `` Optional. All `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.Certificate` issued by the `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority` must match at least one listed `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.ReusableConfigWrapper` in the list. |
| `overwrite_config_values` | `` `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.ReusableConfigWrapper` `` Optional. All `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.Certificate` issued by the `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority` will use the provided configuration values, overwriting any requested configuration values. |

## AllowedConfigList

| Fields ||
|---|---|
| `allowed_config_values[]` | `` `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.ReusableConfigWrapper` `` Required. All `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.Certificate` issued by the `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority` must match at least one listed `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.ReusableConfigWrapper`. If a `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.ReusableConfigWrapper` has an empty field, any value will be allowed for that field. |

## AllowedSubjectAltNames

`https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames` specifies the allowed values for `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.SubjectAltNames` by the `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority` when issuing `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.Certificate`.

| Fields ||
|---|---|
| `allowed_dns_names[]` | `string` Optional. Contains valid, fully-qualified host names. Glob patterns are also supported. To allow an explicit wildcard certificate, escape with backlash (i.e. "\*"). E.g. for globbed entries: '\*bar.com' will allow 'foo.bar.com', but not '\*.bar.com', unless the `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.FIELDS.bool.google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.allow_globbing_dns_wildcards` field is set. E.g. for wildcard entries: '\*.bar.com' will allow '\*.bar.com', but not 'foo.bar.com'. |
| `allowed_uris[]` | `string` Optional. Contains valid RFC 3986 URIs. Glob patterns are also supported. To match across path seperators (i.e. '/') use the double star glob pattern (i.e. '\*\*'). |
| `allowed_email_addresses[]` | `string` Optional. Contains valid RFC 2822 E-mail addresses. Glob patterns are also supported. |
| `allowed_ips[]` | `string` Optional. Contains valid 32-bit IPv4 addresses and subnet ranges or RFC 4291 IPv6 addresses and subnet ranges. Subnet ranges are specified using the '/' notation (e.g. 10.0.0.0/8, 2001:700:300:1800::/64). Glob patterns are supported only for ip address entries (i.e. not for subnet ranges). |
| `allow_globbing_dns_wildcards` | `bool` Optional. Specifies if glob patterns used for `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.FIELDS.repeated.string.google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.allowed_dns_names` allow wildcard certificates. If this is set, certificate requests with wildcard domains will be permitted to match a glob pattern specified in `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.FIELDS.repeated.string.google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.allowed_dns_names`. Otherwise, certificate requests with wildcard domains will be permitted only if `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.FIELDS.repeated.string.google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.allowed_dns_names` contains a literal wildcard. |
| `allow_custom_sans` | `bool` Optional. Specifies if to allow custom X509Extension values. |

## IssuanceModes

`https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes` specifies the allowed ways in which `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.Certificate` may be requested from this `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority`.

| Fields ||
|---|---|
| `allow_csr_based_issuance` | `bool` Required. When true, allows callers to create `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.Certificate` by specifying a CSR. |
| `allow_config_based_issuance` | `bool` Required. When true, allows callers to create `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.Certificate` by specifying a `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateConfig`. |

## IssuingOptions

Options that affect all certificates issued by a `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority`.

| Fields ||
|---|---|
| `include_ca_cert_url` | `bool` Required. When true, includes a URL to the issuing CA certificate in the "authority information access" X.509 extension. |
| `include_crl_access_url` | `bool` Required. When true, includes a URL to the CRL corresponding to certificates issued from a `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority`. CRLs will expire 7 days from their creation. However, we will rebuild daily. CRLs are also rebuilt shortly after a certificate is revoked. |

## KeyVersionSpec

A Cloud KMS key configuration that a `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority` will use.

| Fields ||
|---|---|---|
| Union field `KeyVersion`. `KeyVersion` can be only one of the following: |||
| `cloud_kms_key_version` | `string` Required. The resource name for an existing Cloud KMS CryptoKeyVersion in the format `projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*`. This option enables full flexibility in the key's capabilities and properties. |
| `algorithm` | `` `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority.SignHashAlgorithm` `` Required. The algorithm to use for creating a managed Cloud KMS key for a for a simplified experience. All managed keys will be have their \[ProtectionLevel\]\[google.cloud.kms.v1.ProtectionLevel\] as `HSM`. |

## SignHashAlgorithm

The algorithm of a Cloud KMS CryptoKeyVersion of a \[CryptoKey\]\[google.cloud.kms.v1.CryptoKey\] with the \[CryptoKeyPurpose\]\[google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose\] value `ASYMMETRIC_SIGN`. These values correspond to the \[CryptoKeyVersionAlgorithm\]\[google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm\] values. For RSA signing algorithms, the PSS algorithms should be preferred, use PKCS1 algorithms if required for compatibility. For further recommandations, see <https://cloud.google.com/kms/docs/algorithms#algorithm_recommendations>.

| Enums ||
|---|---|
| `SIGN_HASH_ALGORITHM_UNSPECIFIED` | Not specified. |
| `RSA_PSS_2048_SHA256` | maps to CryptoKeyVersionAlgorithm.RSA_SIGN_PSS_2048_SHA256 |
| `RSA_PSS_3072_SHA256` | maps to CryptoKeyVersionAlgorithm. RSA_SIGN_PSS_3072_SHA256 |
| `RSA_PSS_4096_SHA256` | maps to CryptoKeyVersionAlgorithm.RSA_SIGN_PSS_4096_SHA256 |
| `RSA_PKCS1_2048_SHA256` | maps to CryptoKeyVersionAlgorithm.RSA_SIGN_PKCS1_2048_SHA256 |
| `RSA_PKCS1_3072_SHA256` | maps to CryptoKeyVersionAlgorithm.RSA_SIGN_PKCS1_3072_SHA256 |
| `RSA_PKCS1_4096_SHA256` | maps to CryptoKeyVersionAlgorithm.RSA_SIGN_PKCS1_4096_SHA256 |
| `EC_P256_SHA256` | maps to CryptoKeyVersionAlgorithm.EC_SIGN_P256_SHA256 |
| `EC_P384_SHA384` | maps to CryptoKeyVersionAlgorithm.EC_SIGN_P384_SHA384 |

## State

The state of a `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority`, indicating if it can be used.

| Enums ||
|---|---|
| `STATE_UNSPECIFIED` | Not specified. |
| `ENABLED` | Certificates can be issued from this CA. CRLs will be generated for this CA. |
| `DISABLED` | Certificates cannot be issued from this CA. CRLs will still be generated. |
| `PENDING_ACTIVATION` | Certificates cannot be issued from this CA. CRLs will not be generated. |
| `PENDING_DELETION` | Certificates cannot be issued from this CA. CRLs will not be generated. |

## Tier

The tier of a `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority`, indicating its supported functionality and/or billing SKU.

| Enums ||
|---|---|
| `TIER_UNSPECIFIED` | Not specified. |
| `ENTERPRISE` | Enterprise tier. |
| `DEVOPS` | DevOps tier. |

## Type

The type of a `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority`, indicating its issuing chain.

| Enums ||
|---|---|
| `TYPE_UNSPECIFIED` | Not specified. |
| `SELF_SIGNED` | Self-signed CA. |
| `SUBORDINATE` | Subordinate CA. Could be issued by a Private CA `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority` or an unmanaged CA. |

## CertificateConfig

A `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateConfig` describes an X.509 certificate or CSR that is to be created, as an alternative to using ASN.1.

| Fields ||
|---|---|
| `subject_config` | `` `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateConfig.SubjectConfig` `` Required. Specifies some of the values in a certificate that are related to the subject. |
| `reusable_config` | `` `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.ReusableConfigWrapper` `` Required. Describes how some of the technical fields in a certificate should be populated. |
| `public_key` | `` `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.PublicKey` `` Optional. The public key that corresponds to this config. This is, for example, used when issuing `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.Certificate`, but not when creating a self-signed `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority` or `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority` CSR. |

## SubjectConfig

These values are used to create the distinguished name and subject alternative name fields in an X.509 certificate.

| Fields ||
|---|---|
| `subject` | `` `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.Subject` `` Required. Contains distinguished name fields such as the location and organization. |
| `common_name` | `string` Optional. The "common name" of the distinguished name. |
| `subject_alt_name` | `` `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.SubjectAltNames` `` Optional. The subject alternative name fields. |

## CertificateDescription

A `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateDescription` describes an X.509 certificate or CSR that has been issued, as an alternative to using ASN.1 / X.509.

| Fields ||
|---|---|
| `subject_description` | `` `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateDescription.SubjectDescription` `` Describes some of the values in a certificate that are related to the subject and lifetime. |
| `config_values` | `` `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.ReusableConfigValues` `` Describes some of the technical fields in a certificate. |
| `public_key` | `` `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.PublicKey` `` The public key that corresponds to an issued certificate. |
| `subject_key_id` | `` `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateDescription.KeyId` `` Provides a means of identifiying certificates that contain a particular public key, per <https://tools.ietf.org/html/rfc5280#section-4.2.1.2>. |
| `authority_key_id` | `` `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateDescription.KeyId` `` Identifies the subject_key_id of the parent certificate, per <https://tools.ietf.org/html/rfc5280#section-4.2.1.1> |
| `crl_distribution_points[]` | `string` Describes a list of locations to obtain CRL information, i.e. the DistributionPoint.fullName described by <https://tools.ietf.org/html/rfc5280#section-4.2.1.13> |
| `aia_issuing_certificate_urls[]` | `string` Describes lists of issuer CA certificate URLs that appear in the "Authority Information Access" extension in the certificate. |
| `cert_fingerprint` | `` `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateDescription.CertificateFingerprint` `` The hash of the x.509 certificate. |

## CertificateFingerprint

A group of fingerprints for the x509 certificate.

| Fields ||
|---|---|
| `sha256_hash` | `string` The SHA 256 hash, encoded in hexadecimal, of the DER x509 certificate. |

## KeyId

A KeyId identifies a specific public key, usually by hashing the public key.

| Fields ||
|---|---|
| `key_id` | `string` Optional. The value of this KeyId encoded in lowercase hexadecimal. This is most likely the 160 bit SHA-1 hash of the public key. |

## SubjectDescription

These values describe fields in an issued X.509 certificate such as the distinguished name, subject alternative names, serial number, and lifetime.

| Fields ||
|---|---|
| `subject` | `` `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.Subject` `` Contains distinguished name fields such as the location and organization. |
| `common_name` | `string` The "common name" of the distinguished name. |
| `subject_alt_name` | `` `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.SubjectAltNames` `` The subject alternative name fields. |
| `hex_serial_number` | `string` The serial number encoded in lowercase hexadecimal. |
| `lifetime` | `` `https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.Duration` `` For convenience, the actual lifetime of an issued certificate. Corresponds to 'not_after_time' - 'not_before_time'. |
| `not_before_time` | `` `https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.Timestamp` `` The time at which the certificate becomes valid. |
| `not_after_time` | `` `https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.Timestamp` `` The time at which the certificate expires. |

## CertificateRevocationList

A `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateRevocationList` corresponds to a signed X.509 certificate Revocation List (CRL). A CRL contains the serial numbers of certificates that should no longer be trusted.

| Fields ||
|---|---|
| `name` | `string` Output only. The resource path for this `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateRevocationList` in the format `projects/*/locations/*/certificateAuthorities/*/ certificateRevocationLists/*`. |
| `sequence_number` | `int64` Output only. The CRL sequence number that appears in pem_crl. |
| `revoked_certificates[]` | `` `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateRevocationList.RevokedCertificate` `` Output only. The revoked serial numbers that appear in pem_crl. |
| `pem_crl` | `string` Output only. The PEM-encoded X.509 CRL. |
| `access_url` | `string` Output only. The location where 'pem_crl' can be accessed. |
| `state` | `` `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateRevocationList.State` `` Output only. The `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateRevocationList.State` for this `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateRevocationList`. |
| `create_time` | `` `https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.Timestamp` `` Output only. The time at which this `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateRevocationList` was created. |
| `update_time` | `` `https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.Timestamp` `` Output only. The time at which this `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateRevocationList` was updated. |
| `labels` | `map<string, string>` Optional. Labels with user-defined metadata. |

## RevokedCertificate

Describes a revoked `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.Certificate`.

| Fields ||
|---|---|
| `certificate` | `string` The resource path for the `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.Certificate` in the format `projects/*/locations/*/certificateAuthorities/*/certificates/*`. |
| `hex_serial_number` | `string` The serial number of the `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.Certificate`. |
| `revocation_reason` | `` `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.RevocationReason` `` The reason the `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.Certificate` was revoked. |

## State

The state of a `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateRevocationList`, indicating if it is current.

| Enums ||
|---|---|
| `STATE_UNSPECIFIED` | Not specified. |
| `ACTIVE` | The `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateRevocationList` is up to date. |
| `SUPERSEDED` | The `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateRevocationList` is no longer current. |

## CreateCertificateAuthorityRequest

Request message for `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthorityService.CreateCertificateAuthority`.

| Fields ||
|---|---|
| `parent` | `string` Required. The resource name of the location associated with the `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority`, in the format `projects/*/locations/*`. Authorization requires the following [IAM](https://cloud.google.com/iam/docs/) permission on the specified resource `parent`: - `privateca.certificateAuthorities.create` |
| `certificate_authority_id` | `string` Required. It must be unique within a location and match the regular expression `[a-zA-Z0-9_-]{1,63}` |
| `certificate_authority` | `` `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority` `` Required. A `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority` with initial field values. |
| `request_id` | `string` Optional. An ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). |

## CreateCertificateRequest

Request message for `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthorityService.CreateCertificate`.

| Fields ||
|---|---|
| `parent` | `string` Required. The resource name of the location and `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority` associated with the `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.Certificate`, in the format `projects/*/locations/*/certificateAuthorities/*`. Authorization requires the following [IAM](https://cloud.google.com/iam/docs/) permission on the specified resource `parent`: - `privateca.certificates.create` |
| `certificate_id` | `string` Optional. It must be unique within a location and match the regular expression `[a-zA-Z0-9_-]{1,63}`. This field is required when using a `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority` in the Enterprise `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority.Tier`, but is optional and its value is ignored otherwise. |
| `certificate` | `` `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.Certificate` `` Required. A `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.Certificate` with initial field values. |
| `request_id` | `string` Optional. An ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). |

## DisableCertificateAuthorityRequest

Request message for `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthorityService.DisableCertificateAuthority`.

| Fields ||
|---|---|
| `name` | `string` Required. The resource name for this `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority` in the format `projects/*/locations/*/certificateAuthorities/*`. Authorization requires the following [IAM](https://cloud.google.com/iam/docs/) permission on the specified resource `name`: - `privateca.certificateAuthorities.update` |
| `request_id` | `string` Optional. An ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). |

## EnableCertificateAuthorityRequest

Request message for `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthorityService.EnableCertificateAuthority`.

| Fields ||
|---|---|
| `name` | `string` Required. The resource name for this `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority` in the format `projects/*/locations/*/certificateAuthorities/*`. Authorization requires the following [IAM](https://cloud.google.com/iam/docs/) permission on the specified resource `name`: - `privateca.certificateAuthorities.update` |
| `request_id` | `string` Optional. An ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). |

## FetchCertificateAuthorityCsrRequest

Request message for `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthorityService.FetchCertificateAuthorityCsr`.

| Fields ||
|---|---|
| `name` | `string` Required. The resource name for this `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority` in the format `projects/*/locations/*/certificateAuthorities/*`. Authorization requires the following [IAM](https://cloud.google.com/iam/docs/) permission on the specified resource `name`: - `privateca.certificateAuthorities.get` |

## FetchCertificateAuthorityCsrResponse

Response message for `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthorityService.FetchCertificateAuthorityCsr`.

| Fields ||
|---|---|
| `pem_csr` | `string` Output only. The PEM-encoded signed certificate signing request (CSR). |

## GetCertificateAuthorityRequest

Request message for `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthorityService.GetCertificateAuthority`.

| Fields ||
|---|---|
| `name` | `string` Required. The `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority.FIELDS.string.google.cloud.security.privateca.v1beta1.CertificateAuthority.name` of the `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority` to get. Authorization requires the following [IAM](https://cloud.google.com/iam/docs/) permission on the specified resource `name`: - `privateca.certificateAuthorities.get` |

## GetCertificateRequest

Request message for `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthorityService.GetCertificate`.

| Fields ||
|---|---|
| `name` | `string` Required. The `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.Certificate.FIELDS.string.google.cloud.security.privateca.v1beta1.Certificate.name` of the `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.Certificate` to get. Authorization requires the following [IAM](https://cloud.google.com/iam/docs/) permission on the specified resource `name`: - `privateca.certificates.get` |

## GetCertificateRevocationListRequest

Request message for `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthorityService.GetCertificateRevocationList`.

| Fields ||
|---|---|
| `name` | `string` Required. The `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateRevocationList.FIELDS.string.google.cloud.security.privateca.v1beta1.CertificateRevocationList.name` of the `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateRevocationList` to get. Authorization requires the following [IAM](https://cloud.google.com/iam/docs/) permission on the specified resource `name`: - `privateca.certificateRevocationLists.get` |

## GetReusableConfigRequest

Request message for `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthorityService.GetReusableConfig`.

| Fields ||
|---|---|
| `name` | `string` Required. The \[name\]\[ReusableConfigs.name\] of the \[ReusableConfigs\]\[\] to get. Authorization requires the following [IAM](https://cloud.google.com/iam/docs/) permission on the specified resource `name`: - `privateca.reusableConfigs.get` |

## KeyUsage

A `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.KeyUsage` describes key usage values that may appear in an X.509 certificate.

| Fields ||
|---|---|
| `base_key_usage` | `` `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.KeyUsage.KeyUsageOptions` `` Describes high-level ways in which a key may be used. |
| `extended_key_usage` | `` `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.KeyUsage.ExtendedKeyUsageOptions` `` Detailed scenarios in which a key may be used. |
| `unknown_extended_key_usages[]` | `` `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.ObjectId` `` Used to describe extended key usages that are not listed in the `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.KeyUsage.ExtendedKeyUsageOptions` message. |

## ExtendedKeyUsageOptions

`https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.KeyUsage.ExtendedKeyUsageOptions` has fields that correspond to certain common OIDs that could be specified as an extended key usage value.

| Fields ||
|---|---|
| `server_auth` | `bool` Corresponds to OID 1.3.6.1.5.5.7.3.1. Officially described as "TLS WWW server authentication", though regularly used for non-WWW TLS. |
| `client_auth` | `bool` Corresponds to OID 1.3.6.1.5.5.7.3.2. Officially described as "TLS WWW client authentication", though regularly used for non-WWW TLS. |
| `code_signing` | `bool` Corresponds to OID 1.3.6.1.5.5.7.3.3. Officially described as "Signing of downloadable executable code client authentication". |
| `email_protection` | `bool` Corresponds to OID 1.3.6.1.5.5.7.3.4. Officially described as "Email protection". |
| `time_stamping` | `bool` Corresponds to OID 1.3.6.1.5.5.7.3.8. Officially described as "Binding the hash of an object to a time". |
| `ocsp_signing` | `bool` Corresponds to OID 1.3.6.1.5.5.7.3.9. Officially described as "Signing OCSP responses". |

## KeyUsageOptions

`https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.KeyUsage.KeyUsageOptions` corresponds to the key usage values described in <https://tools.ietf.org/html/rfc5280#section-4.2.1.3>.

| Fields ||
|---|---|
| `digital_signature` | `bool` The key may be used for digital signatures. |
| `content_commitment` | `bool` The key may be used for cryptographic commitments. Note that this may also be referred to as "non-repudiation". |
| `key_encipherment` | `bool` The key may be used to encipher other keys. |
| `data_encipherment` | `bool` The key may be used to encipher data. |
| `key_agreement` | `bool` The key may be used in a key agreement protocol. |
| `cert_sign` | `bool` The key may be used to sign certificates. |
| `crl_sign` | `bool` The key may be used sign certificate revocation lists. |
| `encipher_only` | `bool` The key may be used to encipher only. |
| `decipher_only` | `bool` The key may be used to decipher only. |

## ListCertificateAuthoritiesRequest

Request message for `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthorityService.ListCertificateAuthorities`.

| Fields ||
|---|---|
| `parent` | `string` Required. The resource name of the location associated with the `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority`, in the format `projects/*/locations/*`. Authorization requires the following [IAM](https://cloud.google.com/iam/docs/) permission on the specified resource `parent`: - `privateca.certificateAuthorities.list` |
| `page_size` | `int32` Optional. Limit on the number of `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority` to include in the response. Further `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority` can subsequently be obtained by including the `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.ListCertificateAuthoritiesResponse.FIELDS.string.google.cloud.security.privateca.v1beta1.ListCertificateAuthoritiesResponse.next_page_token` in a subsequent request. If unspecified, the server will pick an appropriate default. |
| `page_token` | `string` Optional. Pagination token, returned earlier via `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.ListCertificateAuthoritiesResponse.FIELDS.string.google.cloud.security.privateca.v1beta1.ListCertificateAuthoritiesResponse.next_page_token`. |
| `filter` | `string` Optional. Only include resources that match the filter in the response. |
| `order_by` | `string` Optional. Specify how the results should be sorted. |

## ListCertificateAuthoritiesResponse

Response message for `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthorityService.ListCertificateAuthorities`.

| Fields ||
|---|---|
| `certificate_authorities[]` | `` `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority` `` The list of `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority`. |
| `next_page_token` | `string` A token to retrieve next page of results. Pass this value in \[ListCertificateAuthoritiesRequest.next_page_token\]\[\] to retrieve the next page of results. |
| `unreachable[]` | `string` A list of locations (e.g. "us-west1") that could not be reached. |

## ListCertificateRevocationListsRequest

Request message for `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthorityService.ListCertificateRevocationLists`.

| Fields ||
|---|---|
| `parent` | `string` Required. The resource name of the location associated with the `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateRevocationList`, in the format `projects/*/locations/*/certificateauthorities/*`. Authorization requires the following [IAM](https://cloud.google.com/iam/docs/) permission on the specified resource `parent`: - `privateca.certificateRevocationLists.list` |
| `page_size` | `int32` Optional. Limit on the number of `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateRevocationList` to include in the response. Further `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateRevocationList` can subsequently be obtained by including the `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.ListCertificateRevocationListsResponse.FIELDS.string.google.cloud.security.privateca.v1beta1.ListCertificateRevocationListsResponse.next_page_token` in a subsequent request. If unspecified, the server will pick an appropriate default. |
| `page_token` | `string` Optional. Pagination token, returned earlier via `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.ListCertificateRevocationListsResponse.FIELDS.string.google.cloud.security.privateca.v1beta1.ListCertificateRevocationListsResponse.next_page_token`. |
| `filter` | `string` Optional. Only include resources that match the filter in the response. |
| `order_by` | `string` Optional. Specify how the results should be sorted. |

## ListCertificateRevocationListsResponse

Response message for `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthorityService.ListCertificateRevocationLists`.

| Fields ||
|---|---|
| `certificate_revocation_lists[]` | `` `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateRevocationList` `` The list of `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateRevocationList`. |
| `next_page_token` | `string` A token to retrieve next page of results. Pass this value in \[ListCertificateRevocationListsRequest.next_page_token\]\[\] to retrieve the next page of results. |
| `unreachable[]` | `string` A list of locations (e.g. "us-west1") that could not be reached. |

## ListCertificatesRequest

Request message for `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthorityService.ListCertificates`.

| Fields ||
|---|---|
| `parent` | `string` Required. The resource name of the location associated with the `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.Certificate`, in the format `projects/*/locations/*/certificateauthorities/*`. Authorization requires the following [IAM](https://cloud.google.com/iam/docs/) permission on the specified resource `parent`: - `privateca.certificates.list` |
| `page_size` | `int32` Optional. Limit on the number of `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.Certificate` to include in the response. Further `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.Certificate` can subsequently be obtained by including the `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.ListCertificatesResponse.FIELDS.string.google.cloud.security.privateca.v1beta1.ListCertificatesResponse.next_page_token` in a subsequent request. If unspecified, the server will pick an appropriate default. |
| `page_token` | `string` Optional. Pagination token, returned earlier via `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.ListCertificatesResponse.FIELDS.string.google.cloud.security.privateca.v1beta1.ListCertificatesResponse.next_page_token`. |
| `filter` | `string` Optional. Only include resources that match the filter in the response. For details on supported filters and syntax, see [Certificates Filtering documentation](https://cloud.google.com/certificate-authority-service/docs/sorting-filtering-certificates#filtering_support). |
| `order_by` | `string` Optional. Specify how the results should be sorted. For details on supported fields and syntax, see [Certificates Sorting documentation](https://cloud.google.com/certificate-authority-service/docs/sorting-filtering-certificates#sorting_support). |

## ListCertificatesResponse

Response message for `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthorityService.ListCertificates`.

| Fields ||
|---|---|
| `certificates[]` | `` `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.Certificate` `` The list of `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.Certificate`. |
| `next_page_token` | `string` A token to retrieve next page of results. Pass this value in \[ListCertificatesRequest.next_page_token\]\[\] to retrieve the next page of results. |
| `unreachable[]` | `string` A list of locations (e.g. "us-west1") that could not be reached. |

## ListReusableConfigsRequest

Request message for `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthorityService.ListReusableConfigs`.

| Fields ||
|---|---|
| `parent` | `string` Required. The resource name of the location associated with the `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.ReusableConfig`, in the format `projects/*/locations/*`. Authorization requires the following [IAM](https://cloud.google.com/iam/docs/) permission on the specified resource `parent`: - `privateca.reusableConfigs.list` |
| `page_size` | `int32` Optional. Limit on the number of `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.ReusableConfig` to include in the response. Further `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.ReusableConfig` can subsequently be obtained by including the `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.ListReusableConfigsResponse.FIELDS.string.google.cloud.security.privateca.v1beta1.ListReusableConfigsResponse.next_page_token` in a subsequent request. If unspecified, the server will pick an appropriate default. |
| `page_token` | `string` Optional. Pagination token, returned earlier via `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.ListReusableConfigsResponse.FIELDS.string.google.cloud.security.privateca.v1beta1.ListReusableConfigsResponse.next_page_token`. |
| `filter` | `string` Optional. Only include resources that match the filter in the response. |
| `order_by` | `string` Optional. Specify how the results should be sorted. |

## ListReusableConfigsResponse

Response message for `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthorityService.ListReusableConfigs`.

| Fields ||
|---|---|
| `reusable_configs[]` | `` `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.ReusableConfig` `` The list of `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.ReusableConfig`. |
| `next_page_token` | `string` A token to retrieve next page of results. Pass this value in \[ListReusableConfigsRequest.next_page_token\]\[\] to retrieve the next page of results. |
| `unreachable[]` | `string` A list of locations (e.g. "us-west1") that could not be reached. |

## ObjectId

An `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.ObjectId` specifies an object identifier (OID). These provide context and describe types in ASN.1 messages.

| Fields ||
|---|---|
| `object_id_path[]` | `int32` Required. The parts of an OID path. The most significant parts of the path come first. |

## OperationMetadata

Represents the metadata of the long-running operation.

| Fields ||
|---|---|
| `create_time` | `` `https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.Timestamp` `` Output only. The time the operation was created. |
| `end_time` | `` `https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.Timestamp` `` Output only. The time the operation finished running. |
| `target` | `string` Output only. Server-defined resource path for the target of the operation. |
| `verb` | `string` Output only. Name of the verb executed by the operation. |
| `status_message` | `string` Output only. Human-readable status of the operation, if any. |
| `requested_cancellation` | `bool` Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have \[Operation.error\]\[\] value with a `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.rpc#google.rpc.Status.FIELDS.int32.google.rpc.Status.code` of 1, corresponding to `Code.CANCELLED`. |
| `api_version` | `string` Output only. API version used to start the operation. |

## PublicKey

A `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.PublicKey` describes a public key.

| Fields ||
|---|---|
| `type` | `` `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.PublicKey.KeyType` `` Optional. The type of public key. If specified, it must match the public key used for the`key` field. |
| `key` | `bytes` Required. A public key. When this is specified in a request, the padding and encoding can be any of the options described by the respective 'KeyType' value. When this is generated by the service, it will always be an RFC 5280 [SubjectPublicKeyInfo](https://tools.ietf.org/html/rfc5280#section-4.1) structure containing an algorithm identifier and a key. |

## KeyType

Types of public keys that are supported. At a minimum, we support RSA and ECDSA, for the key sizes or curves listed: <https://cloud.google.com/kms/docs/algorithms#asymmetric_signing_algorithms>

| Enums ||
|---|---|
| `KEY_TYPE_UNSPECIFIED` | Default unspecified value. |
| `PEM_RSA_KEY` | A PEM-encoded PKCS#1/RFC 3447 RSAPublicKey structure, or an RFC 5280 [SubjectPublicKeyInfo](https://tools.ietf.org/html/rfc5280#section-4.1) structure containing the former. |
| `PEM_EC_KEY` | An RFC 5280 [SubjectPublicKeyInfo](https://tools.ietf.org/html/rfc5280#section-4.1) structure containing a PEM-encoded compressed NIST P-256/secp256r1/prime256v1 or P-384 key. |

## RestoreCertificateAuthorityRequest

Request message for `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthorityService.RestoreCertificateAuthority`.

| Fields ||
|---|---|
| `name` | `string` Required. The resource name for this `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority` in the format `projects/*/locations/*/certificateAuthorities/*`. Authorization requires the following [IAM](https://cloud.google.com/iam/docs/) permission on the specified resource `name`: - `privateca.certificateAuthorities.update` |
| `request_id` | `string` Optional. An ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). |

## ReusableConfig

A `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.ReusableConfig` refers to a managed `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.ReusableConfigValues`. Those, in turn, are used to describe certain fields of an X.509 certificate, such as the key usage fields, fields specific to CA certificates, certificate policy extensions and custom extensions.

| Fields ||
|---|---|
| `name` | `string` Output only. The resource path for this `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.ReusableConfig` in the format `projects/*/locations/*/reusableConfigs/*`. |
| `values` | `` `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.ReusableConfigValues` `` Required. The config values. |
| `description` | `string` Optional. A human-readable description of scenarios these ReusableConfigValues may be compatible with. |
| `create_time` | `` `https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.Timestamp` `` Output only. The time at which this `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.ReusableConfig` was created. |
| `update_time` | `` `https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.Timestamp` `` Output only. The time at which this `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.ReusableConfig` was updated. |
| `labels` | `map<string, string>` Optional. Labels with user-defined metadata. |

## ReusableConfigValues

A `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.ReusableConfigValues` is used to describe certain fields of an X.509 certificate, such as the key usage fields, fields specific to CA certificates, certificate policy extensions and custom extensions.

| Fields ||
|---|---|
| `key_usage` | `` `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.KeyUsage` `` Optional. Indicates the intended use for keys that correspond to a certificate. |
| `ca_options` | `` `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.ReusableConfigValues.CaOptions` `` Optional. Describes options in this `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.ReusableConfigValues` that are relevant in a CA certificate. |
| `policy_ids[]` | `` `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.ObjectId` `` Optional. Describes the X.509 certificate policy object identifiers, per <https://tools.ietf.org/html/rfc5280#section-4.2.1.4>. |
| `aia_ocsp_servers[]` | `string` Optional. Describes Online Certificate Status Protocol (OCSP) endpoint addresses that appear in the "Authority Information Access" extension in the certificate. |
| `additional_extensions[]` | `` `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.X509Extension` `` Optional. Describes custom X.509 extensions. |

## CaOptions

Describes values that are relevant in a CA certificate.

| Fields ||
|---|---|
| `is_ca` | `` `https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.BoolValue` `` Optional. Refers to the "CA" X.509 extension, which is a boolean value. When this value is missing, the extension will be omitted from the CA certificate. |
| `max_issuer_path_length` | `` `https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.Int32Value` `` Optional. Refers to the path length restriction X.509 extension. For a CA certificate, this value describes the depth of subordinate CA certificates that are allowed. If this value is less than 0, the request will fail. If this value is missing, the max path length will be omitted from the CA certificate. |

## ReusableConfigWrapper

A `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.ReusableConfigWrapper` describes values that may assist in creating an X.509 certificate, or a reference to a pre-defined set of values.

| Fields ||
|---|---|---|
| Union field `config_values`. Reusable or inline config values. `config_values` can be only one of the following: |||
| `reusable_config` | `string` Required. A resource path to a `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.ReusableConfig` in the format `projects/*/locations/*/reusableConfigs/*`. |
| `reusable_config_values` | `` `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.ReusableConfigValues` `` Required. A user-specified inline `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.ReusableConfigValues`. |

## RevocationReason

A `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.RevocationReason` indicates whether a `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.Certificate` has been revoked, and the reason for revocation. These correspond to standard revocation reasons from RFC 5280. Note that the enum labels and values in this definition are not the same ASN.1 values defined in RFC 5280. These values will be translated to the correct ASN.1 values when a CRL is created.

| Enums ||
|---|---|
| `REVOCATION_REASON_UNSPECIFIED` | Default unspecified value. This value does indicate that a `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.Certificate` has been revoked, but that a reason has not been recorded. |
| `KEY_COMPROMISE` | Key material for this `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.Certificate` may have leaked. |
| `CERTIFICATE_AUTHORITY_COMPROMISE` | The key material for a certificate authority in the issuing path may have leaked. |
| `AFFILIATION_CHANGED` | The subject or other attributes in this `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.Certificate` have changed. |
| `SUPERSEDED` | This `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.Certificate` has been superseded. |
| `CESSATION_OF_OPERATION` | This `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.Certificate` or entities in the issuing path have ceased to operate. |
| `CERTIFICATE_HOLD` | This `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.Certificate` should not be considered valid, it is expected that it may become valid in the future. |
| `PRIVILEGE_WITHDRAWN` | This `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.Certificate` no longer has permission to assert the listed attributes. |
| `ATTRIBUTE_AUTHORITY_COMPROMISE` | The authority which determines appropriate attributes for a `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.Certificate` may have been compromised. |

## RevokeCertificateRequest

Request message for `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthorityService.RevokeCertificate`.

| Fields ||
|---|---|
| `name` | `string` Required. The resource name for this `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.Certificate` in the format `projects/*/locations/*/certificateAuthorities/*/certificates/*`. Authorization requires the following [IAM](https://cloud.google.com/iam/docs/) permission on the specified resource `name`: - `privateca.certificates.update` |
| `reason` | `` `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.RevocationReason` `` Required. The `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.RevocationReason` for revoking this certificate. |
| `request_id` | `string` Optional. An ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). |

## ScheduleDeleteCertificateAuthorityRequest

Request message for `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthorityService.ScheduleDeleteCertificateAuthority`.

| Fields ||
|---|---|
| `name` | `string` Required. The resource name for this `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority` in the format `projects/*/locations/*/certificateAuthorities/*`. Authorization requires the following [IAM](https://cloud.google.com/iam/docs/) permission on the specified resource `name`: - `privateca.certificateAuthorities.delete` |
| `request_id` | `string` Optional. An ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). |
| `ignore_active_certificates` | `bool` Optional. This field allows the CA to be scheduled for deletion even if the CA has active certs. Active certs include both unrevoked and unexpired certs. |

## Subject

`https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.Subject` describes parts of a distinguished name that, in turn, describes the subject of the certificate.

| Fields ||
|---|---|
| `country_code` | `string` The country code of the subject. |
| `organization` | `string` The organization of the subject. |
| `organizational_unit` | `string` The organizational_unit of the subject. |
| `locality` | `string` The locality or city of the subject. |
| `province` | `string` The province, territory, or regional state of the subject. |
| `street_address` | `string` The street address of the subject. |
| `postal_code` | `string` The postal code of the subject. |

## SubjectAltNames

`https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.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).

| Fields ||
|---|---|
| `dns_names[]` | `string` Contains only valid, fully-qualified host names. |
| `uris[]` | `string` Contains only valid RFC 3986 URIs. |
| `email_addresses[]` | `string` Contains only valid RFC 2822 E-mail addresses. |
| `ip_addresses[]` | `string` Contains only valid 32-bit IPv4 addresses or RFC 4291 IPv6 addresses. |
| `custom_sans[]` | `` `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.X509Extension` `` Contains additional subject alternative name values. |

## SubordinateConfig

Describes a subordinate CA's issuers. This is either a resource path to a known issuing `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority`, or a PEM issuer certificate chain.

| Fields ||
|---|---|---|
| Union field `subordinate_config`. `subordinate_config` can be only one of the following: |||
| `certificate_authority` | `string` Required. This can refer to a `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority` in the same project that was used to create a subordinate `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority`. This field is used for information and usability purposes only. The resource name is in the format `projects/*/locations/*/certificateAuthorities/*`. |
| `pem_issuer_chain` | `` `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.SubordinateConfig.SubordinateConfigChain` `` Required. Contains the PEM certificate chain for the issuers of this `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority`, but not pem certificate for this CA itself. |

## SubordinateConfigChain

This message describes a subordinate CA's issuer certificate chain. This wrapper exists for compatibility reasons.

| Fields ||
|---|---|
| `pem_certificates[]` | `string` Required. Expected to be in leaf-to-root order according to RFC 5246. |

## UpdateCertificateAuthorityRequest

Request message for `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthorityService.UpdateCertificateAuthority`.

| Fields ||
|---|---|
| `certificate_authority` | `` `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority` `` Required. `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthority` with updated values. Authorization requires the following [IAM](https://cloud.google.com/iam/docs/) permission on the specified resource `certificateAuthority`: - `privateca.certificateAuthorities.update` |
| `update_mask` | `` `https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask` `` Required. A list of fields to be updated in this request. |
| `request_id` | `string` Optional. An ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). |

## UpdateCertificateRequest

Request message for `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthorityService.UpdateCertificate`.

| Fields ||
|---|---|
| `certificate` | `` `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.Certificate` `` Required. `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.Certificate` with updated values. Authorization requires the following [IAM](https://cloud.google.com/iam/docs/) permission on the specified resource `certificate`: - `privateca.certificates.update` |
| `update_mask` | `` `https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask` `` Required. A list of fields to be updated in this request. |
| `request_id` | `string` Optional. An ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). |

## UpdateCertificateRevocationListRequest

Request message for `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateAuthorityService.UpdateCertificateRevocationList`.

| Fields ||
|---|---|
| `certificate_revocation_list` | `` `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateRevocationList` `` Required. `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.CertificateRevocationList` with updated values. Authorization requires the following [IAM](https://cloud.google.com/iam/docs/) permission on the specified resource `certificateRevocationList`: - `privateca.certificateRevocationLists.update` |
| `update_mask` | `` `https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask` `` Required. A list of fields to be updated in this request. |
| `request_id` | `string` Optional. An ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). |

## X509Extension

An `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.X509Extension` specifies an X.509 extension, which may be used in different parts of X.509 objects like certificates, CSRs, and CRLs.

| Fields ||
|---|---|
| `object_id` | `` `https://docs.cloud.google.com/certificate-authority-service/docs/reference/rpc/google.cloud.security.privateca.v1beta1#google.cloud.security.privateca.v1beta1.ObjectId` `` Required. The OID for this X.509 extension. |
| `critical` | `bool` Required. Indicates whether or not this extension is critical (i.e., if the client does not know how to handle this extension, the client should consider this to be an error). |
| `value` | `bytes` Required. The value of this X.509 extension. |