Class ProjectsResource.LocationsResource.BackupPlansResource
The "backupPlans" collection of methods.
Inherited Members
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 |
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 |
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 |
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 |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.BackupPlansResource.ListRequest |