Reference documentation and code samples for the Google Cloud Filestore V1 Client class GetBackupRequest.
GetBackupRequest gets the state of a backup.
Generated from protobuf message google.cloud.filestore.v1.GetBackupRequest
Namespace
Google \ Cloud \ Filestore \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ name
string
Required. The backup resource name, in the format projects/{project_number}/locations/{location}/backups/{backup_id}.
getName
Required. The backup resource name, in the format
projects/{project_number}/locations/{location}/backups/{backup_id}.
Returns
Type
Description
string
setName
Required. The backup resource name, in the format
projects/{project_number}/locations/{location}/backups/{backup_id}.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
static::build
Parameter
Name
Description
name
string
Required. The backup resource name, in the format
projects/{project_number}/locations/{location}/backups/{backup_id}. Please see
CloudFilestoreManagerClient::backupName() for help formatting this field.
[[["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 Filestore V1 Client - Class GetBackupRequest (2.1.1)\n\nVersion latestkeyboard_arrow_down\n\n- [2.1.1 (latest)](/php/docs/reference/cloud-filestore/latest/V1.GetBackupRequest)\n- [2.1.0](/php/docs/reference/cloud-filestore/2.1.0/V1.GetBackupRequest)\n- [2.0.4](/php/docs/reference/cloud-filestore/2.0.4/V1.GetBackupRequest)\n- [1.5.7](/php/docs/reference/cloud-filestore/1.5.7/V1.GetBackupRequest)\n- [1.4.0](/php/docs/reference/cloud-filestore/1.4.0/V1.GetBackupRequest)\n- [1.3.2](/php/docs/reference/cloud-filestore/1.3.2/V1.GetBackupRequest)\n- [1.2.1](/php/docs/reference/cloud-filestore/1.2.1/V1.GetBackupRequest)\n- [1.1.2](/php/docs/reference/cloud-filestore/1.1.2/V1.GetBackupRequest)\n- [1.0.3](/php/docs/reference/cloud-filestore/1.0.3/V1.GetBackupRequest) \nReference documentation and code samples for the Google Cloud Filestore V1 Client class GetBackupRequest.\n\nGetBackupRequest gets the state of a backup.\n\nGenerated from protobuf message `google.cloud.filestore.v1.GetBackupRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Filestore \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nRequired. The backup resource name, in the format\n`projects/{project_number}/locations/{location}/backups/{backup_id}`.\n\n### setName\n\nRequired. The backup resource name, in the format\n`projects/{project_number}/locations/{location}/backups/{backup_id}`.\n\n### static::build"]]