Class ProjectsResource.LocationsResource.ServicesResource.BackupsResource
The "backups" collection of methods.
Inherited Members
Namespace: Google.Apis.DataprocMetastore.v2
Assembly: Google.Apis.DataprocMetastore.v2.dll
Syntax
public class ProjectsResource.LocationsResource.ServicesResource.BackupsResource
Constructors
BackupsResource(IClientService)
Constructs a new resource.
Declaration
public BackupsResource(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
Methods
Create(GoogleCloudMetastoreV2Backup, string)
Creates a new backup in a given project and location.
Declaration
public virtual ProjectsResource.LocationsResource.ServicesResource.BackupsResource.CreateRequest Create(GoogleCloudMetastoreV2Backup body, string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| GoogleCloudMetastoreV2Backup | body | The body of the request. |
| string | parent | Required. The relative resource name of the service in which to create a backup of the following form:projects/{project_number}/locations/{location_id}/services/{service_id}. |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.ServicesResource.BackupsResource.CreateRequest |
Delete(string)
Deletes a single backup.
Declaration
public virtual ProjectsResource.LocationsResource.ServicesResource.BackupsResource.DeleteRequest Delete(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Required. The relative resource name of the backup to delete, in the following form:projects/{project_number}/locations/{location_id}/services/{service_id}/backups/{backup_id}. |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.ServicesResource.BackupsResource.DeleteRequest |
Get(string)
Gets details of a single backup.
Declaration
public virtual ProjectsResource.LocationsResource.ServicesResource.BackupsResource.GetRequest Get(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Required. The relative resource name of the backup to retrieve, in the following form:projects/{project_number}/locations/{location_id}/services/{service_id}/backups/{backup_id}. |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.ServicesResource.BackupsResource.GetRequest |
List(string)
Lists backups in a service.
Declaration
public virtual ProjectsResource.LocationsResource.ServicesResource.BackupsResource.ListRequest List(string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| string | parent | Required. The relative resource name of the service whose backups to list, in the following form:projects/{project_number}/locations/{location_id}/services/{service_id}/backups. |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.ServicesResource.BackupsResource.ListRequest |