Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.BackupPlansResource

The "backupPlans" collection of methods.

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

Constructors

BackupPlansResource(IClientService)

Constructs a new resource.

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

Methods

Create(BackupPlan, string)

Create a BackupPlan

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

The body of the request.

string parent

Required. The BackupPlan project and location in the format projects/{project}/locations/{location}. In Cloud BackupDR locations map to GCP regions, for example us-central1.

Returns
Type Description
ProjectsResource.LocationsResource.BackupPlansResource.CreateRequest

Delete(string)

Deletes a single BackupPlan.

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

Required. The resource name of the BackupPlan to delete. Format: projects/{project}/locations/{location}/backupPlans/{backup_plan}

Returns
Type Description
ProjectsResource.LocationsResource.BackupPlansResource.DeleteRequest

Get(string)

Gets details of a single BackupPlan.

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

Required. The resource name of the BackupPlan to retrieve. Format: projects/{project}/locations/{location}/backupPlans/{backup_plan}

Returns
Type Description
ProjectsResource.LocationsResource.BackupPlansResource.GetRequest

List(string)

Lists BackupPlans in a given project and location.

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

Required. The project and location for which to retrieve BackupPlans information. Format: projects/{project}/locations/{location}. In Cloud BackupDR, locations map to GCP regions, for e.g. us-central1. To retrieve backup plans for all locations, use "-" for the {location} value.

Returns
Type Description
ProjectsResource.LocationsResource.BackupPlansResource.ListRequest
In this article
Back to top Generated by DocFX