Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.AclPoliciesResource

The "aclPolicies" collection of methods.

Inheritance
object
ProjectsResource.LocationsResource.AclPoliciesResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.CloudRedis.v1beta1
Assembly: Google.Apis.CloudRedis.v1beta1.dll
Syntax
public class ProjectsResource.LocationsResource.AclPoliciesResource

Constructors

AclPoliciesResource(IClientService)

Constructs a new resource.

Declaration
public AclPoliciesResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

Create(AclPolicy, string)

Creates an ACL Policy. The creation is executed synchronously and the policy is available for use immediately after the RPC returns.

Declaration
public virtual ProjectsResource.LocationsResource.AclPoliciesResource.CreateRequest Create(AclPolicy body, string parent)
Parameters
Type Name Description
AclPolicy body

The body of the request.

string parent

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.

Returns
Type Description
ProjectsResource.LocationsResource.AclPoliciesResource.CreateRequest

Delete(string)

Deletes a specific Acl Policy. This action will delete the Acl Policy and all the rules associated with it. An ACL policy cannot be deleted if it is attached to a cluster.

Declaration
public virtual ProjectsResource.LocationsResource.AclPoliciesResource.DeleteRequest Delete(string name)
Parameters
Type Name Description
string name

Required. Redis ACL Policy resource name using the form: projects/{project_id}/locations/{location_id}/aclPolicies/{acl_policy_id} where location_id refers to a GCP region.

Returns
Type Description
ProjectsResource.LocationsResource.AclPoliciesResource.DeleteRequest

Get(string)

Gets the details of a specific Redis Cluster ACL Policy.

Declaration
public virtual ProjectsResource.LocationsResource.AclPoliciesResource.GetRequest Get(string name)
Parameters
Type Name Description
string name

Required. Redis ACL Policy resource name using the form: projects/{project_id}/locations/{location_id}/aclPolicies/{acl_policy_id} where location_id refers to a GCP region.

Returns
Type Description
ProjectsResource.LocationsResource.AclPoliciesResource.GetRequest

List(string)

Lists all ACL Policies owned by a project in either the specified location (region) or all locations. The location should have the following format: * projects/{project_id}/locations/{location_id} If location_id is specified as - (wildcard), then all regions available to the project are queried, and the results are aggregated.

Declaration
public virtual ProjectsResource.LocationsResource.AclPoliciesResource.ListRequest List(string parent)
Parameters
Type Name Description
string parent

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.

Returns
Type Description
ProjectsResource.LocationsResource.AclPoliciesResource.ListRequest

Patch(AclPolicy, string)

Updates the ACL policy. The operation applies the updated ACL policy to all of the linked clusters. If Memorystore can apply the policy to all clusters, then the operation returns a SUCCESS status. If Memorystore can't apply the policy to all clusters, then to ensure eventual consistency, Memorystore uses reconciliation to apply the policy to the failed clusters. Completed longrunning.Operation will contain the new ACL Policy object in the response field.

Declaration
public virtual ProjectsResource.LocationsResource.AclPoliciesResource.PatchRequest Patch(AclPolicy body, string name)
Parameters
Type Name Description
AclPolicy body

The body of the request.

string name

Identifier. Full resource path of the ACL policy.

Returns
Type Description
ProjectsResource.LocationsResource.AclPoliciesResource.PatchRequest
In this article
Back to top Generated by DocFX