Class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1ContentItem
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1ContentItem
- 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
Container structure for the content to inspect.
Instance Attribute Summary collapse
-
#data ⇒ String
Content data to inspect or redact.
-
#table ⇒ Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Table
Structured content to inspect.
-
#type ⇒ String
Type of the content, as defined in Content-Type HTTP header.
-
#value ⇒ String
String data to inspect or redact.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2beta1ContentItem
constructor
A new instance of GooglePrivacyDlpV2beta1ContentItem.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2beta1ContentItem
Returns a new instance of GooglePrivacyDlpV2beta1ContentItem
765 766 767 |
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 765 def initialize(**args) update!(**args) end |
Instance Attribute Details
#data ⇒ String
Content data to inspect or redact.
Corresponds to the JSON property data
NOTE: Values are automatically base64 encoded/decoded in the client library.
746 747 748 |
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 746 def data @data end |
#table ⇒ Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Table
Structured content to inspect. Up to 50,000 Value
s per request allowed.
Corresponds to the JSON property table
751 752 753 |
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 751 def table @table end |
#type ⇒ String
Type of the content, as defined in Content-Type HTTP header.
Supported types are: all "text" types, octet streams, PNG images,
JPEG images.
Corresponds to the JSON property type
758 759 760 |
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 758 def type @type end |
#value ⇒ String
String data to inspect or redact.
Corresponds to the JSON property value
763 764 765 |
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 763 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
770 771 772 773 774 775 |
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 770 def update!(**args) @data = args[:data] if args.key?(:data) @table = args[:table] if args.key?(:table) @type = args[:type] if args.key?(:type) @value = args[:value] if args.key?(:value) end |