Reference documentation and code samples for the Data Loss Prevention V2 Client class DiscoveryOtherCloudFilter.
Determines which resources from the other cloud will have profiles generated.
Includes the ability to filter by resource names.
Generated from protobuf message google.privacy.dlp.v2.DiscoveryOtherCloudFilter
Namespace
Google \ Cloud \ Dlp \ V2Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ collection |
Google\Cloud\Dlp\V2\OtherCloudResourceCollection
A collection of resources for this filter to apply to. |
↳ single_resource |
Google\Cloud\Dlp\V2\OtherCloudSingleResourceReference
The resource to scan. Configs using this filter can only have one target (the target with this single resource reference). |
↳ others |
Google\Cloud\Dlp\V2\AllOtherResources
Optional. Catch-all. This should always be the last target in the list because anything above it will apply first. Should only appear once in a configuration. If none is specified, a default one will be added automatically. |
getCollection
A collection of resources for this filter to apply to.
Returns | |
---|---|
Type | Description |
Google\Cloud\Dlp\V2\OtherCloudResourceCollection|null |
hasCollection
setCollection
A collection of resources for this filter to apply to.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Dlp\V2\OtherCloudResourceCollection
|
Returns | |
---|---|
Type | Description |
$this |
getSingleResource
The resource to scan. Configs using this filter can only have one target (the target with this single resource reference).
Returns | |
---|---|
Type | Description |
Google\Cloud\Dlp\V2\OtherCloudSingleResourceReference|null |
hasSingleResource
setSingleResource
The resource to scan. Configs using this filter can only have one target (the target with this single resource reference).
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Dlp\V2\OtherCloudSingleResourceReference
|
Returns | |
---|---|
Type | Description |
$this |
getOthers
Optional. Catch-all. This should always be the last target in the list because anything above it will apply first. Should only appear once in a configuration. If none is specified, a default one will be added automatically.
Returns | |
---|---|
Type | Description |
Google\Cloud\Dlp\V2\AllOtherResources|null |
hasOthers
setOthers
Optional. Catch-all. This should always be the last target in the list because anything above it will apply first. Should only appear once in a configuration. If none is specified, a default one will be added automatically.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Dlp\V2\AllOtherResources
|
Returns | |
---|---|
Type | Description |
$this |
getFilter
Returns | |
---|---|
Type | Description |
string |