# Data Lineage V1 API - Class Google::Cloud::DataCatalog::Lineage::V1::Origin (v0.15.0)

0.15.0 (latest) 0.14.0 0.13.0 0.12.1 0.11.0 0.10.1 0.9.1 0.8.0 0.7.1 0.6.2 0.5.0 0.4.0 0.3.0 0.2.1 0.1.0 Reference documentation and code samples for the Data Lineage V1 API class Google::Cloud::DataCatalog::Lineage::V1::Origin.

Origin of a process.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #name

    def name() -> ::String

**Returns**

- (::String) --- If the source_type isn't CUSTOM, the value of this field should be a Google
  Cloud 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"}`

### #name=

    def name=(value) -> ::String

**Parameter**

- **value** (::String) ---

  If the source_type isn't CUSTOM, the value of this field should be a Google
  Cloud 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**

- (::String) --- If the source_type isn't CUSTOM, the value of this field should be a Google
  Cloud 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"}`

### #source_type

    def source_type() -> ::Google::Cloud::DataCatalog::Lineage::V1::Origin::SourceType

**Returns**

- ([::Google::Cloud::DataCatalog::Lineage::V1::Origin::SourceType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_catalog-lineage-v1/latest/Google-Cloud-DataCatalog-Lineage-V1-Origin-SourceType)) --- Type of the source.


  Use of a source_type other than `CUSTOM` for process creation
  or updating is highly discouraged. It might be restricted in the future
  without notice. There will be increase in cost if you use any of the source
  types other than `CUSTOM`.

### #source_type=

    def source_type=(value) -> ::Google::Cloud::DataCatalog::Lineage::V1::Origin::SourceType

**Parameter**

- **value** ([::Google::Cloud::DataCatalog::Lineage::V1::Origin::SourceType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_catalog-lineage-v1/latest/Google-Cloud-DataCatalog-Lineage-V1-Origin-SourceType)) --- Type of the source.


  Use of a source_type other than `CUSTOM` for process creation
  or updating is highly discouraged. It might be restricted in the future
  without notice. There will be increase in cost if you use any of the source
  types other than `CUSTOM`.
**Returns**

- ([::Google::Cloud::DataCatalog::Lineage::V1::Origin::SourceType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_catalog-lineage-v1/latest/Google-Cloud-DataCatalog-Lineage-V1-Origin-SourceType)) --- Type of the source.


  Use of a source_type other than `CUSTOM` for process creation
  or updating is highly discouraged. It might be restricted in the future
  without notice. There will be increase in cost if you use any of the source
  types other than `CUSTOM`.