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 \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ parent |
string
Required. The parent database. Format |
↳ 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 |
backupSchedule |
Google\Cloud\Firestore\Admin\V1\BackupSchedule
Required. The backup schedule to create. |
Returns | |
---|---|
Type | Description |
Google\Cloud\Firestore\Admin\V1\CreateBackupScheduleRequest |