Reference documentation and code samples for the Google Cloud Backup Dr V1 Client class GetDataSourceRequest.
Request message for getting a DataSource instance.
Generated from protobuf message google.cloud.backupdr.v1.GetDataSourceRequest
Namespace
Google \ Cloud \ BackupDR \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Required. Name of the data source resource name, in the format 'projects/{project_id}/locations/{location}/backupVaults/{resource_name}/dataSource/{resource_name}'
getName
Required. Name of the data source resource name, in the format 'projects/{project_id}/locations/{location}/backupVaults/{resource_name}/dataSource/{resource_name}'
string
setName
Required. Name of the data source resource name, in the format 'projects/{project_id}/locations/{location}/backupVaults/{resource_name}/dataSource/{resource_name}'
var
string
$this
static::build
name
string
Required. Name of the data source resource name, in the format 'projects/{project_id}/locations/{location}/backupVaults/{resource_name}/dataSource/{resource_name}' Please see BackupDRClient::dataSourceName() for help formatting this field.