Google Cloud Security Command Center V1p1beta1 Client - Class AssetDiscoveryConfig (1.13.1)

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

The configuration used for Asset Discovery runs.

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

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.

Generated from protobuf field repeated string project_ids = 1;

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setProjectIds

The project ids to use for filtering asset discovery.

Generated from protobuf field repeated string project_ids = 1;

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this

getInclusionMode

The mode to use for filtering asset discovery.

Generated from protobuf field .google.cloud.securitycenter.v1p1beta1.OrganizationSettings.AssetDiscoveryConfig.InclusionMode inclusion_mode = 2;

Returns
TypeDescription
int

setInclusionMode

The mode to use for filtering asset discovery.

Generated from protobuf field .google.cloud.securitycenter.v1p1beta1.OrganizationSettings.AssetDiscoveryConfig.InclusionMode inclusion_mode = 2;

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.

Generated from protobuf field repeated string folder_ids = 3;

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setFolderIds

The folder ids to use for filtering asset discovery.

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

Generated from protobuf field repeated string folder_ids = 3;

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this