public sealed class AclRule : IMessage<AclRule>, IEquatable<AclRule>, IDeepCloneable<AclRule>, IBufferMessage, IMessageReference documentation and code samples for the Memorystore v1beta API class AclRule.
A single ACL rule which defines the policy for a user.
Namespace
Google.Cloud.Memorystore.V1BetaAssembly
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 |
|