Reference documentation and code samples for the Data Loss Prevention V2 Client class InfoTypeDescription.
InfoType description.
Generated from protobuf message google.privacy.dlp.v2.InfoTypeDescription
Namespace
Google \ Cloud \ Dlp \ V2Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Internal name of the infoType. |
↳ display_name |
string
Human readable form of the infoType name. |
↳ supported_by |
array
Which parts of the API supports this InfoType. |
↳ description |
string
Description of the infotype. Translated when language is provided in the request. |
↳ versions |
array<Google\Cloud\Dlp\V2\VersionDescription>
A list of available versions for the infotype. |
↳ categories |
array<Google\Cloud\Dlp\V2\InfoTypeCategory>
The category of the infoType. |
getName
Internal name of the infoType.
Returns | |
---|---|
Type | Description |
string |
setName
Internal name of the infoType.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getDisplayName
Human readable form of the infoType name.
Returns | |
---|---|
Type | Description |
string |
setDisplayName
Human readable form of the infoType name.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getSupportedBy
Which parts of the API supports this InfoType.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setSupportedBy
Which parts of the API supports this InfoType.
Parameter | |
---|---|
Name | Description |
var |
int[]
|
Returns | |
---|---|
Type | Description |
$this |
getDescription
Description of the infotype. Translated when language is provided in the request.
Returns | |
---|---|
Type | Description |
string |
setDescription
Description of the infotype. Translated when language is provided in the request.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getVersions
A list of available versions for the infotype.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setVersions
A list of available versions for the infotype.
Parameter | |
---|---|
Name | Description |
var |
array<Google\Cloud\Dlp\V2\VersionDescription>
|
Returns | |
---|---|
Type | Description |
$this |
getCategories
The category of the infoType.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setCategories
The category of the infoType.
Parameter | |
---|---|
Name | Description |
var |
array<Google\Cloud\Dlp\V2\InfoTypeCategory>
|
Returns | |
---|---|
Type | Description |
$this |