Class: Google::Apis::DlpV2::GooglePrivacyDlpV2SummaryResult
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2::GooglePrivacyDlpV2SummaryResult
- 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
A collection that informs the user the number of times a particular
TransformationResultCode and error details occurred.
Instance Attribute Summary collapse
-
#code ⇒ String
Outcome of the transformation.
-
#count ⇒ Fixnum
Number of transformations counted by this result.
-
#details ⇒ String
A place for warnings or errors to show up if a transformation didn't work as expected.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2SummaryResult
constructor
A new instance of GooglePrivacyDlpV2SummaryResult.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2SummaryResult
Returns a new instance of GooglePrivacyDlpV2SummaryResult.
6935 6936 6937 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 6935 def initialize(**args) update!(**args) end |
Instance Attribute Details
#code ⇒ String
Outcome of the transformation.
Corresponds to the JSON property code
6922 6923 6924 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 6922 def code @code end |
#count ⇒ Fixnum
Number of transformations counted by this result.
Corresponds to the JSON property count
6927 6928 6929 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 6927 def count @count end |
#details ⇒ String
A place for warnings or errors to show up if a transformation didn't work as
expected.
Corresponds to the JSON property details
6933 6934 6935 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 6933 def details @details end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6940 6941 6942 6943 6944 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 6940 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 |