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

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
NameDescription
data array

Optional. Data for populating the Message object.

↳ source_type int

Type of the source.

↳ 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.

Returns
TypeDescription
int

setSourceType

Type of the source.

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