Class: Google::Cloud::Dlp::V2::ContentItem

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/privacy/dlp/v2/dlp.rb

Overview

Type of content to inspect.

Instance Attribute Summary collapse

Instance Attribute Details

#byte_item::Google::Cloud::Dlp::V2::ByteContentItem

Returns Content data to inspect or redact. Replaces type and data.

Note: The following fields are mutually exclusive: byte_item, value, table. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Cloud::Dlp::V2::ByteContentItem)

    Content data to inspect or redact. Replaces type and data.

    Note: The following fields are mutually exclusive: byte_item, value, table. If a field in that set is populated, all other fields in the set will automatically be cleared.



363
364
365
366
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 363

class ContentItem
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#table::Google::Cloud::Dlp::V2::Table

Returns Structured content for inspection. See https://cloud.google.com/sensitive-data-protection/docs/inspecting-text#inspecting_a_table to learn more.

Note: The following fields are mutually exclusive: table, value, byte_item. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:



363
364
365
366
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 363

class ContentItem
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#value::String

Returns String data to inspect or redact.

Note: The following fields are mutually exclusive: value, table, byte_item. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::String)

    String data to inspect or redact.

    Note: The following fields are mutually exclusive: value, table, byte_item. If a field in that set is populated, all other fields in the set will automatically be cleared.



363
364
365
366
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 363

class ContentItem
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end