sqladmin  v1beta4
Classes | Public Member Functions | List of all members
Google.Apis.SQLAdmin.v1beta4.BackupRunsResource Class Reference

The "backupRuns" collection of methods. More...

Classes

class  DeleteRequest
 Deletes the backup taken by a backup run. More...
 
class  GetRequest
 Retrieves a resource containing information about a backup run. More...
 
class  InsertRequest
 Creates a new backup run on demand. This method is applicable only to Second Generation instances. More...
 
class  ListRequest
 Lists all backup runs associated with a given instance and configuration in the reverse chronological order of the backup initiation time. More...
 

Public Member Functions

 BackupRunsResource (Google.Apis.Services.IClientService service)
 Constructs a new resource. More...
 
virtual DeleteRequest Delete (string project, string instance, long id)
 Deletes the backup taken by a backup run. More...
 
virtual GetRequest Get (string project, string instance, long id)
 Retrieves a resource containing information about a backup run. More...
 
virtual InsertRequest Insert (Google.Apis.SQLAdmin.v1beta4.Data.BackupRun body, string project, string instance)
 Creates a new backup run on demand. This method is applicable only to Second Generation instances. More...
 
virtual ListRequest List (string project, string instance)
 Lists all backup runs associated with a given instance and configuration in the reverse chronological order of the backup initiation time. More...
 

Detailed Description

The "backupRuns" collection of methods.

Constructor & Destructor Documentation

◆ BackupRunsResource()

Google.Apis.SQLAdmin.v1beta4.BackupRunsResource.BackupRunsResource ( Google.Apis.Services.IClientService  service)
inline

Constructs a new resource.

Member Function Documentation

◆ Delete()

virtual DeleteRequest Google.Apis.SQLAdmin.v1beta4.BackupRunsResource.Delete ( string  project,
string  instance,
long  id 
)
inlinevirtual

Deletes the backup taken by a backup run.

Parameters
projectProject ID of the project that contains the instance.
instanceCloud SQL instance ID. This does not include the project ID.
idThe ID of the Backup Run to delete. To find a Backup Run ID, use the list method.

◆ Get()

virtual GetRequest Google.Apis.SQLAdmin.v1beta4.BackupRunsResource.Get ( string  project,
string  instance,
long  id 
)
inlinevirtual

Retrieves a resource containing information about a backup run.

Parameters
projectProject ID of the project that contains the instance.
instanceCloud SQL instance ID. This does not include the project ID.
idThe ID of this Backup Run.

◆ Insert()

virtual InsertRequest Google.Apis.SQLAdmin.v1beta4.BackupRunsResource.Insert ( Google.Apis.SQLAdmin.v1beta4.Data.BackupRun  body,
string  project,
string  instance 
)
inlinevirtual

Creates a new backup run on demand. This method is applicable only to Second Generation instances.

Parameters
bodyThe body of the request.
projectProject ID of the project that contains the instance.
instanceCloud SQL instance ID. This does not include the project ID.

◆ List()

virtual ListRequest Google.Apis.SQLAdmin.v1beta4.BackupRunsResource.List ( string  project,
string  instance 
)
inlinevirtual

Lists all backup runs associated with a given instance and configuration in the reverse chronological order of the backup initiation time.

Parameters
projectProject ID of the project that contains the instance.
instanceCloud SQL instance ID. This does not include the project ID.

The documentation for this class was generated from the following file: