Class: Google::Apis::DlpV2::GooglePrivacyDlpV2Result

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dlp_v2/classes.rb,
lib/google/apis/dlp_v2/representations.rb,
lib/google/apis/dlp_v2/representations.rb

Overview

All result fields mentioned below are updated while the job is processing.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GooglePrivacyDlpV2Result

Returns a new instance of GooglePrivacyDlpV2Result.



7042
7043
7044
# File 'lib/google/apis/dlp_v2/classes.rb', line 7042

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

Instance Attribute Details

#hybrid_statsGoogle::Apis::DlpV2::GooglePrivacyDlpV2HybridInspectStatistics

Statistics related to processing hybrid inspect requests. Corresponds to the JSON property hybridStats



7024
7025
7026
# File 'lib/google/apis/dlp_v2/classes.rb', line 7024

def hybrid_stats
  @hybrid_stats
end

#info_type_statsArray<Google::Apis::DlpV2::GooglePrivacyDlpV2InfoTypeStats>

Statistics of how many instances of each info type were found during inspect job. Corresponds to the JSON property infoTypeStats



7030
7031
7032
# File 'lib/google/apis/dlp_v2/classes.rb', line 7030

def info_type_stats
  @info_type_stats
end

#processed_bytesFixnum

Total size in bytes that were processed. Corresponds to the JSON property processedBytes

Returns:

  • (Fixnum)


7035
7036
7037
# File 'lib/google/apis/dlp_v2/classes.rb', line 7035

def processed_bytes
  @processed_bytes
end

#total_estimated_bytesFixnum

Estimate of the number of bytes to process. Corresponds to the JSON property totalEstimatedBytes

Returns:

  • (Fixnum)


7040
7041
7042
# File 'lib/google/apis/dlp_v2/classes.rb', line 7040

def total_estimated_bytes
  @total_estimated_bytes
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7047
7048
7049
7050
7051
7052
# File 'lib/google/apis/dlp_v2/classes.rb', line 7047

def update!(**args)
  @hybrid_stats = args[:hybrid_stats] if args.key?(:hybrid_stats)
  @info_type_stats = args[:info_type_stats] if args.key?(:info_type_stats)
  @processed_bytes = args[:processed_bytes] if args.key?(:processed_bytes)
  @total_estimated_bytes = args[:total_estimated_bytes] if args.key?(:total_estimated_bytes)
end