- 0.56.0 (latest)
- 0.55.0
- 0.54.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.6
- 0.5.13
public static final class ComponentSettings.Builder extends GeneratedMessageV3.Builder<ComponentSettings.Builder> implements ComponentSettingsOrBuilder
Component Settings for Security Command Center
Protobuf type google.cloud.securitycenter.settings.v1beta1.ComponentSettings
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ComponentSettings.BuilderImplements
ComponentSettingsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ComponentSettings.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ComponentSettings.Builder |
build()
public ComponentSettings build()
Type | Description |
ComponentSettings |
buildPartial()
public ComponentSettings buildPartial()
Type | Description |
ComponentSettings |
clear()
public ComponentSettings.Builder clear()
Type | Description |
ComponentSettings.Builder |
clearContainerThreatDetectionSettings()
public ComponentSettings.Builder clearContainerThreatDetectionSettings()
Container Threate Detection specific settings For component, expect CONTAINER_THREAT_DETECTION
.google.cloud.securitycenter.settings.v1beta1.ContainerThreatDetectionSettings container_threat_detection_settings = 41;
Type | Description |
ComponentSettings.Builder |
clearDetectorSettings()
public ComponentSettings.Builder clearDetectorSettings()
Type | Description |
ComponentSettings.Builder |
clearEtag()
public ComponentSettings.Builder clearEtag()
Output only. An fingerprint used for optimistic concurrency. If none is provided on updates then the existing metadata will be blindly overwritten.
string etag = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ComponentSettings.Builder | This builder for chaining. |
clearEventThreatDetectionSettings()
public ComponentSettings.Builder clearEventThreatDetectionSettings()
Event Threat Detection specific settings For component, expect EVENT_THREAT_DETECTION
.google.cloud.securitycenter.settings.v1beta1.EventThreatDetectionSettings event_threat_detection_settings = 42;
Type | Description |
ComponentSettings.Builder |
clearField(Descriptors.FieldDescriptor field)
public ComponentSettings.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
ComponentSettings.Builder |
clearName()
public ComponentSettings.Builder clearName()
The relative resource name of the component settings. Formats:
organizations/{organization}/components/{component}/settings
folders/{folder}/components/{component}/settings
projects/{project}/components/{component}/settings
projects/{project}/locations/{location}/clusters/{cluster}/components/{component}/settings
projects/{project}/regions/{region}/clusters/{cluster}/components/{component}/settings
projects/{project}/zones/{zone}/clusters/{cluster}/components/{component}/settings
string name = 1;
Type | Description |
ComponentSettings.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ComponentSettings.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
ComponentSettings.Builder |
clearProjectServiceAccount()
public ComponentSettings.Builder clearProjectServiceAccount()
Output only. The service account to be used for security center component. The component must have permission to "act as" the service account.
string project_service_account = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ComponentSettings.Builder | This builder for chaining. |
clearSecurityHealthAnalyticsSettings()
public ComponentSettings.Builder clearSecurityHealthAnalyticsSettings()
Security Health Analytics specific settings For component, expect SECURITY_HEALTH_ANALYTICS
.google.cloud.securitycenter.settings.v1beta1.SecurityHealthAnalyticsSettings security_health_analytics_settings = 44;
Type | Description |
ComponentSettings.Builder |
clearSpecificSettings()
public ComponentSettings.Builder clearSpecificSettings()
Type | Description |
ComponentSettings.Builder |
clearState()
public ComponentSettings.Builder clearState()
ENABLE to enable component, DISABLE to disable and INHERIT to inherit setting from ancestors.
.google.cloud.securitycenter.settings.v1beta1.ComponentEnablementState state = 2;
Type | Description |
ComponentSettings.Builder | This builder for chaining. |
clearUpdateTime()
public ComponentSettings.Builder clearUpdateTime()
Output only. The time these settings were last updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ComponentSettings.Builder |
clearWebSecurityScannerSettings()
public ComponentSettings.Builder clearWebSecurityScannerSettings()
Web Security Scanner specific settings For component, expect WEB_SECURITY_SCANNER
.google.cloud.securitycenter.settings.v1beta1.WebSecurityScanner web_security_scanner_settings = 40;
Type | Description |
ComponentSettings.Builder |
clone()
public ComponentSettings.Builder clone()
Type | Description |
ComponentSettings.Builder |
containsDetectorSettings(String key)
public boolean containsDetectorSettings(String key)
Settings for detectors. Not all detectors must have settings present at each and every level in the hierarchy. If it is not present the setting will be inherited from its ancestors folders, organizations or the defaults.
map<string, .google.cloud.securitycenter.settings.v1beta1.ComponentSettings.DetectorSettings> detector_settings = 4;
Name | Description |
key | String |
Type | Description |
boolean |
getContainerThreatDetectionSettings()
public ContainerThreatDetectionSettings getContainerThreatDetectionSettings()
Container Threate Detection specific settings For component, expect CONTAINER_THREAT_DETECTION
.google.cloud.securitycenter.settings.v1beta1.ContainerThreatDetectionSettings container_threat_detection_settings = 41;
Type | Description |
ContainerThreatDetectionSettings | The containerThreatDetectionSettings. |
getContainerThreatDetectionSettingsBuilder()
public ContainerThreatDetectionSettings.Builder getContainerThreatDetectionSettingsBuilder()
Container Threate Detection specific settings For component, expect CONTAINER_THREAT_DETECTION
.google.cloud.securitycenter.settings.v1beta1.ContainerThreatDetectionSettings container_threat_detection_settings = 41;
Type | Description |
ContainerThreatDetectionSettings.Builder |
getContainerThreatDetectionSettingsOrBuilder()
public ContainerThreatDetectionSettingsOrBuilder getContainerThreatDetectionSettingsOrBuilder()
Container Threate Detection specific settings For component, expect CONTAINER_THREAT_DETECTION
.google.cloud.securitycenter.settings.v1beta1.ContainerThreatDetectionSettings container_threat_detection_settings = 41;
Type | Description |
ContainerThreatDetectionSettingsOrBuilder |
getDefaultInstanceForType()
public ComponentSettings getDefaultInstanceForType()
Type | Description |
ComponentSettings |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getDetectorSettings()
public Map<String,ComponentSettings.DetectorSettings> getDetectorSettings()
Use #getDetectorSettingsMap() instead.
Type | Description |
Map<String,DetectorSettings> |
getDetectorSettingsCount()
public int getDetectorSettingsCount()
Settings for detectors. Not all detectors must have settings present at each and every level in the hierarchy. If it is not present the setting will be inherited from its ancestors folders, organizations or the defaults.
map<string, .google.cloud.securitycenter.settings.v1beta1.ComponentSettings.DetectorSettings> detector_settings = 4;
Type | Description |
int |
getDetectorSettingsMap()
public Map<String,ComponentSettings.DetectorSettings> getDetectorSettingsMap()
Settings for detectors. Not all detectors must have settings present at each and every level in the hierarchy. If it is not present the setting will be inherited from its ancestors folders, organizations or the defaults.
map<string, .google.cloud.securitycenter.settings.v1beta1.ComponentSettings.DetectorSettings> detector_settings = 4;
Type | Description |
Map<String,DetectorSettings> |
getDetectorSettingsOrDefault(String key, ComponentSettings.DetectorSettings defaultValue)
public ComponentSettings.DetectorSettings getDetectorSettingsOrDefault(String key, ComponentSettings.DetectorSettings defaultValue)
Settings for detectors. Not all detectors must have settings present at each and every level in the hierarchy. If it is not present the setting will be inherited from its ancestors folders, organizations or the defaults.
map<string, .google.cloud.securitycenter.settings.v1beta1.ComponentSettings.DetectorSettings> detector_settings = 4;
Name | Description |
key | String |
defaultValue | ComponentSettings.DetectorSettings |
Type | Description |
ComponentSettings.DetectorSettings |
getDetectorSettingsOrThrow(String key)
public ComponentSettings.DetectorSettings getDetectorSettingsOrThrow(String key)
Settings for detectors. Not all detectors must have settings present at each and every level in the hierarchy. If it is not present the setting will be inherited from its ancestors folders, organizations or the defaults.
map<string, .google.cloud.securitycenter.settings.v1beta1.ComponentSettings.DetectorSettings> detector_settings = 4;
Name | Description |
key | String |
Type | Description |
ComponentSettings.DetectorSettings |
getEtag()
public String getEtag()
Output only. An fingerprint used for optimistic concurrency. If none is provided on updates then the existing metadata will be blindly overwritten.
string etag = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
String | The etag. |
getEtagBytes()
public ByteString getEtagBytes()
Output only. An fingerprint used for optimistic concurrency. If none is provided on updates then the existing metadata will be blindly overwritten.
string etag = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ByteString | The bytes for etag. |
getEventThreatDetectionSettings()
public EventThreatDetectionSettings getEventThreatDetectionSettings()
Event Threat Detection specific settings For component, expect EVENT_THREAT_DETECTION
.google.cloud.securitycenter.settings.v1beta1.EventThreatDetectionSettings event_threat_detection_settings = 42;
Type | Description |
EventThreatDetectionSettings | The eventThreatDetectionSettings. |
getEventThreatDetectionSettingsBuilder()
public EventThreatDetectionSettings.Builder getEventThreatDetectionSettingsBuilder()
Event Threat Detection specific settings For component, expect EVENT_THREAT_DETECTION
.google.cloud.securitycenter.settings.v1beta1.EventThreatDetectionSettings event_threat_detection_settings = 42;
Type | Description |
EventThreatDetectionSettings.Builder |
getEventThreatDetectionSettingsOrBuilder()
public EventThreatDetectionSettingsOrBuilder getEventThreatDetectionSettingsOrBuilder()
Event Threat Detection specific settings For component, expect EVENT_THREAT_DETECTION
.google.cloud.securitycenter.settings.v1beta1.EventThreatDetectionSettings event_threat_detection_settings = 42;
Type | Description |
EventThreatDetectionSettingsOrBuilder |
getMutableDetectorSettings()
public Map<String,ComponentSettings.DetectorSettings> getMutableDetectorSettings()
Use alternate mutation accessors instead.
Type | Description |
Map<String,DetectorSettings> |
getName()
public String getName()
The relative resource name of the component settings. Formats:
organizations/{organization}/components/{component}/settings
folders/{folder}/components/{component}/settings
projects/{project}/components/{component}/settings
projects/{project}/locations/{location}/clusters/{cluster}/components/{component}/settings
projects/{project}/regions/{region}/clusters/{cluster}/components/{component}/settings
projects/{project}/zones/{zone}/clusters/{cluster}/components/{component}/settings
string name = 1;
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
The relative resource name of the component settings. Formats:
organizations/{organization}/components/{component}/settings
folders/{folder}/components/{component}/settings
projects/{project}/components/{component}/settings
projects/{project}/locations/{location}/clusters/{cluster}/components/{component}/settings
projects/{project}/regions/{region}/clusters/{cluster}/components/{component}/settings
projects/{project}/zones/{zone}/clusters/{cluster}/components/{component}/settings
string name = 1;
Type | Description |
ByteString | The bytes for name. |
getProjectServiceAccount()
public String getProjectServiceAccount()
Output only. The service account to be used for security center component. The component must have permission to "act as" the service account.
string project_service_account = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
String | The projectServiceAccount. |
getProjectServiceAccountBytes()
public ByteString getProjectServiceAccountBytes()
Output only. The service account to be used for security center component. The component must have permission to "act as" the service account.
string project_service_account = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ByteString | The bytes for projectServiceAccount. |
getSecurityHealthAnalyticsSettings()
public SecurityHealthAnalyticsSettings getSecurityHealthAnalyticsSettings()
Security Health Analytics specific settings For component, expect SECURITY_HEALTH_ANALYTICS
.google.cloud.securitycenter.settings.v1beta1.SecurityHealthAnalyticsSettings security_health_analytics_settings = 44;
Type | Description |
SecurityHealthAnalyticsSettings | The securityHealthAnalyticsSettings. |
getSecurityHealthAnalyticsSettingsBuilder()
public SecurityHealthAnalyticsSettings.Builder getSecurityHealthAnalyticsSettingsBuilder()
Security Health Analytics specific settings For component, expect SECURITY_HEALTH_ANALYTICS
.google.cloud.securitycenter.settings.v1beta1.SecurityHealthAnalyticsSettings security_health_analytics_settings = 44;
Type | Description |
SecurityHealthAnalyticsSettings.Builder |
getSecurityHealthAnalyticsSettingsOrBuilder()
public SecurityHealthAnalyticsSettingsOrBuilder getSecurityHealthAnalyticsSettingsOrBuilder()
Security Health Analytics specific settings For component, expect SECURITY_HEALTH_ANALYTICS
.google.cloud.securitycenter.settings.v1beta1.SecurityHealthAnalyticsSettings security_health_analytics_settings = 44;
Type | Description |
SecurityHealthAnalyticsSettingsOrBuilder |
getSpecificSettingsCase()
public ComponentSettings.SpecificSettingsCase getSpecificSettingsCase()
Type | Description |
ComponentSettings.SpecificSettingsCase |
getState()
public ComponentEnablementState getState()
ENABLE to enable component, DISABLE to disable and INHERIT to inherit setting from ancestors.
.google.cloud.securitycenter.settings.v1beta1.ComponentEnablementState state = 2;
Type | Description |
ComponentEnablementState | The state. |
getStateValue()
public int getStateValue()
ENABLE to enable component, DISABLE to disable and INHERIT to inherit setting from ancestors.
.google.cloud.securitycenter.settings.v1beta1.ComponentEnablementState state = 2;
Type | Description |
int | The enum numeric value on the wire for state. |
getUpdateTime()
public Timestamp getUpdateTime()
Output only. The time these settings were last updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Timestamp | The updateTime. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()
Output only. The time these settings were last updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Builder |
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The time these settings were last updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
TimestampOrBuilder |
getWebSecurityScannerSettings()
public WebSecurityScanner getWebSecurityScannerSettings()
Web Security Scanner specific settings For component, expect WEB_SECURITY_SCANNER
.google.cloud.securitycenter.settings.v1beta1.WebSecurityScanner web_security_scanner_settings = 40;
Type | Description |
WebSecurityScanner | The webSecurityScannerSettings. |
getWebSecurityScannerSettingsBuilder()
public WebSecurityScanner.Builder getWebSecurityScannerSettingsBuilder()
Web Security Scanner specific settings For component, expect WEB_SECURITY_SCANNER
.google.cloud.securitycenter.settings.v1beta1.WebSecurityScanner web_security_scanner_settings = 40;
Type | Description |
WebSecurityScanner.Builder |
getWebSecurityScannerSettingsOrBuilder()
public WebSecurityScannerOrBuilder getWebSecurityScannerSettingsOrBuilder()
Web Security Scanner specific settings For component, expect WEB_SECURITY_SCANNER
.google.cloud.securitycenter.settings.v1beta1.WebSecurityScanner web_security_scanner_settings = 40;
Type | Description |
WebSecurityScannerOrBuilder |
hasContainerThreatDetectionSettings()
public boolean hasContainerThreatDetectionSettings()
Container Threate Detection specific settings For component, expect CONTAINER_THREAT_DETECTION
.google.cloud.securitycenter.settings.v1beta1.ContainerThreatDetectionSettings container_threat_detection_settings = 41;
Type | Description |
boolean | Whether the containerThreatDetectionSettings field is set. |
hasEventThreatDetectionSettings()
public boolean hasEventThreatDetectionSettings()
Event Threat Detection specific settings For component, expect EVENT_THREAT_DETECTION
.google.cloud.securitycenter.settings.v1beta1.EventThreatDetectionSettings event_threat_detection_settings = 42;
Type | Description |
boolean | Whether the eventThreatDetectionSettings field is set. |
hasSecurityHealthAnalyticsSettings()
public boolean hasSecurityHealthAnalyticsSettings()
Security Health Analytics specific settings For component, expect SECURITY_HEALTH_ANALYTICS
.google.cloud.securitycenter.settings.v1beta1.SecurityHealthAnalyticsSettings security_health_analytics_settings = 44;
Type | Description |
boolean | Whether the securityHealthAnalyticsSettings field is set. |
hasUpdateTime()
public boolean hasUpdateTime()
Output only. The time these settings were last updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
boolean | Whether the updateTime field is set. |
hasWebSecurityScannerSettings()
public boolean hasWebSecurityScannerSettings()
Web Security Scanner specific settings For component, expect WEB_SECURITY_SCANNER
.google.cloud.securitycenter.settings.v1beta1.WebSecurityScanner web_security_scanner_settings = 40;
Type | Description |
boolean | Whether the webSecurityScannerSettings field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeContainerThreatDetectionSettings(ContainerThreatDetectionSettings value)
public ComponentSettings.Builder mergeContainerThreatDetectionSettings(ContainerThreatDetectionSettings value)
Container Threate Detection specific settings For component, expect CONTAINER_THREAT_DETECTION
.google.cloud.securitycenter.settings.v1beta1.ContainerThreatDetectionSettings container_threat_detection_settings = 41;
Name | Description |
value | ContainerThreatDetectionSettings |
Type | Description |
ComponentSettings.Builder |
mergeEventThreatDetectionSettings(EventThreatDetectionSettings value)
public ComponentSettings.Builder mergeEventThreatDetectionSettings(EventThreatDetectionSettings value)
Event Threat Detection specific settings For component, expect EVENT_THREAT_DETECTION
.google.cloud.securitycenter.settings.v1beta1.EventThreatDetectionSettings event_threat_detection_settings = 42;
Name | Description |
value | EventThreatDetectionSettings |
Type | Description |
ComponentSettings.Builder |
mergeFrom(ComponentSettings other)
public ComponentSettings.Builder mergeFrom(ComponentSettings other)
Name | Description |
other | ComponentSettings |
Type | Description |
ComponentSettings.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ComponentSettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ComponentSettings.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public ComponentSettings.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
ComponentSettings.Builder |
mergeSecurityHealthAnalyticsSettings(SecurityHealthAnalyticsSettings value)
public ComponentSettings.Builder mergeSecurityHealthAnalyticsSettings(SecurityHealthAnalyticsSettings value)
Security Health Analytics specific settings For component, expect SECURITY_HEALTH_ANALYTICS
.google.cloud.securitycenter.settings.v1beta1.SecurityHealthAnalyticsSettings security_health_analytics_settings = 44;
Name | Description |
value | SecurityHealthAnalyticsSettings |
Type | Description |
ComponentSettings.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ComponentSettings.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ComponentSettings.Builder |
mergeUpdateTime(Timestamp value)
public ComponentSettings.Builder mergeUpdateTime(Timestamp value)
Output only. The time these settings were last updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
ComponentSettings.Builder |
mergeWebSecurityScannerSettings(WebSecurityScanner value)
public ComponentSettings.Builder mergeWebSecurityScannerSettings(WebSecurityScanner value)
Web Security Scanner specific settings For component, expect WEB_SECURITY_SCANNER
.google.cloud.securitycenter.settings.v1beta1.WebSecurityScanner web_security_scanner_settings = 40;
Name | Description |
value | WebSecurityScanner |
Type | Description |
ComponentSettings.Builder |
putAllDetectorSettings(Map<String,ComponentSettings.DetectorSettings> values)
public ComponentSettings.Builder putAllDetectorSettings(Map<String,ComponentSettings.DetectorSettings> values)
Settings for detectors. Not all detectors must have settings present at each and every level in the hierarchy. If it is not present the setting will be inherited from its ancestors folders, organizations or the defaults.
map<string, .google.cloud.securitycenter.settings.v1beta1.ComponentSettings.DetectorSettings> detector_settings = 4;
Name | Description |
values | Map<String,DetectorSettings> |
Type | Description |
ComponentSettings.Builder |
putDetectorSettings(String key, ComponentSettings.DetectorSettings value)
public ComponentSettings.Builder putDetectorSettings(String key, ComponentSettings.DetectorSettings value)
Settings for detectors. Not all detectors must have settings present at each and every level in the hierarchy. If it is not present the setting will be inherited from its ancestors folders, organizations or the defaults.
map<string, .google.cloud.securitycenter.settings.v1beta1.ComponentSettings.DetectorSettings> detector_settings = 4;
Name | Description |
key | String |
value | ComponentSettings.DetectorSettings |
Type | Description |
ComponentSettings.Builder |
removeDetectorSettings(String key)
public ComponentSettings.Builder removeDetectorSettings(String key)
Settings for detectors. Not all detectors must have settings present at each and every level in the hierarchy. If it is not present the setting will be inherited from its ancestors folders, organizations or the defaults.
map<string, .google.cloud.securitycenter.settings.v1beta1.ComponentSettings.DetectorSettings> detector_settings = 4;
Name | Description |
key | String |
Type | Description |
ComponentSettings.Builder |
setContainerThreatDetectionSettings(ContainerThreatDetectionSettings value)
public ComponentSettings.Builder setContainerThreatDetectionSettings(ContainerThreatDetectionSettings value)
Container Threate Detection specific settings For component, expect CONTAINER_THREAT_DETECTION
.google.cloud.securitycenter.settings.v1beta1.ContainerThreatDetectionSettings container_threat_detection_settings = 41;
Name | Description |
value | ContainerThreatDetectionSettings |
Type | Description |
ComponentSettings.Builder |
setContainerThreatDetectionSettings(ContainerThreatDetectionSettings.Builder builderForValue)
public ComponentSettings.Builder setContainerThreatDetectionSettings(ContainerThreatDetectionSettings.Builder builderForValue)
Container Threate Detection specific settings For component, expect CONTAINER_THREAT_DETECTION
.google.cloud.securitycenter.settings.v1beta1.ContainerThreatDetectionSettings container_threat_detection_settings = 41;
Name | Description |
builderForValue | ContainerThreatDetectionSettings.Builder |
Type | Description |
ComponentSettings.Builder |
setEtag(String value)
public ComponentSettings.Builder setEtag(String value)
Output only. An fingerprint used for optimistic concurrency. If none is provided on updates then the existing metadata will be blindly overwritten.
string etag = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | String The etag to set. |
Type | Description |
ComponentSettings.Builder | This builder for chaining. |
setEtagBytes(ByteString value)
public ComponentSettings.Builder setEtagBytes(ByteString value)
Output only. An fingerprint used for optimistic concurrency. If none is provided on updates then the existing metadata will be blindly overwritten.
string etag = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | ByteString The bytes for etag to set. |
Type | Description |
ComponentSettings.Builder | This builder for chaining. |
setEventThreatDetectionSettings(EventThreatDetectionSettings value)
public ComponentSettings.Builder setEventThreatDetectionSettings(EventThreatDetectionSettings value)
Event Threat Detection specific settings For component, expect EVENT_THREAT_DETECTION
.google.cloud.securitycenter.settings.v1beta1.EventThreatDetectionSettings event_threat_detection_settings = 42;
Name | Description |
value | EventThreatDetectionSettings |
Type | Description |
ComponentSettings.Builder |
setEventThreatDetectionSettings(EventThreatDetectionSettings.Builder builderForValue)
public ComponentSettings.Builder setEventThreatDetectionSettings(EventThreatDetectionSettings.Builder builderForValue)
Event Threat Detection specific settings For component, expect EVENT_THREAT_DETECTION
.google.cloud.securitycenter.settings.v1beta1.EventThreatDetectionSettings event_threat_detection_settings = 42;
Name | Description |
builderForValue | EventThreatDetectionSettings.Builder |
Type | Description |
ComponentSettings.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ComponentSettings.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ComponentSettings.Builder |
setName(String value)
public ComponentSettings.Builder setName(String value)
The relative resource name of the component settings. Formats:
organizations/{organization}/components/{component}/settings
folders/{folder}/components/{component}/settings
projects/{project}/components/{component}/settings
projects/{project}/locations/{location}/clusters/{cluster}/components/{component}/settings
projects/{project}/regions/{region}/clusters/{cluster}/components/{component}/settings
projects/{project}/zones/{zone}/clusters/{cluster}/components/{component}/settings
string name = 1;
Name | Description |
value | String The name to set. |
Type | Description |
ComponentSettings.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public ComponentSettings.Builder setNameBytes(ByteString value)
The relative resource name of the component settings. Formats:
organizations/{organization}/components/{component}/settings
folders/{folder}/components/{component}/settings
projects/{project}/components/{component}/settings
projects/{project}/locations/{location}/clusters/{cluster}/components/{component}/settings
projects/{project}/regions/{region}/clusters/{cluster}/components/{component}/settings
projects/{project}/zones/{zone}/clusters/{cluster}/components/{component}/settings
string name = 1;
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
ComponentSettings.Builder | This builder for chaining. |
setProjectServiceAccount(String value)
public ComponentSettings.Builder setProjectServiceAccount(String value)
Output only. The service account to be used for security center component. The component must have permission to "act as" the service account.
string project_service_account = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | String The projectServiceAccount to set. |
Type | Description |
ComponentSettings.Builder | This builder for chaining. |
setProjectServiceAccountBytes(ByteString value)
public ComponentSettings.Builder setProjectServiceAccountBytes(ByteString value)
Output only. The service account to be used for security center component. The component must have permission to "act as" the service account.
string project_service_account = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | ByteString The bytes for projectServiceAccount to set. |
Type | Description |
ComponentSettings.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ComponentSettings.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
ComponentSettings.Builder |
setSecurityHealthAnalyticsSettings(SecurityHealthAnalyticsSettings value)
public ComponentSettings.Builder setSecurityHealthAnalyticsSettings(SecurityHealthAnalyticsSettings value)
Security Health Analytics specific settings For component, expect SECURITY_HEALTH_ANALYTICS
.google.cloud.securitycenter.settings.v1beta1.SecurityHealthAnalyticsSettings security_health_analytics_settings = 44;
Name | Description |
value | SecurityHealthAnalyticsSettings |
Type | Description |
ComponentSettings.Builder |
setSecurityHealthAnalyticsSettings(SecurityHealthAnalyticsSettings.Builder builderForValue)
public ComponentSettings.Builder setSecurityHealthAnalyticsSettings(SecurityHealthAnalyticsSettings.Builder builderForValue)
Security Health Analytics specific settings For component, expect SECURITY_HEALTH_ANALYTICS
.google.cloud.securitycenter.settings.v1beta1.SecurityHealthAnalyticsSettings security_health_analytics_settings = 44;
Name | Description |
builderForValue | SecurityHealthAnalyticsSettings.Builder |
Type | Description |
ComponentSettings.Builder |
setState(ComponentEnablementState value)
public ComponentSettings.Builder setState(ComponentEnablementState value)
ENABLE to enable component, DISABLE to disable and INHERIT to inherit setting from ancestors.
.google.cloud.securitycenter.settings.v1beta1.ComponentEnablementState state = 2;
Name | Description |
value | ComponentEnablementState The state to set. |
Type | Description |
ComponentSettings.Builder | This builder for chaining. |
setStateValue(int value)
public ComponentSettings.Builder setStateValue(int value)
ENABLE to enable component, DISABLE to disable and INHERIT to inherit setting from ancestors.
.google.cloud.securitycenter.settings.v1beta1.ComponentEnablementState state = 2;
Name | Description |
value | int The enum numeric value on the wire for state to set. |
Type | Description |
ComponentSettings.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final ComponentSettings.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ComponentSettings.Builder |
setUpdateTime(Timestamp value)
public ComponentSettings.Builder setUpdateTime(Timestamp value)
Output only. The time these settings were last updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
ComponentSettings.Builder |
setUpdateTime(Timestamp.Builder builderForValue)
public ComponentSettings.Builder setUpdateTime(Timestamp.Builder builderForValue)
Output only. The time these settings were last updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
builderForValue | Builder |
Type | Description |
ComponentSettings.Builder |
setWebSecurityScannerSettings(WebSecurityScanner value)
public ComponentSettings.Builder setWebSecurityScannerSettings(WebSecurityScanner value)
Web Security Scanner specific settings For component, expect WEB_SECURITY_SCANNER
.google.cloud.securitycenter.settings.v1beta1.WebSecurityScanner web_security_scanner_settings = 40;
Name | Description |
value | WebSecurityScanner |
Type | Description |
ComponentSettings.Builder |
setWebSecurityScannerSettings(WebSecurityScanner.Builder builderForValue)
public ComponentSettings.Builder setWebSecurityScannerSettings(WebSecurityScanner.Builder builderForValue)
Web Security Scanner specific settings For component, expect WEB_SECURITY_SCANNER
.google.cloud.securitycenter.settings.v1beta1.WebSecurityScanner web_security_scanner_settings = 40;
Name | Description |
builderForValue | WebSecurityScanner.Builder |
Type | Description |
ComponentSettings.Builder |