public interface CreateAclPolicyRequestOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getAclPolicy()
public abstract AclPolicy getAclPolicy()Required. The ACL policy that is to be created.
.google.cloud.redis.cluster.v1beta1.AclPolicy acl_policy = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
AclPolicy |
The aclPolicy. |
getAclPolicyId()
public abstract String getAclPolicyId()Required. The logical name of the ACL policy in the customer project with the following restrictions:
- Must contain only lowercase letters, numbers, and hyphens.
- Must start with a letter.
- Must be between 1-63 characters.
- Must end with a number or a letter.
- Must be unique within the customer project / location
string acl_policy_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The aclPolicyId. |
getAclPolicyIdBytes()
public abstract ByteString getAclPolicyIdBytes()Required. The logical name of the ACL policy in the customer project with the following restrictions:
- Must contain only lowercase letters, numbers, and hyphens.
- Must start with a letter.
- Must be between 1-63 characters.
- Must end with a number or a letter.
- Must be unique within the customer project / location
string acl_policy_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for aclPolicyId. |
getAclPolicyOrBuilder()
public abstract AclPolicyOrBuilder getAclPolicyOrBuilder()Required. The ACL policy that is to be created.
.google.cloud.redis.cluster.v1beta1.AclPolicy acl_policy = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
AclPolicyOrBuilder |
|
getParent()
public abstract String getParent() Required. The resource name of the cluster location using the form:
projects/{project_id}/locations/{location_id}
where location_id refers to a Google Cloud region.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The parent. |
getParentBytes()
public abstract ByteString getParentBytes() Required. The resource name of the cluster location using the form:
projects/{project_id}/locations/{location_id}
where location_id refers to a Google Cloud region.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |
getRequestId()
public abstract String getRequestId()Optional. Idempotent request UUID. .
string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The requestId. |
getRequestIdBytes()
public abstract ByteString getRequestIdBytes()Optional. Idempotent request UUID. .
string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for requestId. |
hasAclPolicy()
public abstract boolean hasAclPolicy()Required. The ACL policy that is to be created.
.google.cloud.redis.cluster.v1beta1.AclPolicy acl_policy = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the aclPolicy field is set. |