Class: Google::Privacy::Dlp::V2::ByteContentItem

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/dlp.rb

Overview

Container for bytes to inspect or redact.

Defined Under Namespace

Modules: BytesType

Instance Attribute Summary collapse

Instance Attribute Details

#dataString

Returns Content data to inspect or redact.

Returns:

  • (String)

    Content data to inspect or redact.



96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
# File 'lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/dlp.rb', line 96

class ByteContentItem
  module BytesType
    BYTES_TYPE_UNSPECIFIED = 0

    IMAGE = 6

    IMAGE_JPEG = 1

    IMAGE_BMP = 2

    IMAGE_PNG = 3

    IMAGE_SVG = 4

    TEXT_UTF8 = 5
  end
end

#typeGoogle::Privacy::Dlp::V2::ByteContentItem::BytesType

Returns The type of data stored in the bytes string. Default will be TEXT_UTF8.

Returns:



96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
# File 'lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/dlp.rb', line 96

class ByteContentItem
  module BytesType
    BYTES_TYPE_UNSPECIFIED = 0

    IMAGE = 6

    IMAGE_JPEG = 1

    IMAGE_BMP = 2

    IMAGE_PNG = 3

    IMAGE_SVG = 4

    TEXT_UTF8 = 5
  end
end