# Google Cloud Network Security V1 Client - Class ValidationCA (1.4.0)

1.4.0 (latest) 1.3.0 1.2.3 1.1.0 1.0.4 0.6.5 0.5.2 0.4.1 0.3.7 Reference documentation and code samples for the Google Cloud Network Security V1 Client class ValidationCA.

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

Generated from protobuf message `google.cloud.networksecurity.v1.ValidationCA`

## Namespace

Google \\ Cloud \\ NetworkSecurity \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ grpc_endpoint` | `https://docs.cloud.google.com/php/docs/reference/cloud-network-security/latest/V1.GrpcEndpoint` gRPC specific configuration to access the gRPC server to obtain the CA certificate. |
| `↳ certificate_provider_instance` | `https://docs.cloud.google.com/php/docs/reference/cloud-network-security/latest/V1.CertificateProviderInstance` The certificate provider instance specification that will be passed to the data plane, which will be used to load necessary credential information. |

### getGrpcEndpoint

gRPC specific configuration to access the gRPC server to
obtain the CA certificate.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-network-security/latest/V1.GrpcEndpoint|null` |   |

### hasGrpcEndpoint

### setGrpcEndpoint

gRPC specific configuration to access the gRPC server to
obtain the CA certificate.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-network-security/latest/V1.GrpcEndpoint` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getCertificateProviderInstance

The certificate provider instance specification that will be passed to
the data plane, which will be used to load necessary credential
information.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-network-security/latest/V1.CertificateProviderInstance|null` |   |

### hasCertificateProviderInstance

### setCertificateProviderInstance

The certificate provider instance specification that will be passed to
the data plane, which will be used to load necessary credential
information.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-network-security/latest/V1.CertificateProviderInstance` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getType

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |