Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataScanExecutionSpec

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dataplex_v1/classes.rb,
lib/google/apis/dataplex_v1/representations.rb,
lib/google/apis/dataplex_v1/representations.rb

Overview

DataScan execution settings.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDataplexV1DataScanExecutionSpec

Returns a new instance of GoogleCloudDataplexV1DataScanExecutionSpec.



3618
3619
3620
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3618

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

Instance Attribute Details

#fieldString

Immutable. The unnested field (of type Date or Timestamp) that contains values which monotonically increase over time.If not specified, a data scan will run for all data in the table. Corresponds to the JSON property field

Returns:

  • (String)


3611
3612
3613
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3611

def field
  @field
end

#triggerGoogle::Apis::DataplexV1::GoogleCloudDataplexV1Trigger

DataScan scheduling and trigger settings. Corresponds to the JSON property trigger



3616
3617
3618
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3616

def trigger
  @trigger
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3623
3624
3625
3626
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3623

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