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 | |
---|---|
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.
Generated from protobuf field repeated string project_ids = 1;
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setProjectIds
The project ids to use for filtering asset discovery.
Generated from protobuf field repeated string project_ids = 1;
Parameter | |
---|---|
Name | Description |
var |
string[]
|
Returns | |
---|---|
Type | Description |
$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 | |
---|---|
Type | Description |
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 | |
---|---|
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.
Generated from protobuf field repeated string folder_ids = 3;
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.
Generated from protobuf field repeated string folder_ids = 3;
Parameter | |
---|---|
Name | Description |
var |
string[]
|
Returns | |
---|---|
Type | Description |
$this |