# Google Certificate Authority Service V1 Client - Class SubordinateConfig (2.2.2)

2.4.0 (latest) 2.3.0 2.2.2 2.1.1 2.0.3 1.7.3 1.5.0 1.4.2 1.3.1 1.2.2 1.1.0 1.0.3 Reference documentation and code samples for the Google Certificate Authority Service V1 Client class SubordinateConfig.

Describes a subordinate CA's issuers. This is either a resource name to a
known issuing
[CertificateAuthority](https://docs.cloud.google.com/php/docs/reference/cloud-security-private-ca/latest/V1.CertificateAuthority),
or a PEM issuer certificate chain.

Generated from protobuf message `google.cloud.security.privateca.v1.SubordinateConfig`

## Namespace

Google \\ Cloud \\ Security \\ PrivateCA \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ certificate_authority` | `string` Required. This can refer to a [CertificateAuthority](https://docs.cloud.google.com/php/docs/reference/cloud-security-private-ca/latest/V1.CertificateAuthority) that was used to create a subordinate [CertificateAuthority](https://docs.cloud.google.com/php/docs/reference/cloud-security-private-ca/latest/V1.CertificateAuthority). This field is used for information and usability purposes only. The resource name is in the format `projects/*/locations/*/caPools/*/certificateAuthorities/*`. |
| `↳ pem_issuer_chain` | `https://docs.cloud.google.com/php/docs/reference/cloud-security-private-ca/latest/V1.SubordinateConfig.SubordinateConfigChain` Required. Contains the PEM certificate chain for the issuers of this [CertificateAuthority](https://docs.cloud.google.com/php/docs/reference/cloud-security-private-ca/latest/V1.CertificateAuthority), but not pem certificate for this CA itself. |

### getCertificateAuthority

Required. This can refer to a
[CertificateAuthority](https://docs.cloud.google.com/php/docs/reference/cloud-security-private-ca/latest/V1.CertificateAuthority)
that was used to create a subordinate
[CertificateAuthority](https://docs.cloud.google.com/php/docs/reference/cloud-security-private-ca/latest/V1.CertificateAuthority).

This field is used for information and usability purposes only. The
resource name is in the format
`projects/*/locations/*/caPools/*/certificateAuthorities/*`.

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

### hasCertificateAuthority

### setCertificateAuthority

Required. This can refer to a
[CertificateAuthority](https://docs.cloud.google.com/php/docs/reference/cloud-security-private-ca/latest/V1.CertificateAuthority)
that was used to create a subordinate
[CertificateAuthority](https://docs.cloud.google.com/php/docs/reference/cloud-security-private-ca/latest/V1.CertificateAuthority).

This field is used for information and usability purposes only. The
resource name is in the format
`projects/*/locations/*/caPools/*/certificateAuthorities/*`.

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

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

### getPemIssuerChain

Required. Contains the PEM certificate chain for the issuers of this
[CertificateAuthority](https://docs.cloud.google.com/php/docs/reference/cloud-security-private-ca/latest/V1.CertificateAuthority),
but not pem certificate for this CA itself.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-security-private-ca/latest/V1.SubordinateConfig.SubordinateConfigChain|null` |   |

### hasPemIssuerChain

### setPemIssuerChain

Required. Contains the PEM certificate chain for the issuers of this
[CertificateAuthority](https://docs.cloud.google.com/php/docs/reference/cloud-security-private-ca/latest/V1.CertificateAuthority),
but not pem certificate for this CA itself.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-security-private-ca/latest/V1.SubordinateConfig.SubordinateConfigChain` |

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

### getSubordinateConfig

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