Reference documentation and code samples for the Google Cloud Sql Admin V1 Client class CreateBackupRequest.
The request payload to create the backup
Generated from protobuf message google.cloud.sql.v1.CreateBackupRequest
Namespace
Google \ Cloud \ Sql \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ parent |
string
Required. The parent resource where this backup is created. Format: projects/{project} |
↳ backup |
Backup
Required. The Backup to create. |
getParent
Required. The parent resource where this backup is created.
Format: projects/{project}
| Returns | |
|---|---|
| Type | Description |
string |
|
setParent
Required. The parent resource where this backup is created.
Format: projects/{project}
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getBackup
Required. The Backup to create.
| Returns | |
|---|---|
| Type | Description |
Backup|null |
|
hasBackup
clearBackup
setBackup
Required. The Backup to create.
| Parameter | |
|---|---|
| Name | Description |
var |
Backup
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
static::build
| Parameters | |
|---|---|
| Name | Description |
parent |
string
Required. The parent resource where this backup is created. Format: projects/{project} Please see SqlBackupsServiceClient::projectName() for help formatting this field. |
backup |
Backup
Required. The Backup to create. |
| Returns | |
|---|---|
| Type | Description |
CreateBackupRequest |
|