Class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Result

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GooglePrivacyDlpV2beta2Result

Returns a new instance of GooglePrivacyDlpV2beta2Result



5490
5491
5492
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 5490

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

Instance Attribute Details

#info_type_statsArray<Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InfoTypeStatistics>

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



5478
5479
5480
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 5478

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)


5483
5484
5485
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 5483

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)


5488
5489
5490
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 5488

def total_estimated_bytes
  @total_estimated_bytes
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5495
5496
5497
5498
5499
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 5495

def update!(**args)
  @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