Class: Google::Apis::DlpV2::GooglePrivacyDlpV2StringValueBatch

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

Represents a batch of string values to inspect or redact.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GooglePrivacyDlpV2StringValueBatch

Returns a new instance of GooglePrivacyDlpV2StringValueBatch.



10526
10527
10528
# File 'lib/google/apis/dlp_v2/classes.rb', line 10526

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

Instance Attribute Details

#valuesArray<String>

Optional. Represents string data to inspect or redact. Corresponds to the JSON property values

Returns:

  • (Array<String>)


10524
10525
10526
# File 'lib/google/apis/dlp_v2/classes.rb', line 10524

def values
  @values
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10531
10532
10533
# File 'lib/google/apis/dlp_v2/classes.rb', line 10531

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