public static enum OrganizationSettings.AssetDiscoveryConfig.InclusionMode extends Enum<OrganizationSettings.AssetDiscoveryConfig.InclusionMode> implements com.google.protobuf.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.v1beta1.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.
|
| Modifier and Type | Method and Description |
|---|---|
static OrganizationSettings.AssetDiscoveryConfig.InclusionMode |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<OrganizationSettings.AssetDiscoveryConfig.InclusionMode> |
internalGetValueMap() |
static OrganizationSettings.AssetDiscoveryConfig.InclusionMode |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static OrganizationSettings.AssetDiscoveryConfig.InclusionMode |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static OrganizationSettings.AssetDiscoveryConfig.InclusionMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OrganizationSettings.AssetDiscoveryConfig.InclusionMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
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 com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static OrganizationSettings.AssetDiscoveryConfig.InclusionMode valueOf(int value)
forNumber(int) instead.public static OrganizationSettings.AssetDiscoveryConfig.InclusionMode forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<OrganizationSettings.AssetDiscoveryConfig.InclusionMode> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static OrganizationSettings.AssetDiscoveryConfig.InclusionMode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2019 Google LLC. All rights reserved.