# ValidationCA

- [JSON representation](https://docs.cloud.google.com/service-mesh/v1.27/docs/reference/network-security/rest/v1beta1/ValidationCA#SCHEMA_REPRESENTATION)

Specification of ValidationCA. Defines the mechanism to obtain the Certificate Authority certificate to validate the peer certificate.

| JSON representation |
|---|
| ``` { // Union field `type` can be only one of the following: "grpcEndpoint": { object (`https://docs.cloud.google.com/service-mesh/v1.27/docs/reference/network-security/rest/v1beta1/GrpcEndpoint`) }, "certificateProviderInstance": { object (`https://docs.cloud.google.com/service-mesh/v1.27/docs/reference/network-security/rest/v1beta1/CertificateProviderInstance`) } // End of list of possible types for union field `type`. } ``` |

| Fields ||
|---|---|
| Union field `type`. The type of certificate provider which provides the CA certificate. `type` can be only one of the following: ||
| `grpcEndpoint` | ``object (`https://docs.cloud.google.com/service-mesh/v1.27/docs/reference/network-security/rest/v1beta1/GrpcEndpoint`)`` gRPC specific configuration to access the gRPC server to obtain the CA certificate. |
| `certificateProviderInstance` | ``object (`https://docs.cloud.google.com/service-mesh/v1.27/docs/reference/network-security/rest/v1beta1/CertificateProviderInstance`)`` The certificate provider instance specification that will be passed to the data plane, which will be used to load necessary credential information. |