Reference documentation and code samples for the Google Cloud Data Catalog Lineage V1 Client class Origin.
Origin of a process.
Generated from protobuf message google.cloud.datacatalog.lineage.v1.Origin
Namespace
Google \ Cloud \ DataCatalog \ Lineage \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ source_type
int
Type of the source. Use of a source_type other than CUSTOM
for process creation or updating is highly discouraged, and may be restricted in the future without notice.
↳ name
string
If the source_type isn't CUSTOM, the value of this field should be a GCP resource name of the system, which reports lineage. The project and location parts of the resource name must match the project and location of the lineage resource being created. Examples: - {source_type: COMPOSER, name: "projects/foo/locations/us/environments/bar"}
- {source_type: BIGQUERY, name: "projects/foo/locations/eu"}
- {source_type: CUSTOM, name: "myCustomIntegration"}
getSourceType
Type of the source.
Use of a source_type other than CUSTOM
for process creation
or updating is highly discouraged, and may be restricted in the future
without notice.
int
setSourceType
Type of the source.
Use of a source_type other than CUSTOM
for process creation
or updating is highly discouraged, and may be restricted in the future
without notice.
var
int
$this
getName
If the source_type isn't CUSTOM, the value of this field should be a GCP resource name of the system, which reports lineage. The project and location parts of the resource name must match the project and location of the lineage resource being created. Examples:
-
{source_type: COMPOSER, name: "projects/foo/locations/us/environments/bar"}
-
{source_type: BIGQUERY, name: "projects/foo/locations/eu"}
-
{source_type: CUSTOM, name: "myCustomIntegration"}
string
setName
If the source_type isn't CUSTOM, the value of this field should be a GCP resource name of the system, which reports lineage. The project and location parts of the resource name must match the project and location of the lineage resource being created. Examples:
-
{source_type: COMPOSER, name: "projects/foo/locations/us/environments/bar"}
-
{source_type: BIGQUERY, name: "projects/foo/locations/eu"}
-
{source_type: CUSTOM, name: "myCustomIntegration"}
var
string
$this