Constructor
new InfoTypeCategory(propertiesopt)
Constructs a new InfoTypeCategory.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
properties |
google.privacy.dlp.v2.IInfoTypeCategory |
<optional> |
Properties to set |
- Implements:
-
- IInfoTypeCategory
Members
category
InfoTypeCategory category.
industryCategory
InfoTypeCategory industryCategory.
locationCategory
InfoTypeCategory locationCategory.
typeCategory
InfoTypeCategory typeCategory.
IndustryCategory
IndustryCategory enum.
Properties:
Name | Type | Description |
---|---|---|
INDUSTRY_UNSPECIFIED |
number |
INDUSTRY_UNSPECIFIED value |
FINANCE |
number |
FINANCE value |
HEALTH |
number |
HEALTH value |
TELECOMMUNICATIONS |
number |
TELECOMMUNICATIONS value |
LocationCategory
LocationCategory enum.
Properties:
Name | Type | Description |
---|---|---|
LOCATION_UNSPECIFIED |
number |
LOCATION_UNSPECIFIED value |
GLOBAL |
number |
GLOBAL value |
ARGENTINA |
number |
ARGENTINA value |
ARMENIA |
number |
ARMENIA value |
AUSTRALIA |
number |
AUSTRALIA value |
AZERBAIJAN |
number |
AZERBAIJAN value |
BELARUS |
number |
BELARUS value |
BELGIUM |
number |
BELGIUM value |
BRAZIL |
number |
BRAZIL value |
CANADA |
number |
CANADA value |
CHILE |
number |
CHILE value |
CHINA |
number |
CHINA value |
COLOMBIA |
number |
COLOMBIA value |
CROATIA |
number |
CROATIA value |
DENMARK |
number |
DENMARK value |
FRANCE |
number |
FRANCE value |
FINLAND |
number |
FINLAND value |
GERMANY |
number |
GERMANY value |
HONG_KONG |
number |
HONG_KONG value |
INDIA |
number |
INDIA value |
INDONESIA |
number |
INDONESIA value |
IRELAND |
number |
IRELAND value |
ISRAEL |
number |
ISRAEL value |
ITALY |
number |
ITALY value |
JAPAN |
number |
JAPAN value |
KAZAKHSTAN |
number |
KAZAKHSTAN value |
KOREA |
number |
KOREA value |
MEXICO |
number |
MEXICO value |
THE_NETHERLANDS |
number |
THE_NETHERLANDS value |
NEW_ZEALAND |
number |
NEW_ZEALAND value |
NORWAY |
number |
NORWAY value |
PARAGUAY |
number |
PARAGUAY value |
PERU |
number |
PERU value |
POLAND |
number |
POLAND value |
PORTUGAL |
number |
PORTUGAL value |
RUSSIA |
number |
RUSSIA value |
SINGAPORE |
number |
SINGAPORE value |
SOUTH_AFRICA |
number |
SOUTH_AFRICA value |
SPAIN |
number |
SPAIN value |
SWEDEN |
number |
SWEDEN value |
SWITZERLAND |
number |
SWITZERLAND value |
TAIWAN |
number |
TAIWAN value |
THAILAND |
number |
THAILAND value |
TURKEY |
number |
TURKEY value |
UKRAINE |
number |
UKRAINE value |
UNITED_KINGDOM |
number |
UNITED_KINGDOM value |
UNITED_STATES |
number |
UNITED_STATES value |
URUGUAY |
number |
URUGUAY value |
UZBEKISTAN |
number |
UZBEKISTAN value |
VENEZUELA |
number |
VENEZUELA value |
INTERNAL |
number |
INTERNAL value |
TypeCategory
TypeCategory enum.
Properties:
Name | Type | Description |
---|---|---|
TYPE_UNSPECIFIED |
number |
TYPE_UNSPECIFIED value |
PII |
number |
PII value |
SPII |
number |
SPII value |
DEMOGRAPHIC |
number |
DEMOGRAPHIC value |
CREDENTIAL |
number |
CREDENTIAL value |
GOVERNMENT_ID |
number |
GOVERNMENT_ID value |
DOCUMENT |
number |
DOCUMENT value |
CONTEXTUAL_INFORMATION |
number |
CONTEXTUAL_INFORMATION value |
Methods
toJSON() → {Object.<string, *>}
Converts this InfoTypeCategory to JSON.
Returns:
Type | Description |
---|---|
Object.<string, *> |
JSON object |
(static) create(propertiesopt) → {google.privacy.dlp.v2.InfoTypeCategory}
Creates a new InfoTypeCategory instance using the specified properties.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
properties |
google.privacy.dlp.v2.IInfoTypeCategory |
<optional> |
Properties to set |
Returns:
Type | Description |
---|---|
google.privacy.dlp.v2.InfoTypeCategory |
InfoTypeCategory instance |
(static) decode(reader, lengthopt) → {google.privacy.dlp.v2.InfoTypeCategory}
Decodes an InfoTypeCategory message from the specified reader or buffer.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
reader |
$protobuf.Reader | Uint8Array |
Reader or buffer to decode from |
|
length |
number |
<optional> |
Message length if known beforehand |
Returns:
Type | Description |
---|---|
google.privacy.dlp.v2.InfoTypeCategory |
InfoTypeCategory |
Throws:
-
-
If the payload is not a reader or valid buffer
- Type
- Error
-
-
-
If required fields are missing
- Type
- $protobuf.util.ProtocolError
-
(static) decodeDelimited(reader) → {google.privacy.dlp.v2.InfoTypeCategory}
Decodes an InfoTypeCategory message from the specified reader or buffer, length delimited.
Parameters:
Name | Type | Description |
---|---|---|
reader |
$protobuf.Reader | Uint8Array |
Reader or buffer to decode from |
Returns:
Type | Description |
---|---|
google.privacy.dlp.v2.InfoTypeCategory |
InfoTypeCategory |
Throws:
-
-
If the payload is not a reader or valid buffer
- Type
- Error
-
-
-
If required fields are missing
- Type
- $protobuf.util.ProtocolError
-
(static) encode(message, writeropt) → {$protobuf.Writer}
Encodes the specified InfoTypeCategory message. Does not implicitly verify messages.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
message |
google.privacy.dlp.v2.IInfoTypeCategory |
InfoTypeCategory message or plain object to encode |
|
writer |
$protobuf.Writer |
<optional> |
Writer to encode to |
Returns:
Type | Description |
---|---|
$protobuf.Writer |
Writer |
(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}
Encodes the specified InfoTypeCategory message, length delimited. Does not implicitly verify messages.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
message |
google.privacy.dlp.v2.IInfoTypeCategory |
InfoTypeCategory message or plain object to encode |
|
writer |
$protobuf.Writer |
<optional> |
Writer to encode to |
Returns:
Type | Description |
---|---|
$protobuf.Writer |
Writer |
(static) fromObject(object) → {google.privacy.dlp.v2.InfoTypeCategory}
Creates an InfoTypeCategory message from a plain object. Also converts values to their respective internal types.
Parameters:
Name | Type | Description |
---|---|---|
object |
Object.<string, *> |
Plain object |
Returns:
Type | Description |
---|---|
google.privacy.dlp.v2.InfoTypeCategory |
InfoTypeCategory |
(static) getTypeUrl(typeUrlPrefixopt) → {string}
Gets the default type url for InfoTypeCategory
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
typeUrlPrefix |
string |
<optional> |
your custom typeUrlPrefix(default "type.googleapis.com") |
Returns:
Type | Description |
---|---|
string |
The default type url |
(static) toObject(message, optionsopt) → {Object.<string, *>}
Creates a plain object from an InfoTypeCategory message. Also converts values to other types if specified.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
message |
google.privacy.dlp.v2.InfoTypeCategory |
InfoTypeCategory |
|
options |
$protobuf.IConversionOptions |
<optional> |
Conversion options |
Returns:
Type | Description |
---|---|
Object.<string, *> |
Plain object |
(static) verify(message) → {string|null}
Verifies an InfoTypeCategory message.
Parameters:
Name | Type | Description |
---|---|---|
message |
Object.<string, *> |
Plain object to verify |
Returns:
Type | Description |
---|---|
string | null |
|