Google Cloud Data Catalog V1 Client - Class DataSource (1.10.1)

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

Namespace

Google \ Cloud \ DataCatalog \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
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.

↳ storage_properties Google\Cloud\DataCatalog\V1\StorageProperties

Detailed properties of the underlying storage.

getService

Service that physically stores the data.

Returns
TypeDescription
int

setService

Service that physically stores the data.

Parameter
NameDescription
var int
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this

getSourceEntry

Output only. Data Catalog entry name, if applicable.

Returns
TypeDescription
string

setSourceEntry

Output only. Data Catalog entry name, if applicable.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getStorageProperties

Detailed properties of the underlying storage.

Returns
TypeDescription
Google\Cloud\DataCatalog\V1\StorageProperties|null

hasStorageProperties

setStorageProperties

Detailed properties of the underlying storage.

Parameter
NameDescription
var Google\Cloud\DataCatalog\V1\StorageProperties
Returns
TypeDescription
$this

getProperties

Returns
TypeDescription
string