Memorystore v1beta API - Class AclRule (1.0.0-beta07)

public sealed class AclRule : IMessage<AclRule>, IEquatable<AclRule>, IDeepCloneable<AclRule>, IBufferMessage, IMessage

Reference documentation and code samples for the Memorystore v1beta API class AclRule.

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

Inheritance

object > AclRule

Namespace

Google.Cloud.Memorystore.V1Beta

Assembly

Google.Cloud.Memorystore.V1Beta.dll

Constructors

AclRule()

public AclRule()

AclRule(AclRule)

public AclRule(AclRule other)
Parameter
Name Description
other AclRule

Properties

Rule

public string Rule { get; set; }

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/

Property Value
Type Description
string

Username

public string Username { get; set; }

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.

Property Value
Type Description
string