Class: Google::Apis::DlpV2::GooglePrivacyDlpV2ContentItem
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2::GooglePrivacyDlpV2ContentItem
- 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
Container structure for the content to inspect.
Instance Attribute Summary collapse
-
#byte_item ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2ByteContentItem
Container for bytes to inspect or redact.
-
#table ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2Table
Structured content to inspect.
-
#value ⇒ String
String data to inspect or redact.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2ContentItem
constructor
A new instance of GooglePrivacyDlpV2ContentItem.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2ContentItem
Returns a new instance of GooglePrivacyDlpV2ContentItem.
1032 1033 1034 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 1032 def initialize(**args) update!(**args) end |
Instance Attribute Details
#byte_item ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2ByteContentItem
Container for bytes to inspect or redact.
Corresponds to the JSON property byteItem
1018 1019 1020 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 1018 def byte_item @byte_item end |
#table ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2Table
Structured content to inspect. Up to 50,000 Values per request allowed. See
https://cloud.google.com/dlp/docs/inspecting-structured-text#
inspecting_a_table to learn more.
Corresponds to the JSON property table
1025 1026 1027 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 1025 def table @table end |
#value ⇒ String
String data to inspect or redact.
Corresponds to the JSON property value
1030 1031 1032 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 1030 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1037 1038 1039 1040 1041 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 1037 def update!(**args) @byte_item = args[:byte_item] if args.key?(:byte_item) @table = args[:table] if args.key?(:table) @value = args[:value] if args.key?(:value) end |