Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataProfileResult

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

DataProfileResult defines the output of DataProfileScan. Each field of the table will have field type specific profile result.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDataplexV1DataProfileResult

Returns a new instance of GoogleCloudDataplexV1DataProfileResult.



920
921
922
# File 'lib/google/apis/dataplex_v1/classes.rb', line 920

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

Instance Attribute Details

#profileGoogle::Apis::DataplexV1::GoogleCloudDataplexV1DataProfileResultProfile

Profile information describing the structure and layout of the data and contains the profile info. Corresponds to the JSON property profile



908
909
910
# File 'lib/google/apis/dataplex_v1/classes.rb', line 908

def profile
  @profile
end

#row_countFixnum

The count of all rows in the sampled data. Return 0, if zero rows. Corresponds to the JSON property rowCount

Returns:

  • (Fixnum)


913
914
915
# File 'lib/google/apis/dataplex_v1/classes.rb', line 913

def row_count
  @row_count
end

#scanned_dataGoogle::Apis::DataplexV1::GoogleCloudDataplexV1ScannedData

The data scanned during processing (e.g. in incremental DataScan) Corresponds to the JSON property scannedData



918
919
920
# File 'lib/google/apis/dataplex_v1/classes.rb', line 918

def scanned_data
  @scanned_data
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



925
926
927
928
929
# File 'lib/google/apis/dataplex_v1/classes.rb', line 925

def update!(**args)
  @profile = args[:profile] if args.key?(:profile)
  @row_count = args[:row_count] if args.key?(:row_count)
  @scanned_data = args[:scanned_data] if args.key?(:scanned_data)
end