0.16.0 (latest) 0.15.0 0.14.0 0.13.3 0.12.0 0.10.0 0.9.0 0.8.0 0.7.0 0.6.2 0.5.1 0.4.2 0.3.0 0.2.0 0.1.1 Reference documentation and code samples for the Google Cloud Memorystore V1 Client class AclPolicyRevision.

The ACL policy revision resource.

Generated from protobuf message `google.cloud.memorystore.v1.AclPolicyRevision`

## Namespace

Google \\ Cloud \\ Memorystore \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Identifier. The name of the ACL policy revision. Format: "projects/{project}/locations/{location}/aclPolicies/{acl_policy}/revisions/{revision}" |
| `↳ revision_number` | `int|string` Output only. The revision number of the ACL policy revision. |
| `↳ snapshot` | `https://docs.cloud.google.com/php/docs/reference/cloud-memorystore/latest/V1.AclPolicy` Output only. The snapshot of the ACL policy at the time of revision creation. |
| `↳ create_time` | `Google\Protobuf\Timestamp` Output only. The timestamp that the revision was created. |
| `↳ attached_instances` | `string[]` Output only. A list of instances that are attached to this ACL policy revision. |

### getName

Identifier. The name of the ACL policy revision.

Format:
"projects/{project}/locations/{location}/aclPolicies/{acl_policy}/revisions/{revision}"

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

### setName

Identifier. The name of the ACL policy revision.

Format:
"projects/{project}/locations/{location}/aclPolicies/{acl_policy}/revisions/{revision}"

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

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

### getRevisionNumber

Output only. The revision number of the ACL policy revision.

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

### setRevisionNumber

Output only. The revision number of the ACL policy revision.

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

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

### getSnapshot

Output only. The snapshot of the ACL policy at the time of revision
creation.

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

### hasSnapshot

### clearSnapshot

### setSnapshot

Output only. The snapshot of the ACL policy at the time of revision
creation.

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

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

### getCreateTime

Output only. The timestamp that the revision was created.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\Timestamp|null` |   |

### hasCreateTime

### clearCreateTime

### setCreateTime

Output only. The timestamp that the revision was created.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `Google\Protobuf\Timestamp` |

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

### getAttachedInstances

Output only. A list of instances that are attached to this ACL policy
revision.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\RepeatedField<string>` |   |

### setAttachedInstances

Output only. A list of instances that are attached to this ACL policy
revision.

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

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