Cloud Firestore V1 Client - Class CreateBackupScheduleRequest (1.44.1)

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

The request for FirestoreAdmin.CreateBackupSchedule.

Generated from protobuf message google.firestore.admin.v1.CreateBackupScheduleRequest

Namespace

Google \ Cloud \ Firestore \ Admin \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The parent database. Format projects/{project}/databases/{database}

↳ backup_schedule Google\Cloud\Firestore\Admin\V1\BackupSchedule

Required. The backup schedule to create.

getParent

Required. The parent database.

Format projects/{project}/databases/{database}

Returns
Type Description
string

setParent

Required. The parent database.

Format projects/{project}/databases/{database}

Parameter
Name Description
var string
Returns
Type Description
$this

getBackupSchedule

Required. The backup schedule to create.

Returns
Type Description
Google\Cloud\Firestore\Admin\V1\BackupSchedule|null

hasBackupSchedule

clearBackupSchedule

setBackupSchedule

Required. The backup schedule to create.

Parameter
Name Description
var Google\Cloud\Firestore\Admin\V1\BackupSchedule
Returns
Type Description
$this

static::build

Parameters
Name Description
parent string

Required. The parent database.

Format projects/{project}/databases/{database} Please see Google\Cloud\Firestore\Admin\V1\FirestoreAdminClient::databaseName() for help formatting this field.

backupSchedule Google\Cloud\Firestore\Admin\V1\BackupSchedule

Required. The backup schedule to create.

Returns
Type Description
Google\Cloud\Firestore\Admin\V1\CreateBackupScheduleRequest