Reference documentation and code samples for the Data Loss Prevention V2 Client class InspectJobConfig.
Controls what and how to inspect for findings.
Generated from protobuf message google.privacy.dlp.v2.InspectJobConfig
Namespace
Google \ Cloud \ Dlp \ V2Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description | 
| data | arrayOptional. Data for populating the Message object. | 
| ↳ storage_config | StorageConfigThe data to scan. | 
| ↳ inspect_config | InspectConfigHow and what to scan for. | 
| ↳ inspect_template_name | stringIf provided, will be used as the default for all values in InspectConfig.  | 
| ↳ actions | array<Action>Actions to execute at the completion of the job. | 
getStorageConfig
The data to scan.
| Returns | |
|---|---|
| Type | Description | 
| StorageConfig|null | |
hasStorageConfig
clearStorageConfig
setStorageConfig
The data to scan.
| Parameter | |
|---|---|
| Name | Description | 
| var | StorageConfig | 
| Returns | |
|---|---|
| Type | Description | 
| $this | |
getInspectConfig
How and what to scan for.
| Returns | |
|---|---|
| Type | Description | 
| InspectConfig|null | |
hasInspectConfig
clearInspectConfig
setInspectConfig
How and what to scan for.
| Parameter | |
|---|---|
| Name | Description | 
| var | InspectConfig | 
| Returns | |
|---|---|
| Type | Description | 
| $this | |
getInspectTemplateName
If provided, will be used as the default for all values in InspectConfig.
inspect_config will be merged into the values persisted as part of the
template.
| Returns | |
|---|---|
| Type | Description | 
| string | |
setInspectTemplateName
If provided, will be used as the default for all values in InspectConfig.
inspect_config will be merged into the values persisted as part of the
template.
| Parameter | |
|---|---|
| Name | Description | 
| var | string | 
| Returns | |
|---|---|
| Type | Description | 
| $this | |
getActions
Actions to execute at the completion of the job.
| Returns | |
|---|---|
| Type | Description | 
| Google\Protobuf\Internal\RepeatedField | |
setActions
Actions to execute at the completion of the job.
| Parameter | |
|---|---|
| Name | Description | 
| var | array<Action> | 
| Returns | |
|---|---|
| Type | Description | 
| $this | |