Reference documentation and code samples for the Google Cloud Redis Cluster V1 Client class AclPolicyRevision.
The ACL policy revision resource.
Generated from protobuf message google.cloud.redis.cluster.v1.AclPolicyRevision
Namespace
Google \ Cloud \ Redis \ Cluster \ V1Methods
__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 |
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_clusters |
string[]
Output only. A list of clusters 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 |
AclPolicy|null |
|
hasSnapshot
clearSnapshot
setSnapshot
Output only. The snapshot of the ACL policy at the time of revision creation.
| Parameter | |
|---|---|
| Name | Description |
var |
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 |
|
getAttachedClusters
Output only. A list of clusters that are attached to this ACL policy revision.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<string> |
|
setAttachedClusters
Output only. A list of clusters that are attached to this ACL policy revision.
| Parameter | |
|---|---|
| Name | Description |
var |
string[]
|
| Returns | |
|---|---|
| Type | Description |
$this |
|