Google Cloud Security Command Center V1 Client - Class ResourceSelector (1.17.0)

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

Methods

__construct

Constructor.

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

setResourceTypes

The resource types to run the detector on.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this