Class: Google::Apis::DatalineageV1::GoogleCloudDatacatalogLineageV1Origin

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#nameString

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

Returns:

  • (String)


371
372
373
# File 'lib/google/apis/datalineage_v1/classes.rb', line 371

def name
  @name
end

#source_typeString

Type of the source. Corresponds to the JSON property sourceType

Returns:

  • (String)


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