Google Cloud Security Command Center V1 Client - Class InclusionMode (1.28.2)

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

The mode of inclusion when running Asset Discovery.

Asset discovery can be limited by explicitly identifying projects to be included or excluded. If INCLUDE_ONLY is set, then only those projects within the organization and their children are discovered during asset discovery. If EXCLUDE is set, then projects that don't match those projects are discovered during asset discovery. If neither are set, then all projects within the organization are discovered during asset discovery.

Protobuf type google.cloud.securitycenter.v1.OrganizationSettings.AssetDiscoveryConfig.InclusionMode

Namespace

Google \ Cloud \ SecurityCenter \ V1 \ OrganizationSettings \ AssetDiscoveryConfig

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

INCLUSION_MODE_UNSPECIFIED

Value: 0

Unspecified. Setting the mode with this value will disable inclusion/exclusion filtering for Asset Discovery.

Generated from protobuf enum INCLUSION_MODE_UNSPECIFIED = 0;

INCLUDE_ONLY

Value: 1

Asset Discovery will capture only the resources within the projects specified. All other resources will be ignored.

Generated from protobuf enum INCLUDE_ONLY = 1;

EXCLUDE

Value: 2

Asset Discovery will ignore all resources under the projects specified.

All other resources will be retrieved.

Generated from protobuf enum EXCLUDE = 2;