Memorystore V1BETA API - Class Google::Cloud::Memorystore::V1beta::AclRule (v0.15.0)

Reference documentation and code samples for the Memorystore V1BETA API class Google::Cloud::Memorystore::V1beta::AclRule.

A single ACL rule which defines the policy for a user.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#rule

def rule() -> ::String
Returns
  • (::String) — Required. The rule to be applied to the username. Ex: "on >password123 ~* +@all" The format of the rule is defined by Valkey OSS: https://valkey.io/topics/acl/

#rule=

def rule=(value) -> ::String
Parameter
  • value (::String) — Required. The rule to be applied to the username. Ex: "on >password123 ~* +@all" The format of the rule is defined by Valkey OSS: https://valkey.io/topics/acl/
Returns
  • (::String) — Required. The rule to be applied to the username. Ex: "on >password123 ~* +@all" The format of the rule is defined by Valkey OSS: https://valkey.io/topics/acl/

#username

def username() -> ::String
Returns
  • (::String) — Required. Specifies the IAM user or service account to be added to the ACL policy. This username will be directly set on the Valkey OSS.

#username=

def username=(value) -> ::String
Parameter
  • value (::String) — Required. Specifies the IAM user or service account to be added to the ACL policy. This username will be directly set on the Valkey OSS.
Returns
  • (::String) — Required. Specifies the IAM user or service account to be added to the ACL policy. This username will be directly set on the Valkey OSS.