Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.BackupsResource

The "backups" collection of methods.

Inheritance
object
ProjectsResource.LocationsResource.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.CloudFilestore.v1beta1
Assembly: Google.Apis.CloudFilestore.v1beta1.dll
Syntax
public class ProjectsResource.LocationsResource.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.

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

The body of the request.

string parent

Required. The backup's project and location, in the format projects/{project_id}/locations/{location}. In Filestore, backup locations map to Google Cloud regions, for example us-west1.

Returns
Type Description
ProjectsResource.LocationsResource.BackupsResource.CreateRequest

Delete(string)

Deletes a backup.

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

Required. The backup resource name, in the format projects/{project_id}/locations/{location}/backups/{backup_id}

Returns
Type Description
ProjectsResource.LocationsResource.BackupsResource.DeleteRequest

Get(string)

Gets the details of a specific backup.

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

Required. The backup resource name, in the format projects/{project_id}/locations/{location}/backups/{backup_id}.

Returns
Type Description
ProjectsResource.LocationsResource.BackupsResource.GetRequest

List(string)

Lists all backups in a project for either a specified location or for all locations.

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

Required. The project and location for which to retrieve backup information, in the format projects/{project_id}/locations/{location}. In Filestore, backup locations map to Google Cloud regions, for example us-west1. To retrieve backup information for all locations, use "-" for the {location} value.

Returns
Type Description
ProjectsResource.LocationsResource.BackupsResource.ListRequest

Patch(Backup, string)

Updates the settings of a specific backup.

Declaration
public virtual ProjectsResource.LocationsResource.BackupsResource.PatchRequest Patch(Backup body, string name)
Parameters
Type Name Description
Backup body

The body of the request.

string name

Output only. The resource name of the backup, in the format projects/{project_id}/locations/{location_id}/backups/{backup_id}.

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