Class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2SummaryResult

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

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

Returns a new instance of GooglePrivacyDlpV2beta2SummaryResult



5661
5662
5663
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 5661

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

Instance Attribute Details

#codeString

Corresponds to the JSON property code

Returns:

  • (String)


5648
5649
5650
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 5648

def code
  @code
end

#countFixnum

Corresponds to the JSON property count

Returns:

  • (Fixnum)


5653
5654
5655
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 5653

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)


5659
5660
5661
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 5659

def details
  @details
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5666
5667
5668
5669
5670
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 5666

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