Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataScanJob

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

A DataScanJob represents an instance of DataScan execution.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDataplexV1DataScanJob

Returns a new instance of GoogleCloudDataplexV1DataScanJob.



2909
2910
2911
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2909

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

Instance Attribute Details

#data_profile_resultGoogle::Apis::DataplexV1::GoogleCloudDataplexV1DataProfileResult

DataProfileResult defines the output of DataProfileScan. Each field of the table will have field type specific profile result. Corresponds to the JSON property dataProfileResult



2854
2855
2856
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2854

def data_profile_result
  @data_profile_result
end

#data_profile_specGoogle::Apis::DataplexV1::GoogleCloudDataplexV1DataProfileSpec

DataProfileScan related setting. Corresponds to the JSON property dataProfileSpec



2859
2860
2861
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2859

def data_profile_spec
  @data_profile_spec
end

#data_quality_resultGoogle::Apis::DataplexV1::GoogleCloudDataplexV1DataQualityResult

The output of a DataQualityScan. Corresponds to the JSON property dataQualityResult



2864
2865
2866
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2864

def data_quality_result
  @data_quality_result
end

#data_quality_specGoogle::Apis::DataplexV1::GoogleCloudDataplexV1DataQualitySpec

DataQualityScan related setting. Corresponds to the JSON property dataQualitySpec



2869
2870
2871
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2869

def data_quality_spec
  @data_quality_spec
end

#end_timeString

Output only. The time when the DataScanJob ended. Corresponds to the JSON property endTime

Returns:

  • (String)


2874
2875
2876
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2874

def end_time
  @end_time
end

#messageString

Output only. Additional information about the current state. Corresponds to the JSON property message

Returns:

  • (String)


2879
2880
2881
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2879

def message
  @message
end

#nameString

Output only. The relative resource name of the DataScanJob, of the form: projects/project/locations/location_id/dataScans/datascan_id/jobs/ job_id, where project refers to a project_id or project_number and location_id refers to a GCP region. Corresponds to the JSON property name

Returns:

  • (String)


2887
2888
2889
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2887

def name
  @name
end

#start_timeString

Output only. The time when the DataScanJob was started. Corresponds to the JSON property startTime

Returns:

  • (String)


2892
2893
2894
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2892

def start_time
  @start_time
end

#stateString

Output only. Execution state for the DataScanJob. Corresponds to the JSON property state

Returns:

  • (String)


2897
2898
2899
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2897

def state
  @state
end

#typeString

Output only. The type of the parent DataScan. Corresponds to the JSON property type

Returns:

  • (String)


2902
2903
2904
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2902

def type
  @type
end

#uidString

Output only. System generated globally unique ID for the DataScanJob. Corresponds to the JSON property uid

Returns:

  • (String)


2907
2908
2909
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2907

def uid
  @uid
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2914

def update!(**args)
  @data_profile_result = args[:data_profile_result] if args.key?(:data_profile_result)
  @data_profile_spec = args[:data_profile_spec] if args.key?(:data_profile_spec)
  @data_quality_result = args[:data_quality_result] if args.key?(:data_quality_result)
  @data_quality_spec = args[:data_quality_spec] if args.key?(:data_quality_spec)
  @end_time = args[:end_time] if args.key?(:end_time)
  @message = args[:message] if args.key?(:message)
  @name = args[:name] if args.key?(:name)
  @start_time = args[:start_time] if args.key?(:start_time)
  @state = args[:state] if args.key?(:state)
  @type = args[:type] if args.key?(:type)
  @uid = args[:uid] if args.key?(:uid)
end