public static enum OrganizationSettings.AssetDiscoveryConfig.InclusionMode extends Enum<OrganizationSettings.AssetDiscoveryConfig.InclusionMode> implements ProtocolMessageEnum
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 enum
google.cloud.securitycenter.v1p1beta1.OrganizationSettings.AssetDiscoveryConfig.InclusionMode
Enum Constant and Description |
---|
EXCLUDE
Asset Discovery will ignore all resources under the projects specified.
|
INCLUDE_ONLY
Asset Discovery will capture only the resources within the projects
specified.
|
INCLUSION_MODE_UNSPECIFIED
Unspecified.
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
EXCLUDE_VALUE
Asset Discovery will ignore all resources under the projects specified.
|
static int |
INCLUDE_ONLY_VALUE
Asset Discovery will capture only the resources within the projects
specified.
|
static int |
INCLUSION_MODE_UNSPECIFIED_VALUE
Unspecified.
|
public static final OrganizationSettings.AssetDiscoveryConfig.InclusionMode INCLUSION_MODE_UNSPECIFIED
Unspecified. Setting the mode with this value will disable inclusion/exclusion filtering for Asset Discovery.
INCLUSION_MODE_UNSPECIFIED = 0;
public static final OrganizationSettings.AssetDiscoveryConfig.InclusionMode INCLUDE_ONLY
Asset Discovery will capture only the resources within the projects specified. All other resources will be ignored.
INCLUDE_ONLY = 1;
public static final OrganizationSettings.AssetDiscoveryConfig.InclusionMode EXCLUDE
Asset Discovery will ignore all resources under the projects specified. All other resources will be retrieved.
EXCLUDE = 2;
public static final OrganizationSettings.AssetDiscoveryConfig.InclusionMode UNRECOGNIZED
public static final int INCLUSION_MODE_UNSPECIFIED_VALUE
Unspecified. Setting the mode with this value will disable inclusion/exclusion filtering for Asset Discovery.
INCLUSION_MODE_UNSPECIFIED = 0;
public static final int INCLUDE_ONLY_VALUE
Asset Discovery will capture only the resources within the projects specified. All other resources will be ignored.
INCLUDE_ONLY = 1;
public static final int EXCLUDE_VALUE
Asset Discovery will ignore all resources under the projects specified. All other resources will be retrieved.
EXCLUDE = 2;
public static OrganizationSettings.AssetDiscoveryConfig.InclusionMode[] values()
for (OrganizationSettings.AssetDiscoveryConfig.InclusionMode c : OrganizationSettings.AssetDiscoveryConfig.InclusionMode.values()) System.out.println(c);
public static OrganizationSettings.AssetDiscoveryConfig.InclusionMode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic final int getNumber()
getNumber
in interface Internal.EnumLite
getNumber
in interface ProtocolMessageEnum
@Deprecated public static OrganizationSettings.AssetDiscoveryConfig.InclusionMode valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static OrganizationSettings.AssetDiscoveryConfig.InclusionMode forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static Internal.EnumLiteMap<OrganizationSettings.AssetDiscoveryConfig.InclusionMode> internalGetValueMap()
public final Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface ProtocolMessageEnum
public final Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface ProtocolMessageEnum
public static final Descriptors.EnumDescriptor getDescriptor()
public static OrganizationSettings.AssetDiscoveryConfig.InclusionMode valueOf(Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.