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.



1863
1864
1865
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1863

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



1806
1807
1808
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1806

def data_profile
  @data_profile
end

#data_qualityGoogle::Apis::DataplexV1::GoogleCloudDataplexV1DataScanEventDataQualityResult

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



1811
1812
1813
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1811

def data_quality
  @data_quality
end

#data_sourceString

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

Returns:

  • (String)


1816
1817
1818
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1816

def data_source
  @data_source
end

#end_timeString

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

Returns:

  • (String)


1821
1822
1823
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1821

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)


1826
1827
1828
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1826

def job_id
  @job_id
end

#messageString

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

Returns:

  • (String)


1831
1832
1833
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1831

def message
  @message
end

#scopeString

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

Returns:

  • (String)


1836
1837
1838
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1836

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)


1841
1842
1843
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1841

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)


1846
1847
1848
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1846

def start_time
  @start_time
end

#stateString

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

Returns:

  • (String)


1851
1852
1853
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1851

def state
  @state
end

#triggerString

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

Returns:

  • (String)


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

def trigger
  @trigger
end

#typeString

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

Returns:

  • (String)


1861
1862
1863
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1861

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1868

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