Class: Google::Apis::DatalineageV1::GoogleCloudDatacatalogLineageConfigmanagementV1ConfigIngestionIngestionRuleLineageEnablement

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

Lineage enablement configuration. Defines configurations for the ingestion of lineage for the resource and its children.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDatacatalogLineageConfigmanagementV1ConfigIngestionIngestionRuleLineageEnablement

Returns a new instance of GoogleCloudDatacatalogLineageConfigmanagementV1ConfigIngestionIngestionRuleLineageEnablement.



146
147
148
# File 'lib/google/apis/datalineage_v1/classes.rb', line 146

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#enabledBoolean Also known as: enabled?

Optional. If true, ingestion of lineage should be enabled. If false, it should be disabled. If unspecified, the system default value is used. Corresponds to the JSON property enabled

Returns:

  • (Boolean)


143
144
145
# File 'lib/google/apis/datalineage_v1/classes.rb', line 143

def enabled
  @enabled
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



151
152
153
# File 'lib/google/apis/datalineage_v1/classes.rb', line 151

def update!(**args)
  @enabled = args[:enabled] if args.key?(:enabled)
end