Reference documentation and code samples for the Google Cloud Data Catalog V1 Client class DataSource.
Physical location of an entry.
Generated from protobuf message google.cloud.datacatalog.v1.DataSource
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: |
↳ source_entry |
string
Output only. Data Catalog entry name, if applicable. |
↳ storage_properties |
Google\Cloud\DataCatalog\V1\StorageProperties
Detailed properties of the underlying storage. |
getService
Service that physically stores the data.
Returns | |
---|---|
Type | Description |
int |
setService
Service that physically stores the data.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getResource
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.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getStorageProperties
Detailed properties of the underlying storage.
Returns | |
---|---|
Type | Description |
Google\Cloud\DataCatalog\V1\StorageProperties|null |
hasStorageProperties
setStorageProperties
Detailed properties of the underlying storage.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\DataCatalog\V1\StorageProperties
|
Returns | |
---|---|
Type | Description |
$this |
getProperties
Returns | |
---|---|
Type | Description |
string |