Google Cloud Memorystore V1beta Client - Class AclPolicy (0.14.0)

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

The ACL policy resource.

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

Namespace

Google \ Cloud \ Memorystore \ V1beta

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Identifier. Full resource path of the ACL policy.

↳ rules array<AclRule>

Required. The ACL rules within the ACL policy.

↳ state int

Output only. The state of the ACL policy.

↳ etag string

Output only. Etag of the ACL policy.

↳ instance_acl_policy_attachments array<InstanceAclPolicyAttachment>

Output only. The ACL policy attachment status for each attached instance.

↳ create_time Google\Protobuf\Timestamp

Output only. The timestamp that the ACL policy was created.

↳ update_time Google\Protobuf\Timestamp

Output only. The timestamp that the ACL policy was last updated.

getName

Identifier. Full resource path of the ACL policy.

Returns
Type Description
string

setName

Identifier. Full resource path of the ACL policy.

Parameter
Name Description
var string
Returns
Type Description
$this

getRules

Required. The ACL rules within the ACL policy.

Returns
Type Description
Google\Protobuf\RepeatedField<AclRule>

setRules

Required. The ACL rules within the ACL policy.

Parameter
Name Description
var array<AclRule>
Returns
Type Description
$this

getState

Output only. The state of the ACL policy.

Returns
Type Description
int Enum of type State.

setState

Output only. The state of the ACL policy.

Parameter
Name Description
var int

Enum of type State.

Returns
Type Description
$this

getEtag

Output only. Etag of the ACL policy.

Returns
Type Description
string

hasEtag

clearEtag

setEtag

Output only. Etag of the ACL policy.

Parameter
Name Description
var string
Returns
Type Description
$this

getInstanceAclPolicyAttachments

Output only. The ACL policy attachment status for each attached instance.

Returns
Type Description
Google\Protobuf\RepeatedField<InstanceAclPolicyAttachment>

setInstanceAclPolicyAttachments

Output only. The ACL policy attachment status for each attached instance.

Parameter
Name Description
var array<InstanceAclPolicyAttachment>
Returns
Type Description
$this

getCreateTime

Output only. The timestamp that the ACL policy was created.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Output only. The timestamp that the ACL policy was created.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getUpdateTime

Output only. The timestamp that the ACL policy was last updated.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasUpdateTime

clearUpdateTime

setUpdateTime

Output only. The timestamp that the ACL policy was last updated.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this