Class ProjectsResource.LocationsResource.BackupsResource
The "backups" collection of methods.
Inherited Members
Namespace: Google.Apis.CloudFilestore.v1
Assembly: Google.Apis.CloudFilestore.v1.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
|
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
|
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
|
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
|
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
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.BackupsResource.PatchRequest |