Cloud Firestore V1 Client - Class CreateBackupScheduleRequest (1.47.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 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
BackupSchedule|null

hasBackupSchedule

clearBackupSchedule

setBackupSchedule

Required. The backup schedule to create.

Parameter
Name Description
var BackupSchedule
Returns
Type Description
$this

static::build

Parameters
Name Description
parent string

Required. The parent database.

Format projects/{project}/databases/{database} Please see FirestoreAdminClient::databaseName() for help formatting this field.

backupSchedule BackupSchedule

Required. The backup schedule to create.

Returns
Type Description
CreateBackupScheduleRequest