Class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1InfoTypeLimit

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

Max findings configuration per info type, per content item or long running operation.

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

Returns a new instance of GooglePrivacyDlpV2beta1InfoTypeLimit



473
474
475
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 473

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

Instance Attribute Details

#info_typeGoogle::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1InfoType

Type of information detected by the API. Corresponds to the JSON property infoType



466
467
468
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 466

def info_type
  @info_type
end

#max_findingsFixnum

Max findings limit for the given infoType. Corresponds to the JSON property maxFindings

Returns:

  • (Fixnum)


471
472
473
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 471

def max_findings
  @max_findings
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



478
479
480
481
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 478

def update!(**args)
  @info_type = args[:info_type] if args.key?(:info_type)
  @max_findings = args[:max_findings] if args.key?(:max_findings)
end