Class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1SummaryResult

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/dlp_v2beta1/classes.rb,
generated/google/apis/dlp_v2beta1/representations.rb,
generated/google/apis/dlp_v2beta1/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) ⇒ GooglePrivacyDlpV2beta1SummaryResult

Returns a new instance of GooglePrivacyDlpV2beta1SummaryResult



3279
3280
3281
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 3279

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

Instance Attribute Details

#codeString

Corresponds to the JSON property code

Returns:

  • (String)


3266
3267
3268
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 3266

def code
  @code
end

#countFixnum

Corresponds to the JSON property count

Returns:

  • (Fixnum)


3271
3272
3273
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 3271

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)


3277
3278
3279
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 3277

def details
  @details
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3284
3285
3286
3287
3288
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 3284

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