Class ProjectsResource.LocationsResource.ClustersResource.BackupRequest
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.
Inheritance
Inherited Members
Namespace: Google.Apis.CloudRedis.v1
Assembly: Google.Apis.CloudRedis.v1.dll
Syntax
public class ProjectsResource.LocationsResource.ClustersResource.BackupRequest : CloudRedisBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest
Constructors
BackupRequest(IClientService, BackupClusterRequest, string)
Constructs a new Backup request.
Declaration
public BackupRequest(IClientService service, BackupClusterRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
BackupClusterRequest | body | |
string | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Name
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.
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Backup parameter list.
Declaration
protected override void InitParameters()