Reference documentation and code samples for the Google Cloud Data Catalog V1 Client class DataSource.
Physical location of an entry.
Generated from protobuf messagegoogle.cloud.datacatalog.v1.DataSource
Namespace
Google \ Cloud \ DataCatalog \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ service
int
Service that physically stores the data.
↳ resource
string
Full name of a resource as defined by the service. For example://bigquery.googleapis.com/projects/{PROJECT_ID}/locations/{LOCATION}/datasets/{DATASET_ID}/tables/{TABLE_ID}
↳ source_entry
string
Output only. Data Catalog entry name, if applicable.
Full name of a resource as defined by the service. For example://bigquery.googleapis.com/projects/{PROJECT_ID}/locations/{LOCATION}/datasets/{DATASET_ID}/tables/{TABLE_ID}
Returns
Type
Description
string
setResource
Full name of a resource as defined by the service. For example://bigquery.googleapis.com/projects/{PROJECT_ID}/locations/{LOCATION}/datasets/{DATASET_ID}/tables/{TABLE_ID}
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getSourceEntry
Output only. Data Catalog entry name, if applicable.
Returns
Type
Description
string
setSourceEntry
Output only. Data Catalog entry name, if applicable.
[[["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 Data Catalog V1 Client - Class DataSource (2.3.2)\n\nVersion latestkeyboard_arrow_down\n\n- [2.3.2 (latest)](/php/docs/reference/cloud-data-catalog/latest/V1.DataSource)\n- [2.3.1](/php/docs/reference/cloud-data-catalog/2.3.1/V1.DataSource)\n- [2.2.4](/php/docs/reference/cloud-data-catalog/2.2.4/V1.DataSource)\n- [2.1.0](/php/docs/reference/cloud-data-catalog/2.1.0/V1.DataSource)\n- [2.0.2](/php/docs/reference/cloud-data-catalog/2.0.2/V1.DataSource)\n- [1.10.3](/php/docs/reference/cloud-data-catalog/1.10.3/V1.DataSource)\n- [1.9.1](/php/docs/reference/cloud-data-catalog/1.9.1/V1.DataSource)\n- [1.8.2](/php/docs/reference/cloud-data-catalog/1.8.2/V1.DataSource)\n- [1.7.1](/php/docs/reference/cloud-data-catalog/1.7.1/V1.DataSource)\n- [1.6.0](/php/docs/reference/cloud-data-catalog/1.6.0/V1.DataSource)\n- [1.5.1](/php/docs/reference/cloud-data-catalog/1.5.1/V1.DataSource)\n- [1.4.2](/php/docs/reference/cloud-data-catalog/1.4.2/V1.DataSource)\n- [1.3.9](/php/docs/reference/cloud-data-catalog/1.3.9/V1.DataSource) \nReference documentation and code samples for the Google Cloud Data Catalog V1 Client class DataSource.\n\nPhysical location of an entry.\n\nGenerated from protobuf message `google.cloud.datacatalog.v1.DataSource`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ DataCatalog \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getService\n\nService that physically stores the data.\n\n### setService\n\nService that physically stores the data.\n\n### getResource\n\nFull name of a resource as defined by the service. For example:\n`//bigquery.googleapis.com/projects/{PROJECT_ID}/locations/{LOCATION}/datasets/{DATASET_ID}/tables/{TABLE_ID}`\n\n### setResource\n\nFull name of a resource as defined by the service. For example:\n`//bigquery.googleapis.com/projects/{PROJECT_ID}/locations/{LOCATION}/datasets/{DATASET_ID}/tables/{TABLE_ID}`\n\n### getSourceEntry\n\nOutput only. Data Catalog entry name, if applicable.\n\n### setSourceEntry\n\nOutput only. Data Catalog entry name, if applicable.\n\n### getStorageProperties\n\nDetailed properties of the underlying storage.\n\n### hasStorageProperties\n\n### setStorageProperties\n\nDetailed properties of the underlying storage.\n\n### getProperties"]]