Reference documentation and code samples for the Google Cloud Gke Backup V1 Client class CreateRestoreRequest.
Request message for CreateRestore.
Generated from protobuf message google.cloud.gkebackup.v1.CreateRestoreRequest
Methods
build
Parameters | |
---|---|
Name | Description |
parent |
string
Required. The RestorePlan within which to create the Restore. Format: projects//locations//restorePlans/* Please see {@see \Google\Cloud\GkeBackup\V1\BackupForGKEClient::restorePlanName()} for help formatting this field. |
restore |
Google\Cloud\GkeBackup\V1\Restore
Required. The restore resource to create. |
restoreId |
string
Required. The client-provided short name for the Restore resource. This name must:
|
Returns | |
---|---|
Type | Description |
Google\Cloud\GkeBackup\V1\CreateRestoreRequest |
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ parent |
string
Required. The RestorePlan within which to create the Restore. Format: projects//locations//restorePlans/* |
↳ restore |
Google\Cloud\GkeBackup\V1\Restore
Required. The restore resource to create. |
↳ restore_id |
string
Required. The client-provided short name for the Restore resource. This name must: - be between 1 and 63 characters long (inclusive) - consist of only lower-case ASCII letters, numbers, and dashes - start with a lower-case letter - end with a lower-case letter or number - be unique within the set of Restores in this RestorePlan. |
getParent
Required. The RestorePlan within which to create the Restore.
Format: projects//locations//restorePlans/*
Returns | |
---|---|
Type | Description |
string |
setParent
Required. The RestorePlan within which to create the Restore.
Format: projects//locations//restorePlans/*
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getRestore
Required. The restore resource to create.
Returns | |
---|---|
Type | Description |
Google\Cloud\GkeBackup\V1\Restore|null |
hasRestore
clearRestore
setRestore
Required. The restore resource to create.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\GkeBackup\V1\Restore
|
Returns | |
---|---|
Type | Description |
$this |
getRestoreId
Required. The client-provided short name for the Restore resource.
This name must:
- be between 1 and 63 characters long (inclusive)
- consist of only lower-case ASCII letters, numbers, and dashes
- start with a lower-case letter
- end with a lower-case letter or number
- be unique within the set of Restores in this RestorePlan.
Returns | |
---|---|
Type | Description |
string |
setRestoreId
Required. The client-provided short name for the Restore resource.
This name must:
- be between 1 and 63 characters long (inclusive)
- consist of only lower-case ASCII letters, numbers, and dashes
- start with a lower-case letter
- end with a lower-case letter or number
- be unique within the set of Restores in this RestorePlan.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |