Reference documentation and code samples for the Google Cloud Memorystore for Redis V1 API class Google::Cloud::Redis::Cluster::V1::CreateAclPolicyRequest.
Request for CreateAclPolicy.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#acl_policy
def acl_policy() -> ::Google::Cloud::Redis::Cluster::V1::AclPolicy- (::Google::Cloud::Redis::Cluster::V1::AclPolicy) — Required. The ACL policy that is to be created.
#acl_policy=
def acl_policy=(value) -> ::Google::Cloud::Redis::Cluster::V1::AclPolicy- value (::Google::Cloud::Redis::Cluster::V1::AclPolicy) — Required. The ACL policy that is to be created.
- (::Google::Cloud::Redis::Cluster::V1::AclPolicy) — Required. The ACL policy that is to be created.
#acl_policy_id
def acl_policy_id() -> ::String-
(::String) —
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
#acl_policy_id=
def acl_policy_id=(value) -> ::String-
value (::String) —
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) —
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
#parent
def parent() -> ::String-
(::String) — Required. The resource name of the cluster location using the form:
projects/{project_id}/locations/{location_id}wherelocation_idrefers to a Google Cloud region.
#parent=
def parent=(value) -> ::String-
value (::String) — Required. The resource name of the cluster location using the form:
projects/{project_id}/locations/{location_id}wherelocation_idrefers to a Google Cloud region.
-
(::String) — Required. The resource name of the cluster location using the form:
projects/{project_id}/locations/{location_id}wherelocation_idrefers to a Google Cloud region.
#request_id
def request_id() -> ::String- (::String) — Optional. Idempotent request UUID. .
#request_id=
def request_id=(value) -> ::String- value (::String) — Optional. Idempotent request UUID. .
- (::String) — Optional. Idempotent request UUID. .