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.



3738
3739
3740
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3738

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

Instance Attribute Details

#create_timeString

Output only. The time when the DataScanJob was created. Corresponds to the JSON property createTime

Returns:

  • (String)


3667
3668
3669
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3667

def create_time
  @create_time
end

#data_discovery_resultGoogle::Apis::DataplexV1::GoogleCloudDataplexV1DataDiscoveryResult

The output of a data discovery scan. Corresponds to the JSON property dataDiscoveryResult



3672
3673
3674
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3672

def data_discovery_result
  @data_discovery_result
end

#data_discovery_specGoogle::Apis::DataplexV1::GoogleCloudDataplexV1DataDiscoverySpec

Spec for a data discovery scan. Corresponds to the JSON property dataDiscoverySpec



3677
3678
3679
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3677

def data_discovery_spec
  @data_discovery_spec
end

#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



3683
3684
3685
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3683

def data_profile_result
  @data_profile_result
end

#data_profile_specGoogle::Apis::DataplexV1::GoogleCloudDataplexV1DataProfileSpec

DataProfileScan related setting. Corresponds to the JSON property dataProfileSpec



3688
3689
3690
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3688

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



3693
3694
3695
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3693

def data_quality_result
  @data_quality_result
end

#data_quality_specGoogle::Apis::DataplexV1::GoogleCloudDataplexV1DataQualitySpec

DataQualityScan related setting. Corresponds to the JSON property dataQualitySpec



3698
3699
3700
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3698

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)


3703
3704
3705
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3703

def end_time
  @end_time
end

#messageString

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

Returns:

  • (String)


3708
3709
3710
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3708

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)


3716
3717
3718
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3716

def name
  @name
end

#start_timeString

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

Returns:

  • (String)


3721
3722
3723
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3721

def start_time
  @start_time
end

#stateString

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

Returns:

  • (String)


3726
3727
3728
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3726

def state
  @state
end

#typeString

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

Returns:

  • (String)


3731
3732
3733
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3731

def type
  @type
end

#uidString

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

Returns:

  • (String)


3736
3737
3738
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3736

def uid
  @uid
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3743

def update!(**args)
  @create_time = args[:create_time] if args.key?(:create_time)
  @data_discovery_result = args[:data_discovery_result] if args.key?(:data_discovery_result)
  @data_discovery_spec = args[:data_discovery_spec] if args.key?(:data_discovery_spec)
  @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