Reference documentation and code samples for the Google Cloud Security Command Center V1 Client class ResourceSelector.
Resource for selecting resource type.
Generated from protobuf message google.cloud.securitycenter.v1.CustomConfig.ResourceSelector
Namespace
Google \ Cloud \ SecurityCenter \ V1 \ CustomConfigMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ resource_types |
array
The resource types to run the detector on. |
getResourceTypes
The resource types to run the detector on.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setResourceTypes
The resource types to run the detector on.
Parameter | |
---|---|
Name | Description |
var |
string[]
|
Returns | |
---|---|
Type | Description |
$this |