public final class SecurityCenterService extends GeneratedMessageV3 implements SecurityCenterServiceOrBuilder
Represents a particular Security Command Center service. This includes
settings information such as top-level enablement in addition to individual
module settings. Service settings can be configured at the organization,
folder, or project level. Service settings at the organization or folder
level are inherited by those in descendant folders and projects.
Protobuf type google.cloud.securitycentermanagement.v1.SecurityCenterService
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
EFFECTIVE_ENABLEMENT_STATE_FIELD_NUMBER
public static final int EFFECTIVE_ENABLEMENT_STATE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
INTENDED_ENABLEMENT_STATE_FIELD_NUMBER
public static final int INTENDED_ENABLEMENT_STATE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
MODULES_FIELD_NUMBER
public static final int MODULES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
SERVICE_CONFIG_FIELD_NUMBER
public static final int SERVICE_CONFIG_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static SecurityCenterService getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static SecurityCenterService.Builder newBuilder()
newBuilder(SecurityCenterService prototype)
public static SecurityCenterService.Builder newBuilder(SecurityCenterService prototype)
public static SecurityCenterService parseDelimitedFrom(InputStream input)
public static SecurityCenterService parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static SecurityCenterService parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SecurityCenterService parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static SecurityCenterService parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SecurityCenterService parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SecurityCenterService parseFrom(CodedInputStream input)
public static SecurityCenterService parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static SecurityCenterService parseFrom(InputStream input)
public static SecurityCenterService parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static SecurityCenterService parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SecurityCenterService parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<SecurityCenterService> parser()
Methods
containsModules(String key)
public boolean containsModules(String key)
Optional. The module configurations, including the enablement state for the
service's modules. The absence of a module in the map implies that its
configuration is inherited from its parents.
map<string, .google.cloud.securitycentermanagement.v1.SecurityCenterService.ModuleSettings> modules = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
key |
String
|
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public SecurityCenterService getDefaultInstanceForType()
getEffectiveEnablementState()
public SecurityCenterService.EnablementState getEffectiveEnablementState()
Output only. The effective enablement state for the service at its level of
the resource hierarchy. If the intended state is set to INHERITED
, the
effective state will be inherited from the enablement state of an ancestor.
This state may differ from the intended enablement state due to billing
eligibility or onboarding status.
.google.cloud.securitycentermanagement.v1.SecurityCenterService.EnablementState effective_enablement_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getEffectiveEnablementStateValue()
public int getEffectiveEnablementStateValue()
Output only. The effective enablement state for the service at its level of
the resource hierarchy. If the intended state is set to INHERITED
, the
effective state will be inherited from the enablement state of an ancestor.
This state may differ from the intended enablement state due to billing
eligibility or onboarding status.
.google.cloud.securitycentermanagement.v1.SecurityCenterService.EnablementState effective_enablement_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
int |
The enum numeric value on the wire for effectiveEnablementState.
|
getIntendedEnablementState()
public SecurityCenterService.EnablementState getIntendedEnablementState()
Optional. The intended enablement state for the service at its level of the
resource hierarchy. A DISABLED
state will override all module enablement
states to DISABLED
.
.google.cloud.securitycentermanagement.v1.SecurityCenterService.EnablementState intended_enablement_state = 2 [(.google.api.field_behavior) = OPTIONAL];
getIntendedEnablementStateValue()
public int getIntendedEnablementStateValue()
Optional. The intended enablement state for the service at its level of the
resource hierarchy. A DISABLED
state will override all module enablement
states to DISABLED
.
.google.cloud.securitycentermanagement.v1.SecurityCenterService.EnablementState intended_enablement_state = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
int |
The enum numeric value on the wire for intendedEnablementState.
|
getModules() (deprecated)
public Map<String,SecurityCenterService.ModuleSettings> getModules()
getModulesCount()
public int getModulesCount()
Optional. The module configurations, including the enablement state for the
service's modules. The absence of a module in the map implies that its
configuration is inherited from its parents.
map<string, .google.cloud.securitycentermanagement.v1.SecurityCenterService.ModuleSettings> modules = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
int |
|
getModulesMap()
public Map<String,SecurityCenterService.ModuleSettings> getModulesMap()
Optional. The module configurations, including the enablement state for the
service's modules. The absence of a module in the map implies that its
configuration is inherited from its parents.
map<string, .google.cloud.securitycentermanagement.v1.SecurityCenterService.ModuleSettings> modules = 4 [(.google.api.field_behavior) = OPTIONAL];
getModulesOrDefault(String key, SecurityCenterService.ModuleSettings defaultValue)
public SecurityCenterService.ModuleSettings getModulesOrDefault(String key, SecurityCenterService.ModuleSettings defaultValue)
Optional. The module configurations, including the enablement state for the
service's modules. The absence of a module in the map implies that its
configuration is inherited from its parents.
map<string, .google.cloud.securitycentermanagement.v1.SecurityCenterService.ModuleSettings> modules = 4 [(.google.api.field_behavior) = OPTIONAL];
getModulesOrThrow(String key)
public SecurityCenterService.ModuleSettings getModulesOrThrow(String key)
Optional. The module configurations, including the enablement state for the
service's modules. The absence of a module in the map implies that its
configuration is inherited from its parents.
map<string, .google.cloud.securitycentermanagement.v1.SecurityCenterService.ModuleSettings> modules = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
key |
String
|
getName()
Identifier. The name of the service, in one of the following formats:
organizations/{organization}/locations/{location}/securityCenterServices/{service}
folders/{folder}/locations/{location}/securityCenterServices/{service}
projects/{project}/locations/{location}/securityCenterServices/{service}
The following values are valid for {service}
:
container-threat-detection
event-threat-detection
security-health-analytics
vm-threat-detection
web-security-scanner
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Returns |
Type |
Description |
String |
The name.
|
getNameBytes()
public ByteString getNameBytes()
Identifier. The name of the service, in one of the following formats:
organizations/{organization}/locations/{location}/securityCenterServices/{service}
folders/{folder}/locations/{location}/securityCenterServices/{service}
projects/{project}/locations/{location}/securityCenterServices/{service}
The following values are valid for {service}
:
container-threat-detection
event-threat-detection
security-health-analytics
vm-threat-detection
web-security-scanner
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Returns |
Type |
Description |
ByteString |
The bytes for name.
|
getParserForType()
public Parser<SecurityCenterService> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getServiceConfig()
public Struct getServiceConfig()
Optional. Additional service-specific configuration. Not all services will
utilize this field.
.google.protobuf.Struct service_config = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
Struct |
The serviceConfig.
|
getServiceConfigOrBuilder()
public StructOrBuilder getServiceConfigOrBuilder()
Optional. Additional service-specific configuration. Not all services will
utilize this field.
.google.protobuf.Struct service_config = 6 [(.google.api.field_behavior) = OPTIONAL];
getUpdateTime()
public Timestamp getUpdateTime()
Output only. The time the service was last updated. This could be due to an
explicit user update or due to a side effect of another system change, such
as billing subscription expiry.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
Timestamp |
The updateTime.
|
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The time the service was last updated. This could be due to an
explicit user update or due to a side effect of another system change, such
as billing subscription expiry.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasServiceConfig()
public boolean hasServiceConfig()
Optional. Additional service-specific configuration. Not all services will
utilize this field.
.google.protobuf.Struct service_config = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
Whether the serviceConfig field is set.
|
hasUpdateTime()
public boolean hasUpdateTime()
Output only. The time the service was last updated. This could be due to an
explicit user update or due to a side effect of another system change, such
as billing subscription expiry.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
boolean |
Whether the updateTime field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter |
Name |
Description |
number |
int
|
Returns |
Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public SecurityCenterService.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SecurityCenterService.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public SecurityCenterService.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides