Cloud Firestore V1 Client - Class BackupSource (1.47.0)

Reference documentation and code samples for the Cloud Firestore V1 Client class BackupSource.

Information about a backup that was used to restore a database.

Generated from protobuf message google.firestore.admin.v1.Database.SourceInfo.BackupSource

Namespace

Google \ Cloud \ Firestore \ Admin \ V1 \ Database \ SourceInfo

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ backup string

The resource name of the backup that was used to restore this database. Format: projects/{project}/locations/{location}/backups/{backup}.

getBackup

The resource name of the backup that was used to restore this database. Format: projects/{project}/locations/{location}/backups/{backup}.

Returns
Type Description
string

setBackup

The resource name of the backup that was used to restore this database. Format: projects/{project}/locations/{location}/backups/{backup}.

Parameter
Name Description
var string
Returns
Type Description
$this