Google Cloud Security Center Management V1 Client - Class ResourceSelector (0.1.0)

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 \ CustomConfig

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
Google\Protobuf\Internal\RepeatedField

setResourceTypes

Optional. The resource types to run the detector on.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this