Class: Google::Apis::DatalineageV1::GoogleCloudDatacatalogLineageV1Origin
- Inherits:
-
Object
- Object
- Google::Apis::DatalineageV1::GoogleCloudDatacatalogLineageV1Origin
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/datalineage_v1/classes.rb,
lib/google/apis/datalineage_v1/representations.rb,
lib/google/apis/datalineage_v1/representations.rb
Overview
Origin of a process.
Instance Attribute Summary collapse
-
#name ⇒ 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.
-
#source_type ⇒ String
Type of the source.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDatacatalogLineageV1Origin
constructor
A new instance of GoogleCloudDatacatalogLineageV1Origin.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDatacatalogLineageV1Origin
Returns a new instance of GoogleCloudDatacatalogLineageV1Origin.
378 379 380 |
# File 'lib/google/apis/datalineage_v1/classes.rb', line 378 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ 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"
Corresponds to the JSON property name
371 372 373 |
# File 'lib/google/apis/datalineage_v1/classes.rb', line 371 def name @name end |
#source_type ⇒ String
Type of the source.
Corresponds to the JSON property sourceType
376 377 378 |
# File 'lib/google/apis/datalineage_v1/classes.rb', line 376 def source_type @source_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
383 384 385 386 |
# File 'lib/google/apis/datalineage_v1/classes.rb', line 383 def update!(**args) @name = args[:name] if args.key?(:name) @source_type = args[:source_type] if args.key?(:source_type) end |