Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataScanEvent

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

These messages contain information about the execution of a datascan. The monitored resource is 'DataScan'

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDataplexV1DataScanEvent

Returns a new instance of GoogleCloudDataplexV1DataScanEvent.



1856
1857
1858
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1856

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

Instance Attribute Details

#data_profileGoogle::Apis::DataplexV1::GoogleCloudDataplexV1DataScanEventDataProfileResult

Data profile result for data scan job. Corresponds to the JSON property dataProfile



1799
1800
1801
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1799

def data_profile
  @data_profile
end

#data_qualityGoogle::Apis::DataplexV1::GoogleCloudDataplexV1DataScanEventDataQualityResult

Data quality result for data scan job. Corresponds to the JSON property dataQuality



1804
1805
1806
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1804

def data_quality
  @data_quality
end

#data_sourceString

The data source of the data scan Corresponds to the JSON property dataSource

Returns:

  • (String)


1809
1810
1811
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1809

def data_source
  @data_source
end

#end_timeString

The time when the data scan job finished. Corresponds to the JSON property endTime

Returns:

  • (String)


1814
1815
1816
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1814

def end_time
  @end_time
end

#job_idString

The identifier of the specific data scan job this log entry is for. Corresponds to the JSON property jobId

Returns:

  • (String)


1819
1820
1821
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1819

def job_id
  @job_id
end

#messageString

The message describing the data scan job event. Corresponds to the JSON property message

Returns:

  • (String)


1824
1825
1826
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1824

def message
  @message
end

#scopeString

The scope of the data scan (e.g. full, incremental). Corresponds to the JSON property scope

Returns:

  • (String)


1829
1830
1831
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1829

def scope
  @scope
end

#spec_versionString

A version identifier of the spec which was used to execute this job. Corresponds to the JSON property specVersion

Returns:

  • (String)


1834
1835
1836
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1834

def spec_version
  @spec_version
end

#start_timeString

The time when the data scan job started to run. Corresponds to the JSON property startTime

Returns:

  • (String)


1839
1840
1841
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1839

def start_time
  @start_time
end

#stateString

The status of the data scan job. Corresponds to the JSON property state

Returns:

  • (String)


1844
1845
1846
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1844

def state
  @state
end

#triggerString

The trigger type of the data scan job. Corresponds to the JSON property trigger

Returns:

  • (String)


1849
1850
1851
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1849

def trigger
  @trigger
end

#typeString

The type of the data scan. Corresponds to the JSON property type

Returns:

  • (String)


1854
1855
1856
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1854

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1861

def update!(**args)
  @data_profile = args[:data_profile] if args.key?(:data_profile)
  @data_quality = args[:data_quality] if args.key?(:data_quality)
  @data_source = args[:data_source] if args.key?(:data_source)
  @end_time = args[:end_time] if args.key?(:end_time)
  @job_id = args[:job_id] if args.key?(:job_id)
  @message = args[:message] if args.key?(:message)
  @scope = args[:scope] if args.key?(:scope)
  @spec_version = args[:spec_version] if args.key?(:spec_version)
  @start_time = args[:start_time] if args.key?(:start_time)
  @state = args[:state] if args.key?(:state)
  @trigger = args[:trigger] if args.key?(:trigger)
  @type = args[:type] if args.key?(:type)
end