public interface AclRuleOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getRule()
public abstract String getRule()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/
string rule = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The rule. |
getRuleBytes()
public abstract ByteString getRuleBytes()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/
string rule = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for rule. |
getUsername()
public abstract String getUsername()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.
string username = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The username. |
getUsernameBytes()
public abstract ByteString getUsernameBytes()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.
string username = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for username. |