Data Loss Prevention V2 Client - Class ColumnDataType (2.2.2)

Reference documentation and code samples for the Data Loss Prevention V2 Client class ColumnDataType.

Data types of the data in a column. Types may be added over time.

Protobuf type google.privacy.dlp.v2.ColumnDataProfile.ColumnDataType

Namespace

Google \ Cloud \ Dlp \ V2 \ ColumnDataProfile

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

COLUMN_DATA_TYPE_UNSPECIFIED

Value: 0

Invalid type.

Generated from protobuf enum COLUMN_DATA_TYPE_UNSPECIFIED = 0;

TYPE_INT64

Value: 1

Encoded as a string in decimal format.

Generated from protobuf enum TYPE_INT64 = 1;

TYPE_BOOL

Value: 2

Encoded as a boolean "false" or "true".

Generated from protobuf enum TYPE_BOOL = 2;

TYPE_FLOAT64

Value: 3

Encoded as a number, or string "NaN", "Infinity" or "-Infinity".

Generated from protobuf enum TYPE_FLOAT64 = 3;

TYPE_STRING

Value: 4

Encoded as a string value.

Generated from protobuf enum TYPE_STRING = 4;

TYPE_BYTES

Value: 5

Encoded as a base64 string per RFC 4648, section 4.

Generated from protobuf enum TYPE_BYTES = 5;

TYPE_TIMESTAMP

Value: 6

Encoded as an RFC 3339 timestamp with mandatory "Z" time zone string: 1985-04-12T23:20:50.52Z

Generated from protobuf enum TYPE_TIMESTAMP = 6;

TYPE_DATE

Value: 7

Encoded as RFC 3339 full-date format string: 1985-04-12

Generated from protobuf enum TYPE_DATE = 7;

TYPE_TIME

Value: 8

Encoded as RFC 3339 partial-time format string: 23:20:50.52

Generated from protobuf enum TYPE_TIME = 8;

TYPE_DATETIME

Value: 9

Encoded as RFC 3339 full-date "T" partial-time: 1985-04-12T23:20:50.52

Generated from protobuf enum TYPE_DATETIME = 9;

TYPE_GEOGRAPHY

Value: 10

Encoded as WKT

Generated from protobuf enum TYPE_GEOGRAPHY = 10;

TYPE_NUMERIC

Value: 11

Encoded as a decimal string.

Generated from protobuf enum TYPE_NUMERIC = 11;

TYPE_RECORD

Value: 12

Container of ordered fields, each with a type and field name.

Generated from protobuf enum TYPE_RECORD = 12;

TYPE_BIGNUMERIC

Value: 13

Decimal type.

Generated from protobuf enum TYPE_BIGNUMERIC = 13;

TYPE_JSON

Value: 14

Json type.

Generated from protobuf enum TYPE_JSON = 14;

TYPE_INTERVAL

Value: 15

Interval type.

Generated from protobuf enum TYPE_INTERVAL = 15;

TYPE_RANGE_DATE

Value: 16

Range<Date> type.

Generated from protobuf enum TYPE_RANGE_DATE = 16;

TYPE_RANGE_DATETIME

Value: 17

Range<Datetime> type.

Generated from protobuf enum TYPE_RANGE_DATETIME = 17;

TYPE_RANGE_TIMESTAMP

Value: 18

Range<Timestamp> type.

Generated from protobuf enum TYPE_RANGE_TIMESTAMP = 18;