Reference documentation and code samples for the Google Cloud Backup Dr V1 Client class GetDataSourceReferenceRequest.
Request for the GetDataSourceReference method.
Generated from protobuf messagegoogle.cloud.backupdr.v1.GetDataSourceReferenceRequest
Namespace
Google \ Cloud \ BackupDR \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ name
string
Required. The name of the DataSourceReference to retrieve. Format: projects/{project}/locations/{location}/dataSourceReferences/{data_source_reference}
getName
Required. The name of the DataSourceReference to retrieve.
Required. The name of the DataSourceReference to retrieve.
Format:
projects/{project}/locations/{location}/dataSourceReferences/{data_source_reference}
Please seeBackupDRClient::dataSourceReferenceName()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 Backup Dr V1 Client - Class GetDataSourceReferenceRequest (0.7.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.7.0 (latest)](/php/docs/reference/cloud-backupdr/latest/V1.GetDataSourceReferenceRequest)\n- [0.6.2](/php/docs/reference/cloud-backupdr/0.6.2/V1.GetDataSourceReferenceRequest)\n- [0.5.1](/php/docs/reference/cloud-backupdr/0.5.1/V1.GetDataSourceReferenceRequest)\n- [0.4.2](/php/docs/reference/cloud-backupdr/0.4.2/V1.GetDataSourceReferenceRequest)\n- [0.3.0](/php/docs/reference/cloud-backupdr/0.3.0/V1.GetDataSourceReferenceRequest)\n- [0.2.0](/php/docs/reference/cloud-backupdr/0.2.0/V1.GetDataSourceReferenceRequest)\n- [0.1.0](/php/docs/reference/cloud-backupdr/0.1.0/V1.GetDataSourceReferenceRequest) \nReference documentation and code samples for the Google Cloud Backup Dr V1 Client class GetDataSourceReferenceRequest.\n\nRequest for the GetDataSourceReference method.\n\nGenerated from protobuf message `google.cloud.backupdr.v1.GetDataSourceReferenceRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ BackupDR \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nRequired. The name of the DataSourceReference to retrieve.\n\nFormat:\nprojects/{project}/locations/{location}/dataSourceReferences/{data_source_reference}\n\n### setName\n\nRequired. The name of the DataSourceReference to retrieve.\n\nFormat:\nprojects/{project}/locations/{location}/dataSourceReferences/{data_source_reference}\n\n### static::build"]]