Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.BackupVaultsResource.BackupsResource

The "backups" collection of methods.

Inheritance
object
ProjectsResource.LocationsResource.BackupVaultsResource.BackupsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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 projects/*/locations/*/backupVaults/{backup_vault_id}

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 projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}/backups/{backup_id}

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 projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}/backups/{backup_id}

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 projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}. To retrieve backup information for all locations, use "-" for the {location} value. To retrieve backup information for all backupVaults, use "-" for the {backup_vault_id} value. To retrieve backup information for a volume, use "-" for the {backup_vault_id} value and specify volume full name with the filter.

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: projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}/backups/{backup_id}.

Returns
Type Description
ProjectsResource.LocationsResource.BackupVaultsResource.BackupsResource.PatchRequest
In this article
Back to top Generated by DocFX