Reference documentation and code samples for the Google Cloud Net App V1 Client class CreateBackupRequest.
CreateBackupRequest creates a backup.
Generated from protobuf messagegoogle.cloud.netapp.v1.CreateBackupRequest
Namespace
Google \ Cloud \ NetApp \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ parent
string
Required. The NetApp backupVault to create the backups of, in the formatprojects/*/locations/*/backupVaults/{backup_vault_id}
↳ backup_id
string
Required. The ID to use for the backup. The ID must be unique within the specified backupVault. Must contain only letters, numbers and hyphen, with the first character a letter, the last a letter or a number, and a 63 character maximum.
Required. The NetApp backupVault to create the backups of, in the formatprojects/*/locations/*/backupVaults/{backup_vault_id}
Returns
Type
Description
string
setParent
Required. The NetApp backupVault to create the backups of, in the formatprojects/*/locations/*/backupVaults/{backup_vault_id}
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getBackupId
Required. The ID to use for the backup.
The ID must be unique within the specified backupVault.
Must contain only letters, numbers and hyphen, with the first
character a letter, the last a letter or a
number, and a 63 character maximum.
Returns
Type
Description
string
setBackupId
Required. The ID to use for the backup.
The ID must be unique within the specified backupVault.
Must contain only letters, numbers and hyphen, with the first
character a letter, the last a letter or a
number, and a 63 character maximum.
Required. The NetApp backupVault to create the backups of, in the formatprojects/*/locations/*/backupVaults/{backup_vault_id}Please seeNetAppClient::backupVaultName()for help formatting this field.
Required. The ID to use for the backup.
The ID must be unique within the specified backupVault.
Must contain only letters, numbers and hyphen, with the first
character a letter, the last a letter or a
number, and a 63 character maximum.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Net App V1 Client - Class CreateBackupRequest (1.6.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.6.1 (latest)](/php/docs/reference/cloud-netapp/latest/V1.CreateBackupRequest)\n- [1.6.0](/php/docs/reference/cloud-netapp/1.6.0/V1.CreateBackupRequest)\n- [1.4.0](/php/docs/reference/cloud-netapp/1.4.0/V1.CreateBackupRequest)\n- [1.3.1](/php/docs/reference/cloud-netapp/1.3.1/V1.CreateBackupRequest)\n- [1.2.1](/php/docs/reference/cloud-netapp/1.2.1/V1.CreateBackupRequest)\n- [1.1.1](/php/docs/reference/cloud-netapp/1.1.1/V1.CreateBackupRequest)\n- [1.0.1](/php/docs/reference/cloud-netapp/1.0.1/V1.CreateBackupRequest)\n- [0.3.1](/php/docs/reference/cloud-netapp/0.3.1/V1.CreateBackupRequest)\n- [0.2.6](/php/docs/reference/cloud-netapp/0.2.6/V1.CreateBackupRequest)\n- [0.1.1](/php/docs/reference/cloud-netapp/0.1.1/V1.CreateBackupRequest) \nReference documentation and code samples for the Google Cloud Net App V1 Client class CreateBackupRequest.\n\nCreateBackupRequest creates a backup.\n\nGenerated from protobuf message `google.cloud.netapp.v1.CreateBackupRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ NetApp \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getParent\n\nRequired. The NetApp backupVault to create the backups of, in the format\n`projects/*/locations/*/backupVaults/{backup_vault_id}`\n\n### setParent\n\nRequired. The NetApp backupVault to create the backups of, in the format\n`projects/*/locations/*/backupVaults/{backup_vault_id}`\n\n### getBackupId\n\nRequired. The ID to use for the backup.\n\nThe ID must be unique within the specified backupVault.\nMust contain only letters, numbers and hyphen, with the first\ncharacter a letter, the last a letter or a\nnumber, and a 63 character maximum.\n\n### setBackupId\n\nRequired. The ID to use for the backup.\n\nThe ID must be unique within the specified backupVault.\nMust contain only letters, numbers and hyphen, with the first\ncharacter a letter, the last a letter or a\nnumber, and a 63 character maximum.\n\n### getBackup\n\nRequired. A backup resource\n\n### hasBackup\n\n### clearBackup\n\n### setBackup\n\nRequired. A backup resource\n\n### static::build"]]