Class ProjectsResource.LocationsResource.BackupVaultsResource.BackupsResource
The "backups" collection of methods.
Inherited Members
Namespace: Google.Apis.NetAppFiles.v1
Assembly: Google.Apis.NetAppFiles.v1.dll
Syntax
public class ProjectsResource.LocationsResource.BackupVaultsResource.BackupsResource
Constructors
BackupsResource(IClientService)
Constructs a new resource.
Declaration
public BackupsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(Backup, string)
Creates a backup from the volume specified in the request The backup can be created from the given snapshot if specified in the request. If no snapshot specified, there'll be a new snapshot taken to initiate the backup creation.
Declaration
public virtual ProjectsResource.LocationsResource.BackupVaultsResource.BackupsResource.CreateRequest Create(Backup body, string parent)
Parameters
Type | Name | Description |
---|---|---|
Backup | body | The body of the request. |
string | parent | Required. The NetApp backupVault to create the backups of, in the format
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.BackupVaultsResource.BackupsResource.CreateRequest |
Delete(string)
Warning! This operation will permanently delete the backup.
Declaration
public virtual ProjectsResource.LocationsResource.BackupVaultsResource.BackupsResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The backup resource name, in the format
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.BackupVaultsResource.BackupsResource.DeleteRequest |
Get(string)
Returns the description of the specified backup
Declaration
public virtual ProjectsResource.LocationsResource.BackupVaultsResource.BackupsResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The backup resource name, in the format
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.BackupVaultsResource.BackupsResource.GetRequest |
List(string)
Returns descriptions of all backups for a backupVault.
Declaration
public virtual ProjectsResource.LocationsResource.BackupVaultsResource.BackupsResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The backupVault for which to retrieve backup information, in the format
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.BackupVaultsResource.BackupsResource.ListRequest |
Patch(Backup, string)
Update backup with full spec.
Declaration
public virtual ProjectsResource.LocationsResource.BackupVaultsResource.BackupsResource.PatchRequest Patch(Backup body, string name)
Parameters
Type | Name | Description |
---|---|---|
Backup | body | The body of the request. |
string | name | Identifier. The resource name of the backup. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.BackupVaultsResource.BackupsResource.PatchRequest |