Reference documentation and code samples for the Google Cloud Memorystore for Redis V1BETA1 API class Google::Cloud::Redis::Cluster::V1beta1::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 Redis OSS: https://redis.io/docs/latest/operate/oss_and_stack/management/security/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 Redis OSS: https://redis.io/docs/latest/operate/oss_and_stack/management/security/acl/
Returns
- (::String) — Required. The rule to be applied to the username. Ex: "on >password123 ~* +@all" The format of the rule is defined by Redis OSS: https://redis.io/docs/latest/operate/oss_and_stack/management/security/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 Redis 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 Redis 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 Redis OSS.