Class: Google::Apis::DlpV2::GooglePrivacyDlpV2ContentItem
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2::GooglePrivacyDlpV2ContentItem
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dlp_v2/classes.rb,
generated/google/apis/dlp_v2/representations.rb,
generated/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.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2ContentItem
Returns a new instance of GooglePrivacyDlpV2ContentItem
713 714 715 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 713 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
701 702 703 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 701 def byte_item @byte_item end |
#table ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2Table
Structured content to inspect. Up to 50,000 Value
s per request allowed.
Corresponds to the JSON property table
706 707 708 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 706 def table @table end |
#value ⇒ String
String data to inspect or redact.
Corresponds to the JSON property value
711 712 713 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 711 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
718 719 720 721 722 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 718 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 |