Reference documentation and code samples for the Google Cloud Filestore V1 Client class CreateBackupRequest.
CreateBackupRequest creates a backup.
Generated from protobuf message google.cloud.filestore.v1.CreateBackupRequest
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ parent
string
Required. The backup's project and location, in the format projects/{project_number}/locations/{location}
. In Cloud Filestore, backup locations map to GCP regions, for example us-west1.
↳ backup
↳ backup_id
string
Required. The ID to use for the backup. The ID must be unique within the specified project and location. This value must start with a lowercase letter followed by up to 62 lowercase letters, numbers, or hyphens, and cannot end with a hyphen. Values that do not match this pattern will trigger an INVALID_ARGUMENT error.
getParent
Required. The backup's project and location, in the format projects/{project_number}/locations/{location}
. In Cloud Filestore,
backup locations map to GCP regions, for example us-west1.
string
setParent
Required. The backup's project and location, in the format projects/{project_number}/locations/{location}
. In Cloud Filestore,
backup locations map to GCP regions, for example us-west1.
var
string
$this
getBackup
Required. A backup resource
hasBackup
clearBackup
setBackup
Required. A backup resource
$this
getBackupId
Required. The ID to use for the backup.
The ID must be unique within the specified project and location. This value must start with a lowercase letter followed by up to 62 lowercase letters, numbers, or hyphens, and cannot end with a hyphen. Values that do not match this pattern will trigger an INVALID_ARGUMENT error.
string
setBackupId
Required. The ID to use for the backup.
The ID must be unique within the specified project and location. This value must start with a lowercase letter followed by up to 62 lowercase letters, numbers, or hyphens, and cannot end with a hyphen. Values that do not match this pattern will trigger an INVALID_ARGUMENT error.
var
string
$this