public sealed class AclRule : IMessage<AclRule>, IEquatable<AclRule>, IDeepCloneable<AclRule>, IBufferMessage, IMessageReference documentation and code samples for the Google Cloud Memorystore for Redis (cluster management) v1 API class AclRule.
A single ACL rule which defines the policy for a user.
Namespace
Google.Cloud.Redis.Cluster.V1Assembly
Google.Cloud.Redis.Cluster.V1.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 Redis OSS: https://redis.io/docs/latest/operate/oss_and_stack/management/security/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 Redis OSS.
| Property Value | |
|---|---|
| Type | Description |
string |
|