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