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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/dlp_v2/classes.rb,
generated/google/apis/dlp_v2/representations.rb,
generated/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.



5354
5355
5356
# File 'generated/google/apis/dlp_v2/classes.rb', line 5354

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



5336
5337
5338
# File 'generated/google/apis/dlp_v2/classes.rb', line 5336

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



5342
5343
5344
# File 'generated/google/apis/dlp_v2/classes.rb', line 5342

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)


5347
5348
5349
# File 'generated/google/apis/dlp_v2/classes.rb', line 5347

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)


5352
5353
5354
# File 'generated/google/apis/dlp_v2/classes.rb', line 5352

def total_estimated_bytes
  @total_estimated_bytes
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5359
5360
5361
5362
5363
5364
# File 'generated/google/apis/dlp_v2/classes.rb', line 5359

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