public sealed class BackupClusterRequest : IMessage<BackupClusterRequest>, IEquatable<BackupClusterRequest>, IDeepCloneable<BackupClusterRequest>, IBufferMessage, IMessageReference documentation and code samples for the Google Cloud Memorystore for Redis (cluster management) v1 API class BackupClusterRequest.
Request for [BackupCluster].
Implements
IMessageBackupClusterRequest, IEquatableBackupClusterRequest, IDeepCloneableBackupClusterRequest, IBufferMessage, IMessageNamespace
Google.Cloud.Redis.Cluster.V1Assembly
Google.Cloud.Redis.Cluster.V1.dll
Constructors
BackupClusterRequest()
public BackupClusterRequest()BackupClusterRequest(BackupClusterRequest)
public BackupClusterRequest(BackupClusterRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
BackupClusterRequest |
Properties
BackupId
public string BackupId { get; set; }Optional. The id of the backup to be created. If not specified, the default value ([YYYYMMDDHHMMSS]_[Shortened Cluster UID] is used.
| Property Value | |
|---|---|
| Type | Description |
string |
|
ClusterName
public ClusterName ClusterName { get; set; }ClusterName-typed view over the Name resource name property.
| Property Value | |
|---|---|
| Type | Description |
ClusterName |
|
HasBackupId
public bool HasBackupId { get; }Gets whether the "backup_id" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
Name
public string Name { get; set; }Required. Redis cluster resource name using the form:
projects/{project_id}/locations/{location_id}/clusters/{cluster_id}
where location_id refers to a GCP region.
| Property Value | |
|---|---|
| Type | Description |
string |
|
Ttl
public Duration Ttl { get; set; }Optional. TTL for the backup to expire. Value range is 1 day to 100 years. If not specified, the default value is 100 years.
| Property Value | |
|---|---|
| Type | Description |
Duration |
|