Google Cloud Memorystore V1beta Client - Class AclPolicyRevision (0.14.0)

Reference documentation and code samples for the Google Cloud Memorystore V1beta Client class AclPolicyRevision.

The ACL policy revision resource.

Generated from protobuf message google.cloud.memorystore.v1beta.AclPolicyRevision

Namespace

Google \ Cloud \ Memorystore \ V1beta

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

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