public sealed class CloudRedisClusterClientImpl : CloudRedisClusterClientReference documentation and code samples for the Google Cloud Memorystore for Redis (cluster management) v1 API class CloudRedisClusterClientImpl.
CloudRedisCluster client wrapper implementation, for convenient use.
Namespace
Google.Cloud.Redis.Cluster.V1Assembly
Google.Cloud.Redis.Cluster.V1.dll
Remarks
Configures and manages Cloud Memorystore for Redis clusters
Google Cloud Memorystore for Redis Cluster
The redis.googleapis.com service implements the Google Cloud Memorystore
for Redis API and defines the following resource model for managing Redis
clusters:
- The service works with a collection of cloud projects, named:
/projects/* - Each project has a collection of available locations, named:
/locations/* - Each location has a collection of Redis clusters, named:
/clusters/* - As such, Redis clusters are resources of the form:
/projects/{project_id}/locations/{location_id}/clusters/{instance_id}
Note that location_id must be a GCP region; for example:
projects/redpepper-1290/locations/us-central1/clusters/my-redis
Constructors
CloudRedisClusterClientImpl(CloudRedisClusterClient, CloudRedisClusterSettings, ILogger)
public CloudRedisClusterClientImpl(CloudRedisCluster.CloudRedisClusterClient grpcClient, CloudRedisClusterSettings settings, ILogger logger)Constructs a client wrapper for the CloudRedisCluster service, with the specified gRPC client and settings.
| Parameters | |
|---|---|
| Name | Description |
grpcClient |
CloudRedisClusterCloudRedisClusterClientThe underlying gRPC client. |
settings |
CloudRedisClusterSettingsThe base CloudRedisClusterSettings used within this client. |
logger |
ILoggerOptional ILogger to use within this client. |
Properties
AddAuthTokenOperationsClient
public override OperationsClient AddAuthTokenOperationsClient { get; }The long-running operations client for AddAuthToken.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
AddTokenAuthUserOperationsClient
public override OperationsClient AddTokenAuthUserOperationsClient { get; }The long-running operations client for AddTokenAuthUser.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
BackupClusterOperationsClient
public override OperationsClient BackupClusterOperationsClient { get; }The long-running operations client for BackupCluster.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
CreateClusterOperationsClient
public override OperationsClient CreateClusterOperationsClient { get; }The long-running operations client for CreateCluster.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
DeleteAclPolicyOperationsClient
public override OperationsClient DeleteAclPolicyOperationsClient { get; }The long-running operations client for DeleteAclPolicy.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
DeleteAuthTokenOperationsClient
public override OperationsClient DeleteAuthTokenOperationsClient { get; }The long-running operations client for DeleteAuthToken.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
DeleteBackupOperationsClient
public override OperationsClient DeleteBackupOperationsClient { get; }The long-running operations client for DeleteBackup.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
DeleteClusterOperationsClient
public override OperationsClient DeleteClusterOperationsClient { get; }The long-running operations client for DeleteCluster.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
DeleteTokenAuthUserOperationsClient
public override OperationsClient DeleteTokenAuthUserOperationsClient { get; }The long-running operations client for DeleteTokenAuthUser.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
ExportBackupOperationsClient
public override OperationsClient ExportBackupOperationsClient { get; }The long-running operations client for ExportBackup.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
GrpcClient
public override CloudRedisCluster.CloudRedisClusterClient GrpcClient { get; }The underlying gRPC CloudRedisCluster client
| Property Value | |
|---|---|
| Type | Description |
CloudRedisClusterCloudRedisClusterClient |
|
LocationsClient
public override LocationsClient LocationsClient { get; }The LocationsClient associated with this client.
| Property Value | |
|---|---|
| Type | Description |
LocationsClient |
|
RescheduleClusterMaintenanceOperationsClient
public override OperationsClient RescheduleClusterMaintenanceOperationsClient { get; }The long-running operations client for RescheduleClusterMaintenance.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
UpdateAclPolicyOperationsClient
public override OperationsClient UpdateAclPolicyOperationsClient { get; }The long-running operations client for UpdateAclPolicy.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
UpdateClusterOperationsClient
public override OperationsClient UpdateClusterOperationsClient { get; }The long-running operations client for UpdateCluster.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
Methods
AddAuthToken(AddAuthTokenRequest, CallSettings)
public override Operation<TokenAuthUser, OperationMetadata> AddAuthToken(AddAuthTokenRequest request, CallSettings callSettings = null)Adds a auth token for a user of a token based auth enabled cluster.
| Parameters | |
|---|---|
| Name | Description |
request |
AddAuthTokenRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationTokenAuthUserOperationMetadata |
The RPC response. |
AddAuthTokenAsync(AddAuthTokenRequest, CallSettings)
public override Task<Operation<TokenAuthUser, OperationMetadata>> AddAuthTokenAsync(AddAuthTokenRequest request, CallSettings callSettings = null)Adds a auth token for a user of a token based auth enabled cluster.
| Parameters | |
|---|---|
| Name | Description |
request |
AddAuthTokenRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationTokenAuthUserOperationMetadata |
A Task containing the RPC response. |
AddTokenAuthUser(AddTokenAuthUserRequest, CallSettings)
public override Operation<Cluster, OperationMetadata> AddTokenAuthUser(AddTokenAuthUserRequest request, CallSettings callSettings = null)Adds a token auth user for a token based auth enabled cluster.
| Parameters | |
|---|---|
| Name | Description |
request |
AddTokenAuthUserRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationClusterOperationMetadata |
The RPC response. |
AddTokenAuthUserAsync(AddTokenAuthUserRequest, CallSettings)
public override Task<Operation<Cluster, OperationMetadata>> AddTokenAuthUserAsync(AddTokenAuthUserRequest request, CallSettings callSettings = null)Adds a token auth user for a token based auth enabled cluster.
| Parameters | |
|---|---|
| Name | Description |
request |
AddTokenAuthUserRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationClusterOperationMetadata |
A Task containing the RPC response. |
BackupCluster(BackupClusterRequest, CallSettings)
public override Operation<Cluster, Any> BackupCluster(BackupClusterRequest request, CallSettings callSettings = null)Backup Redis Cluster. If this is the first time a backup is being created, a backup collection will be created at the backend, and this backup belongs to this collection. Both collection and backup will have a resource name. Backup will be executed for each shard. A replica (primary if nonHA) will be selected to perform the execution. Backup call will be rejected if there is an ongoing backup or update operation. Be aware that during preview, if the cluster's internal software version is too old, critical update will be performed before actual backup. Once the internal software version is updated to the minimum version required by the backup feature, subsequent backups will not require critical update. After preview, there will be no critical update needed for backup.
| Parameters | |
|---|---|
| Name | Description |
request |
BackupClusterRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationClusterAny |
The RPC response. |
BackupClusterAsync(BackupClusterRequest, CallSettings)
public override Task<Operation<Cluster, Any>> BackupClusterAsync(BackupClusterRequest request, CallSettings callSettings = null)Backup Redis Cluster. If this is the first time a backup is being created, a backup collection will be created at the backend, and this backup belongs to this collection. Both collection and backup will have a resource name. Backup will be executed for each shard. A replica (primary if nonHA) will be selected to perform the execution. Backup call will be rejected if there is an ongoing backup or update operation. Be aware that during preview, if the cluster's internal software version is too old, critical update will be performed before actual backup. Once the internal software version is updated to the minimum version required by the backup feature, subsequent backups will not require critical update. After preview, there will be no critical update needed for backup.
| Parameters | |
|---|---|
| Name | Description |
request |
BackupClusterRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationClusterAny |
A Task containing the RPC response. |
CreateAclPolicy(CreateAclPolicyRequest, CallSettings)
public override AclPolicy CreateAclPolicy(CreateAclPolicyRequest request, CallSettings callSettings = null)Creates an ACL policy. The creation is executed synchronously and the policy is available for use immediately after the RPC returns.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateAclPolicyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
AclPolicy |
The RPC response. |
CreateAclPolicyAsync(CreateAclPolicyRequest, CallSettings)
public override Task<AclPolicy> CreateAclPolicyAsync(CreateAclPolicyRequest request, CallSettings callSettings = null)Creates an ACL policy. The creation is executed synchronously and the policy is available for use immediately after the RPC returns.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateAclPolicyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskAclPolicy |
A Task containing the RPC response. |
CreateCluster(CreateClusterRequest, CallSettings)
public override Operation<Cluster, Any> CreateCluster(CreateClusterRequest request, CallSettings callSettings = null)Creates a Redis cluster based on the specified properties. The creation is executed asynchronously and callers may check the returned operation to track its progress. Once the operation is completed the Redis cluster will be fully functional. The completed longrunning.Operation will contain the new cluster object in the response field.
The returned operation is automatically deleted after a few hours, so there is no need to call DeleteOperation.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateClusterRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationClusterAny |
The RPC response. |
CreateClusterAsync(CreateClusterRequest, CallSettings)
public override Task<Operation<Cluster, Any>> CreateClusterAsync(CreateClusterRequest request, CallSettings callSettings = null)Creates a Redis cluster based on the specified properties. The creation is executed asynchronously and callers may check the returned operation to track its progress. Once the operation is completed the Redis cluster will be fully functional. The completed longrunning.Operation will contain the new cluster object in the response field.
The returned operation is automatically deleted after a few hours, so there is no need to call DeleteOperation.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateClusterRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationClusterAny |
A Task containing the RPC response. |
DeleteAclPolicy(DeleteAclPolicyRequest, CallSettings)
public override Operation<Empty, OperationMetadata> DeleteAclPolicy(DeleteAclPolicyRequest request, CallSettings callSettings = null)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.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteAclPolicyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The RPC response. |
DeleteAclPolicyAsync(DeleteAclPolicyRequest, CallSettings)
public override Task<Operation<Empty, OperationMetadata>> DeleteAclPolicyAsync(DeleteAclPolicyRequest request, CallSettings callSettings = null)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.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteAclPolicyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
DeleteAuthToken(DeleteAuthTokenRequest, CallSettings)
public override Operation<Empty, OperationMetadata> DeleteAuthToken(DeleteAuthTokenRequest request, CallSettings callSettings = null)Removes a auth token for a user of a token based auth enabled instance.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteAuthTokenRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The RPC response. |
DeleteAuthTokenAsync(DeleteAuthTokenRequest, CallSettings)
public override Task<Operation<Empty, OperationMetadata>> DeleteAuthTokenAsync(DeleteAuthTokenRequest request, CallSettings callSettings = null)Removes a auth token for a user of a token based auth enabled instance.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteAuthTokenRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
DeleteBackup(DeleteBackupRequest, CallSettings)
public override Operation<Empty, Any> DeleteBackup(DeleteBackupRequest request, CallSettings callSettings = null)Deletes a specific backup.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteBackupRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyAny |
The RPC response. |
DeleteBackupAsync(DeleteBackupRequest, CallSettings)
public override Task<Operation<Empty, Any>> DeleteBackupAsync(DeleteBackupRequest request, CallSettings callSettings = null)Deletes a specific backup.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteBackupRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyAny |
A Task containing the RPC response. |
DeleteCluster(DeleteClusterRequest, CallSettings)
public override Operation<Empty, Any> DeleteCluster(DeleteClusterRequest request, CallSettings callSettings = null)Deletes a specific Redis cluster. Cluster stops serving and data is deleted.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteClusterRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyAny |
The RPC response. |
DeleteClusterAsync(DeleteClusterRequest, CallSettings)
public override Task<Operation<Empty, Any>> DeleteClusterAsync(DeleteClusterRequest request, CallSettings callSettings = null)Deletes a specific Redis cluster. Cluster stops serving and data is deleted.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteClusterRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyAny |
A Task containing the RPC response. |
DeleteTokenAuthUser(DeleteTokenAuthUserRequest, CallSettings)
public override Operation<Empty, OperationMetadata> DeleteTokenAuthUser(DeleteTokenAuthUserRequest request, CallSettings callSettings = null)Deletes a token auth user for a token based auth enabled cluster.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteTokenAuthUserRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The RPC response. |
DeleteTokenAuthUserAsync(DeleteTokenAuthUserRequest, CallSettings)
public override Task<Operation<Empty, OperationMetadata>> DeleteTokenAuthUserAsync(DeleteTokenAuthUserRequest request, CallSettings callSettings = null)Deletes a token auth user for a token based auth enabled cluster.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteTokenAuthUserRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
ExportBackup(ExportBackupRequest, CallSettings)
public override Operation<Backup, Any> ExportBackup(ExportBackupRequest request, CallSettings callSettings = null)Exports a specific backup to a customer target Cloud Storage URI.
| Parameters | |
|---|---|
| Name | Description |
request |
ExportBackupRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationBackupAny |
The RPC response. |
ExportBackupAsync(ExportBackupRequest, CallSettings)
public override Task<Operation<Backup, Any>> ExportBackupAsync(ExportBackupRequest request, CallSettings callSettings = null)Exports a specific backup to a customer target Cloud Storage URI.
| Parameters | |
|---|---|
| Name | Description |
request |
ExportBackupRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationBackupAny |
A Task containing the RPC response. |
GetAclPolicy(GetAclPolicyRequest, CallSettings)
public override AclPolicy GetAclPolicy(GetAclPolicyRequest request, CallSettings callSettings = null)Gets the details of a specific Redis Cluster ACL policy.
| Parameters | |
|---|---|
| Name | Description |
request |
GetAclPolicyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
AclPolicy |
The RPC response. |
GetAclPolicyAsync(GetAclPolicyRequest, CallSettings)
public override Task<AclPolicy> GetAclPolicyAsync(GetAclPolicyRequest request, CallSettings callSettings = null)Gets the details of a specific Redis Cluster ACL policy.
| Parameters | |
|---|---|
| Name | Description |
request |
GetAclPolicyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskAclPolicy |
A Task containing the RPC response. |
GetAclPolicyRevision(GetAclPolicyRevisionRequest, CallSettings)
public override AclPolicyRevision GetAclPolicyRevision(GetAclPolicyRevisionRequest request, CallSettings callSettings = null)Gets details of a specific ACL policy revision.
| Parameters | |
|---|---|
| Name | Description |
request |
GetAclPolicyRevisionRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
AclPolicyRevision |
The RPC response. |
GetAclPolicyRevisionAsync(GetAclPolicyRevisionRequest, CallSettings)
public override Task<AclPolicyRevision> GetAclPolicyRevisionAsync(GetAclPolicyRevisionRequest request, CallSettings callSettings = null)Gets details of a specific ACL policy revision.
| Parameters | |
|---|---|
| Name | Description |
request |
GetAclPolicyRevisionRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskAclPolicyRevision |
A Task containing the RPC response. |
GetAuthToken(GetAuthTokenRequest, CallSettings)
public override AuthToken GetAuthToken(GetAuthTokenRequest request, CallSettings callSettings = null)Gets a specific auth token for a specific token auth user.
| Parameters | |
|---|---|
| Name | Description |
request |
GetAuthTokenRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
AuthToken |
The RPC response. |
GetAuthTokenAsync(GetAuthTokenRequest, CallSettings)
public override Task<AuthToken> GetAuthTokenAsync(GetAuthTokenRequest request, CallSettings callSettings = null)Gets a specific auth token for a specific token auth user.
| Parameters | |
|---|---|
| Name | Description |
request |
GetAuthTokenRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskAuthToken |
A Task containing the RPC response. |
GetBackup(GetBackupRequest, CallSettings)
public override Backup GetBackup(GetBackupRequest request, CallSettings callSettings = null)Gets the details of a specific backup.
| Parameters | |
|---|---|
| Name | Description |
request |
GetBackupRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Backup |
The RPC response. |
GetBackupAsync(GetBackupRequest, CallSettings)
public override Task<Backup> GetBackupAsync(GetBackupRequest request, CallSettings callSettings = null)Gets the details of a specific backup.
| Parameters | |
|---|---|
| Name | Description |
request |
GetBackupRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskBackup |
A Task containing the RPC response. |
GetBackupCollection(GetBackupCollectionRequest, CallSettings)
public override BackupCollection GetBackupCollection(GetBackupCollectionRequest request, CallSettings callSettings = null)Get a backup collection.
| Parameters | |
|---|---|
| Name | Description |
request |
GetBackupCollectionRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
BackupCollection |
The RPC response. |
GetBackupCollectionAsync(GetBackupCollectionRequest, CallSettings)
public override Task<BackupCollection> GetBackupCollectionAsync(GetBackupCollectionRequest request, CallSettings callSettings = null)Get a backup collection.
| Parameters | |
|---|---|
| Name | Description |
request |
GetBackupCollectionRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskBackupCollection |
A Task containing the RPC response. |
GetCluster(GetClusterRequest, CallSettings)
public override Cluster GetCluster(GetClusterRequest request, CallSettings callSettings = null)Gets the details of a specific Redis cluster.
| Parameters | |
|---|---|
| Name | Description |
request |
GetClusterRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Cluster |
The RPC response. |
GetClusterAsync(GetClusterRequest, CallSettings)
public override Task<Cluster> GetClusterAsync(GetClusterRequest request, CallSettings callSettings = null)Gets the details of a specific Redis cluster.
| Parameters | |
|---|---|
| Name | Description |
request |
GetClusterRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskCluster |
A Task containing the RPC response. |
GetClusterCertificateAuthority(GetClusterCertificateAuthorityRequest, CallSettings)
public override CertificateAuthority GetClusterCertificateAuthority(GetClusterCertificateAuthorityRequest request, CallSettings callSettings = null)Gets the details of certificate authority information for Redis cluster.
| Parameters | |
|---|---|
| Name | Description |
request |
GetClusterCertificateAuthorityRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
CertificateAuthority |
The RPC response. |
GetClusterCertificateAuthorityAsync(GetClusterCertificateAuthorityRequest, CallSettings)
public override Task<CertificateAuthority> GetClusterCertificateAuthorityAsync(GetClusterCertificateAuthorityRequest request, CallSettings callSettings = null)Gets the details of certificate authority information for Redis cluster.
| Parameters | |
|---|---|
| Name | Description |
request |
GetClusterCertificateAuthorityRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskCertificateAuthority |
A Task containing the RPC response. |
GetSharedRegionalCertificateAuthority(GetSharedRegionalCertificateAuthorityRequest, CallSettings)
public override SharedRegionalCertificateAuthority GetSharedRegionalCertificateAuthority(GetSharedRegionalCertificateAuthorityRequest request, CallSettings callSettings = null)Gets the details of regional certificate authority information for Redis cluster.
| Parameters | |
|---|---|
| Name | Description |
request |
GetSharedRegionalCertificateAuthorityRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
SharedRegionalCertificateAuthority |
The RPC response. |
GetSharedRegionalCertificateAuthorityAsync(GetSharedRegionalCertificateAuthorityRequest, CallSettings)
public override Task<SharedRegionalCertificateAuthority> GetSharedRegionalCertificateAuthorityAsync(GetSharedRegionalCertificateAuthorityRequest request, CallSettings callSettings = null)Gets the details of regional certificate authority information for Redis cluster.
| Parameters | |
|---|---|
| Name | Description |
request |
GetSharedRegionalCertificateAuthorityRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskSharedRegionalCertificateAuthority |
A Task containing the RPC response. |
GetTokenAuthUser(GetTokenAuthUserRequest, CallSettings)
public override TokenAuthUser GetTokenAuthUser(GetTokenAuthUserRequest request, CallSettings callSettings = null)Gets a specific token auth user for a basic auth enabled cluster.
| Parameters | |
|---|---|
| Name | Description |
request |
GetTokenAuthUserRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TokenAuthUser |
The RPC response. |
GetTokenAuthUserAsync(GetTokenAuthUserRequest, CallSettings)
public override Task<TokenAuthUser> GetTokenAuthUserAsync(GetTokenAuthUserRequest request, CallSettings callSettings = null)Gets a specific token auth user for a basic auth enabled cluster.
| Parameters | |
|---|---|
| Name | Description |
request |
GetTokenAuthUserRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskTokenAuthUser |
A Task containing the RPC response. |
ListAclPolicies(ListAclPoliciesRequest, CallSettings)
public override PagedEnumerable<ListAclPoliciesResponse, AclPolicy> ListAclPolicies(ListAclPoliciesRequest request, CallSettings callSettings = null)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.
| Parameters | |
|---|---|
| Name | Description |
request |
ListAclPoliciesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListAclPoliciesResponseAclPolicy |
A pageable sequence of AclPolicy resources. |
ListAclPoliciesAsync(ListAclPoliciesRequest, CallSettings)
public override PagedAsyncEnumerable<ListAclPoliciesResponse, AclPolicy> ListAclPoliciesAsync(ListAclPoliciesRequest request, CallSettings callSettings = null)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.
| Parameters | |
|---|---|
| Name | Description |
request |
ListAclPoliciesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListAclPoliciesResponseAclPolicy |
A pageable asynchronous sequence of AclPolicy resources. |
ListAclPolicyRevisions(ListAclPolicyRevisionsRequest, CallSettings)
public override PagedEnumerable<ListAclPolicyRevisionsResponse, AclPolicyRevision> ListAclPolicyRevisions(ListAclPolicyRevisionsRequest request, CallSettings callSettings = null)Lists all ACL policy revisions in a given ACL policy.
| Parameters | |
|---|---|
| Name | Description |
request |
ListAclPolicyRevisionsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListAclPolicyRevisionsResponseAclPolicyRevision |
A pageable sequence of AclPolicyRevision resources. |
ListAclPolicyRevisionsAsync(ListAclPolicyRevisionsRequest, CallSettings)
public override PagedAsyncEnumerable<ListAclPolicyRevisionsResponse, AclPolicyRevision> ListAclPolicyRevisionsAsync(ListAclPolicyRevisionsRequest request, CallSettings callSettings = null)Lists all ACL policy revisions in a given ACL policy.
| Parameters | |
|---|---|
| Name | Description |
request |
ListAclPolicyRevisionsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListAclPolicyRevisionsResponseAclPolicyRevision |
A pageable asynchronous sequence of AclPolicyRevision resources. |
ListAuthTokens(ListAuthTokensRequest, CallSettings)
public override PagedEnumerable<ListAuthTokensResponse, AuthToken> ListAuthTokens(ListAuthTokensRequest request, CallSettings callSettings = null)Lists all the auth tokens for a specific token auth user.
| Parameters | |
|---|---|
| Name | Description |
request |
ListAuthTokensRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListAuthTokensResponseAuthToken |
A pageable sequence of AuthToken resources. |
ListAuthTokensAsync(ListAuthTokensRequest, CallSettings)
public override PagedAsyncEnumerable<ListAuthTokensResponse, AuthToken> ListAuthTokensAsync(ListAuthTokensRequest request, CallSettings callSettings = null)Lists all the auth tokens for a specific token auth user.
| Parameters | |
|---|---|
| Name | Description |
request |
ListAuthTokensRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListAuthTokensResponseAuthToken |
A pageable asynchronous sequence of AuthToken resources. |
ListBackupCollections(ListBackupCollectionsRequest, CallSettings)
public override PagedEnumerable<ListBackupCollectionsResponse, BackupCollection> ListBackupCollections(ListBackupCollectionsRequest request, CallSettings callSettings = null)Lists all backup collections owned by a consumer project in either the specified location (region) or all locations.
If location_id is specified as - (wildcard), then all regions
available to the project are queried, and the results are aggregated.
| Parameters | |
|---|---|
| Name | Description |
request |
ListBackupCollectionsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListBackupCollectionsResponseBackupCollection |
A pageable sequence of BackupCollection resources. |
ListBackupCollectionsAsync(ListBackupCollectionsRequest, CallSettings)
public override PagedAsyncEnumerable<ListBackupCollectionsResponse, BackupCollection> ListBackupCollectionsAsync(ListBackupCollectionsRequest request, CallSettings callSettings = null)Lists all backup collections owned by a consumer project in either the specified location (region) or all locations.
If location_id is specified as - (wildcard), then all regions
available to the project are queried, and the results are aggregated.
| Parameters | |
|---|---|
| Name | Description |
request |
ListBackupCollectionsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListBackupCollectionsResponseBackupCollection |
A pageable asynchronous sequence of BackupCollection resources. |
ListBackups(ListBackupsRequest, CallSettings)
public override PagedEnumerable<ListBackupsResponse, Backup> ListBackups(ListBackupsRequest request, CallSettings callSettings = null)Lists all backups owned by a backup collection.
| Parameters | |
|---|---|
| Name | Description |
request |
ListBackupsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListBackupsResponseBackup |
A pageable sequence of Backup resources. |
ListBackupsAsync(ListBackupsRequest, CallSettings)
public override PagedAsyncEnumerable<ListBackupsResponse, Backup> ListBackupsAsync(ListBackupsRequest request, CallSettings callSettings = null)Lists all backups owned by a backup collection.
| Parameters | |
|---|---|
| Name | Description |
request |
ListBackupsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListBackupsResponseBackup |
A pageable asynchronous sequence of Backup resources. |
ListClusters(ListClustersRequest, CallSettings)
public override PagedEnumerable<ListClustersResponse, Cluster> ListClusters(ListClustersRequest request, CallSettings callSettings = null)Lists all Redis clusters 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.
| Parameters | |
|---|---|
| Name | Description |
request |
ListClustersRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListClustersResponseCluster |
A pageable sequence of Cluster resources. |
ListClustersAsync(ListClustersRequest, CallSettings)
public override PagedAsyncEnumerable<ListClustersResponse, Cluster> ListClustersAsync(ListClustersRequest request, CallSettings callSettings = null)Lists all Redis clusters 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.
| Parameters | |
|---|---|
| Name | Description |
request |
ListClustersRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListClustersResponseCluster |
A pageable asynchronous sequence of Cluster resources. |
ListTokenAuthUsers(ListTokenAuthUsersRequest, CallSettings)
public override PagedEnumerable<ListTokenAuthUsersResponse, TokenAuthUser> ListTokenAuthUsers(ListTokenAuthUsersRequest request, CallSettings callSettings = null)Lists all the token auth users for a token based auth enabled cluster.
| Parameters | |
|---|---|
| Name | Description |
request |
ListTokenAuthUsersRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListTokenAuthUsersResponseTokenAuthUser |
A pageable sequence of TokenAuthUser resources. |
ListTokenAuthUsersAsync(ListTokenAuthUsersRequest, CallSettings)
public override PagedAsyncEnumerable<ListTokenAuthUsersResponse, TokenAuthUser> ListTokenAuthUsersAsync(ListTokenAuthUsersRequest request, CallSettings callSettings = null)Lists all the token auth users for a token based auth enabled cluster.
| Parameters | |
|---|---|
| Name | Description |
request |
ListTokenAuthUsersRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListTokenAuthUsersResponseTokenAuthUser |
A pageable asynchronous sequence of TokenAuthUser resources. |
RescheduleClusterMaintenance(RescheduleClusterMaintenanceRequest, CallSettings)
public override Operation<Cluster, Any> RescheduleClusterMaintenance(RescheduleClusterMaintenanceRequest request, CallSettings callSettings = null)Reschedules upcoming maintenance event.
| Parameters | |
|---|---|
| Name | Description |
request |
RescheduleClusterMaintenanceRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationClusterAny |
The RPC response. |
RescheduleClusterMaintenanceAsync(RescheduleClusterMaintenanceRequest, CallSettings)
public override Task<Operation<Cluster, Any>> RescheduleClusterMaintenanceAsync(RescheduleClusterMaintenanceRequest request, CallSettings callSettings = null)Reschedules upcoming maintenance event.
| Parameters | |
|---|---|
| Name | Description |
request |
RescheduleClusterMaintenanceRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationClusterAny |
A Task containing the RPC response. |
UpdateAclPolicy(UpdateAclPolicyRequest, CallSettings)
public override Operation<AclPolicy, OperationMetadata> UpdateAclPolicy(UpdateAclPolicyRequest request, CallSettings callSettings = null)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.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateAclPolicyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationAclPolicyOperationMetadata |
The RPC response. |
UpdateAclPolicyAsync(UpdateAclPolicyRequest, CallSettings)
public override Task<Operation<AclPolicy, OperationMetadata>> UpdateAclPolicyAsync(UpdateAclPolicyRequest request, CallSettings callSettings = null)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.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateAclPolicyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAclPolicyOperationMetadata |
A Task containing the RPC response. |
UpdateCluster(UpdateClusterRequest, CallSettings)
public override Operation<Cluster, Any> UpdateCluster(UpdateClusterRequest request, CallSettings callSettings = null)Updates the metadata and configuration of a specific Redis cluster.
Completed longrunning.Operation will contain the new cluster object in the response field. The returned operation is automatically deleted after a few hours, so there is no need to call DeleteOperation.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateClusterRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationClusterAny |
The RPC response. |
UpdateClusterAsync(UpdateClusterRequest, CallSettings)
public override Task<Operation<Cluster, Any>> UpdateClusterAsync(UpdateClusterRequest request, CallSettings callSettings = null)Updates the metadata and configuration of a specific Redis cluster.
Completed longrunning.Operation will contain the new cluster object in the response field. The returned operation is automatically deleted after a few hours, so there is no need to call DeleteOperation.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateClusterRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationClusterAny |
A Task containing the RPC response. |