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 \ OrganizationSettingsMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
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 | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setProjectIds
The project ids to use for filtering asset discovery.
| Parameter | |
|---|---|
| Name | Description |
var |
string[]
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getInclusionMode
The mode to use for filtering asset discovery.
| Returns | |
|---|---|
| Type | Description |
int |
|
setInclusionMode
The mode to use for filtering asset discovery.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getFolderIds
The folder ids to use for filtering asset discovery.
It consists of only digits, e.g., 756619654966.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setFolderIds
The folder ids to use for filtering asset discovery.
It consists of only digits, e.g., 756619654966.
| Parameter | |
|---|---|
| Name | Description |
var |
string[]
|
| Returns | |
|---|---|
| Type | Description |
$this |
|