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 ClusterAclPolicyAttachment.

ClusterAclPolicyAttachment stores the ACL policy status for an attached
cluster for the revisions successfully applied, under application or failed.

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

## Namespace

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

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ cluster` | `string` Output only. The resource name of the attached Cluster. Format: "projects/{project}/locations/{location}/clusters/{cluster}" |
| `↳ acl_policy_revision_statuses` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-redis-cluster/latest/V1.AclPolicyRevisionStatus>` Output only. A list of status for various revisions of this ACL policy on the cluster. |

### getCluster

Output only. The resource name of the attached Cluster.

Format:
"projects/{project}/locations/{location}/clusters/{cluster}"

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

### setCluster

Output only. The resource name of the attached Cluster.

Format:
"projects/{project}/locations/{location}/clusters/{cluster}"

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

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

### getAclPolicyRevisionStatuses

Output only. A list of status for various revisions of this ACL policy on
the cluster.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-redis-cluster/latest/V1.AclPolicyRevisionStatus>` |   |

### setAclPolicyRevisionStatuses

Output only. A list of status for various revisions of this ACL policy on
the cluster.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-redis-cluster/latest/V1.AclPolicyRevisionStatus>` |

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