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

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

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

Constructor Details

#initialize(**args) ⇒ GooglePrivacyDlpV2SummaryResult

Returns a new instance of GooglePrivacyDlpV2SummaryResult.



9437
9438
9439
# File 'lib/google/apis/dlp_v2/classes.rb', line 9437

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

Instance Attribute Details

#codeString

Outcome of the transformation. Corresponds to the JSON property code

Returns:

  • (String)


9424
9425
9426
# File 'lib/google/apis/dlp_v2/classes.rb', line 9424

def code
  @code
end

#countFixnum

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

Returns:

  • (Fixnum)


9429
9430
9431
# File 'lib/google/apis/dlp_v2/classes.rb', line 9429

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)


9435
9436
9437
# File 'lib/google/apis/dlp_v2/classes.rb', line 9435

def details
  @details
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9442
9443
9444
9445
9446
# File 'lib/google/apis/dlp_v2/classes.rb', line 9442

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