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
Namespace
Google \ Cloud \ GkeBackup \ V1Methods
__construct
Constructor.
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
↳ 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/*
string
setParent
Required. The RestorePlan within which to create the Restore.
Format: projects/*/locations/*/restorePlans/*
var
string
$this
getRestore
Required. The restore resource to create.
hasRestore
clearRestore
setRestore
Required. The restore resource to create.
$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.
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.
var
string
$this
static::build
parent
string
Required. The RestorePlan within which to create the Restore.
Format: projects/*/locations/*/restorePlans/*
Please see Google\Cloud\GkeBackup\V1\BackupForGKEClient::restorePlanName()
for help formatting this field.
restore
restoreId
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.