Google Cloud Security Command Center V1 Client - Class AssetDiscoveryConfig (1.20.2)

Reference documentation and code samples for the Google Cloud Security Command Center V1 Client class AssetDiscoveryConfig.

The configuration used for Asset Discovery runs.

Generated from protobuf message google.cloud.securitycenter.v1.OrganizationSettings.AssetDiscoveryConfig

Namespace

Google \ Cloud \ SecurityCenter \ V1 \ OrganizationSettings

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ project_ids array

The project ids to use for filtering asset discovery.

↳ inclusion_mode int

The mode to use for filtering asset discovery.

↳ folder_ids array

The folder ids to use for filtering asset discovery. It consists of only digits, e.g., 756619654966.

getProjectIds

The project ids to use for filtering asset discovery.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setProjectIds

The project ids to use for filtering asset discovery.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this

getInclusionMode

The mode to use for filtering asset discovery.

Returns
TypeDescription
int

setInclusionMode

The mode to use for filtering asset discovery.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getFolderIds

The folder ids to use for filtering asset discovery.

It consists of only digits, e.g., 756619654966.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setFolderIds

The folder ids to use for filtering asset discovery.

It consists of only digits, e.g., 756619654966.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this