# Google Cloud Network Security V1 Client - Class CertificateProviderInstance (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 CertificateProviderInstance.

Specification of a TLS certificate provider instance. Workloads may have one
or more CertificateProvider instances (plugins) and one of them is enabled
and configured by specifying this message. Workloads use the values from this
message to locate and load the CertificateProvider instance configuration.

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

## Namespace

Google \\ Cloud \\ NetworkSecurity \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ plugin_instance` | `string` Required. Plugin instance name, used to locate and load CertificateProvider instance configuration. Set to "google_cloud_private_spiffe" to use Certificate Authority Service certificate provider instance. |

### getPluginInstance

Required. Plugin instance name, used to locate and load CertificateProvider
instance configuration. Set to "google_cloud_private_spiffe" to use
Certificate Authority Service certificate provider instance.

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

### setPluginInstance

Required. Plugin instance name, used to locate and load CertificateProvider
instance configuration. Set to "google_cloud_private_spiffe" to use
Certificate Authority Service certificate provider instance.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

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