Reference documentation and code samples for the Data Loss Prevention V2 Client class InfoTypeCondition.
A info type based condition.
Generated from protobuf message google.privacy.dlp.v2.ContentPolicy.PolicyRule.PolicyCondition.InfoTypeCondition
Namespace
Google \ Cloud \ Dlp \ V2 \ ContentPolicy \ PolicyRule \ PolicyConditionMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ min_count |
int|string
Optional. The minimum total number of findings of all matching info types required for this condition to evaluate to true. Defaults to 1 if unset. |
↳ info_types |
InfoTypeCondition\InfoTypes
match any of these info types. |
↳ any_info_type |
Google\Protobuf\GPBEmpty
match any info types. |
getMinCount
Optional. The minimum total number of findings of all matching info types required for this condition to evaluate to true. Defaults to 1 if unset.
| Returns | |
|---|---|
| Type | Description |
int|string |
|
setMinCount
Optional. The minimum total number of findings of all matching info types required for this condition to evaluate to true. Defaults to 1 if unset.
| Parameter | |
|---|---|
| Name | Description |
var |
int|string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getInfoTypes
match any of these info types.
| Returns | |
|---|---|
| Type | Description |
InfoTypeCondition\InfoTypes|null |
|
hasInfoTypes
setInfoTypes
match any of these info types.
| Parameter | |
|---|---|
| Name | Description |
var |
InfoTypeCondition\InfoTypes
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getAnyInfoType
match any info types.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\GPBEmpty|null |
|
hasAnyInfoType
setAnyInfoType
match any info types.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\GPBEmpty
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getInfoTypeCondition
| Returns | |
|---|---|
| Type | Description |
string |
|