Google Cloud Data Catalog Lineage V1 Client - Class Origin (1.0.0)

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 \ V1

Methods

__construct

Constructor.

Parameters
Name Description
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.

Returns
Type Description
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.

Parameter
Name Description
var int
Returns
Type Description
$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"}
Returns
Type Description
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"}
Parameter
Name Description
var string
Returns
Type Description
$this