revisions
Creates, updates, deletes, gets or lists a revisions resource.
Overview
| Name | revisions |
| Type | Resource |
| Id | google.redis.revisions |
Fields
The following fields are returned by SELECT queries:
- get
- list
| Name | Datatype | Description |
|---|---|---|
name | string | Identifier. The name of the ACL policy revision. Format: "projects/{project}/locations/{location}/aclPolicies/{acl_policy}/revisions/{revision}" |
attachedClusters | array | Output only. A list of clusters that are attached to this ACL policy revision. |
createTime | string (google-datetime) | Output only. The timestamp that the revision was created. |
revisionNumber | string (int64) | Output only. The revision number of the ACL policy revision. |
snapshot | object | Output only. The snapshot of the ACL policy at the time of revision creation. (id: AclPolicy) |
| Name | Datatype | Description |
|---|---|---|
name | string | Identifier. The name of the ACL policy revision. Format: "projects/{project}/locations/{location}/aclPolicies/{acl_policy}/revisions/{revision}" |
attachedClusters | array | Output only. A list of clusters that are attached to this ACL policy revision. |
createTime | string (google-datetime) | Output only. The timestamp that the revision was created. |
revisionNumber | string (int64) | Output only. The revision number of the ACL policy revision. |
snapshot | object | Output only. The snapshot of the ACL policy at the time of revision creation. (id: AclPolicy) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | projectsId, locationsId, aclPoliciesId, revisionsId | Gets details of a specific ACL policy revision. | |
list | select | projectsId, locationsId, aclPoliciesId | pageSize, pageToken | Lists all ACL policy revisions in a given ACL policy. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
aclPoliciesId | string | |
locationsId | string | |
projectsId | string | |
revisionsId | string | |
pageSize | integer (int32) | |
pageToken | string |
SELECT examples
- get
- list
Gets details of a specific ACL policy revision.
SELECT
name,
attachedClusters,
createTime,
revisionNumber,
snapshot
FROM google.redis.revisions
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND aclPoliciesId = '{{ aclPoliciesId }}' -- required
AND revisionsId = '{{ revisionsId }}' -- required
;
Lists all ACL policy revisions in a given ACL policy.
SELECT
name,
attachedClusters,
createTime,
revisionNumber,
snapshot
FROM google.redis.revisions
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND aclPoliciesId = '{{ aclPoliciesId }}' -- required
AND pageSize = '{{ pageSize }}'
AND pageToken = '{{ pageToken }}'
;