0.13.0 (latest) 0.12.0 0.11.0 0.10.3 0.9.0 0.8.0 0.7.0 0.6.4 0.5.1 0.4.1 0.3.2 0.2.5 0.1.0 Reference documentation and code samples for the Google Cloud Redis Cluster V1 Client class CertificateAuthority.

Redis cluster certificate authority

Generated from protobuf message `google.cloud.redis.cluster.v1.CertificateAuthority`

## Namespace

Google \\ Cloud \\ Redis \\ Cluster \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ managed_server_ca` | `https://docs.cloud.google.com/php/docs/reference/cloud-redis-cluster/latest/V1.CertificateAuthority.ManagedCertificateAuthority` |
| `↳ name` | `string` Identifier. Unique name of the resource in this scope including project, location and cluster using the form: `projects/{project}/locations/{location}/clusters/{cluster}/certificateAuthority` |

### getManagedServerCa

Generated from protobuf field `.google.cloud.redis.cluster.v1.CertificateAuthority.ManagedCertificateAuthority managed_server_ca = 1;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-redis-cluster/latest/V1.CertificateAuthority.ManagedCertificateAuthority|null` |   |

### hasManagedServerCa

### setManagedServerCa

Generated from protobuf field `.google.cloud.redis.cluster.v1.CertificateAuthority.ManagedCertificateAuthority managed_server_ca = 1;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-redis-cluster/latest/V1.CertificateAuthority.ManagedCertificateAuthority` |

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

### getName

Identifier. Unique name of the resource in this scope including project,
location and cluster using the form:
`projects/{project}/locations/{location}/clusters/{cluster}/certificateAuthority`

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

### setName

Identifier. Unique name of the resource in this scope including project,
location and cluster using the form:
`projects/{project}/locations/{location}/clusters/{cluster}/certificateAuthority`

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

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

### getServerCa

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