Moodle PHP Documentation 4.3
Moodle 4.3.5 (Build: 20240610) (7dcfaa79f78)
Google_Service_SQLAdmin_BackupRuns_Resource Class Reference

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

Inheritance diagram for Google_Service_SQLAdmin_BackupRuns_Resource:
Google_Service_Resource

Public Member Functions

 call ($name, $arguments, $expected_class=null)
 TODO: This function needs simplifying.
 
 delete ($project, $instance, $id, $optParams=array())
 Deletes the backup taken by a backup run.
 
 get ($project, $instance, $id, $optParams=array())
 Retrieves a resource containing information about a backup run.
 
 listBackupRuns ($project, $instance, $optParams=array())
 Lists all backup runs associated with a given instance and configuration in the reverse chronological order of the enqueued time.
 

Protected Member Functions

 convertToArrayAndStripNulls ($o)
 

Detailed Description

The "backupRuns" collection of methods.

Typical usage is: $sqladminService = new Google_Service_SQLAdmin(...); $backupRuns = $sqladminService->backupRuns;

Member Function Documentation

◆ call()

Google_Service_Resource::call ( $name,
$arguments,
$expected_class = null )
inherited

TODO: This function needs simplifying.

Parameters
$name
$arguments
$expected_class- optional, the expected class name
Return values
Google_Http_Request|expected_class
Exceptions
Google_Exception

◆ delete()

Google_Service_SQLAdmin_BackupRuns_Resource::delete ( $project,
$instance,
$id,
$optParams = array() )

Deletes the backup taken by a backup run.

(backupRuns.delete)

Parameters
string$projectProject ID of the project that contains the instance.
string$instanceCloud SQL instance ID. This does not include the project ID.
string$idThe ID of the Backup Run to delete. To find a Backup Run ID, use the list method.
array$optParamsOptional parameters.
Return values
Google_Service_SQLAdmin_Operation

◆ get()

Google_Service_SQLAdmin_BackupRuns_Resource::get ( $project,
$instance,
$id,
$optParams = array() )

Retrieves a resource containing information about a backup run.

(backupRuns.get)

Parameters
string$projectProject ID of the project that contains the instance.
string$instanceCloud SQL instance ID. This does not include the project ID.
string$idThe ID of this Backup Run.
array$optParamsOptional parameters.
Return values
Google_Service_SQLAdmin_BackupRun

◆ listBackupRuns()

Google_Service_SQLAdmin_BackupRuns_Resource::listBackupRuns ( $project,
$instance,
$optParams = array() )

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

(backupRuns.listBackupRuns)

Parameters
string$projectProject ID of the project that contains the instance.
string$instanceCloud SQL instance ID. This does not include the project ID.
array$optParamsOptional parameters.

@opt_param int maxResults Maximum number of backup runs per response. @opt_param string pageToken A previously-returned page token representing part of the larger set of results to view.

Return values
Google_Service_SQLAdmin_BackupRunsListResponse

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