Class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2ContentItem
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2ContentItem
- 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
Container structure for the content to inspect.
Instance Attribute Summary collapse
-
#data ⇒ String
Content data to inspect or redact.
-
#table ⇒ Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Table
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) ⇒ GooglePrivacyDlpV2beta2ContentItem
constructor
A new instance of GooglePrivacyDlpV2beta2ContentItem.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2beta2ContentItem
Returns a new instance of GooglePrivacyDlpV2beta2ContentItem
2264 2265 2266 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 2264 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.
2245 2246 2247 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 2245 def data @data end |
#table ⇒ Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Table
Structured content to inspect. Up to 50,000 Value
s per request allowed.
Corresponds to the JSON property table
2250 2251 2252 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 2250 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
2257 2258 2259 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 2257 def type @type end |
#value ⇒ String
String data to inspect or redact.
Corresponds to the JSON property value
2262 2263 2264 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 2262 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2269 2270 2271 2272 2273 2274 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 2269 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 |