Class: Google::Apis::DlpV2::GooglePrivacyDlpV2SummaryResult

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

A collection that informs the user the number of times a particular TransformationResultCode and error details occurred.

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) ⇒ GooglePrivacyDlpV2SummaryResult

Returns a new instance of GooglePrivacyDlpV2SummaryResult.



5910
5911
5912
# File 'generated/google/apis/dlp_v2/classes.rb', line 5910

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

Instance Attribute Details

#codeString

Outcome of the transformation. Corresponds to the JSON property code

Returns:

  • (String)


5897
5898
5899
# File 'generated/google/apis/dlp_v2/classes.rb', line 5897

def code
  @code
end

#countFixnum

Number of transformations counted by this result. Corresponds to the JSON property count

Returns:

  • (Fixnum)


5902
5903
5904
# File 'generated/google/apis/dlp_v2/classes.rb', line 5902

def count
  @count
end

#detailsString

A place for warnings or errors to show up if a transformation didn't work as expected. Corresponds to the JSON property details

Returns:

  • (String)


5908
5909
5910
# File 'generated/google/apis/dlp_v2/classes.rb', line 5908

def details
  @details
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5915
5916
5917
5918
5919
# File 'generated/google/apis/dlp_v2/classes.rb', line 5915

def update!(**args)
  @code = args[:code] if args.key?(:code)
  @count = args[:count] if args.key?(:count)
  @details = args[:details] if args.key?(:details)
end