Interface ComponentSettingsOrBuilder (0.51.0)

public interface ComponentSettingsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsDetectorSettings(String key)

public abstract 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;

Parameter
Name Description
key String
Returns
Type Description
boolean

getContainerThreatDetectionSettings()

public abstract ContainerThreatDetectionSettings getContainerThreatDetectionSettings()

Container Threate Detection specific settings For component, expect CONTAINER_THREAT_DETECTION

.google.cloud.securitycenter.settings.v1beta1.ContainerThreatDetectionSettings container_threat_detection_settings = 41;

Returns
Type Description
ContainerThreatDetectionSettings

The containerThreatDetectionSettings.

getContainerThreatDetectionSettingsOrBuilder()

public abstract ContainerThreatDetectionSettingsOrBuilder getContainerThreatDetectionSettingsOrBuilder()

Container Threate Detection specific settings For component, expect CONTAINER_THREAT_DETECTION

.google.cloud.securitycenter.settings.v1beta1.ContainerThreatDetectionSettings container_threat_detection_settings = 41;

Returns
Type Description
ContainerThreatDetectionSettingsOrBuilder

getDetectorSettings() (deprecated)

public abstract Map<String,ComponentSettings.DetectorSettings> getDetectorSettings()
Returns
Type Description
Map<String,DetectorSettings>

getDetectorSettingsCount()

public abstract 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;

Returns
Type Description
int

getDetectorSettingsMap()

public abstract 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;

Returns
Type Description
Map<String,DetectorSettings>

getDetectorSettingsOrDefault(String key, ComponentSettings.DetectorSettings defaultValue)

public abstract 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;

Parameters
Name Description
key String
defaultValue ComponentSettings.DetectorSettings
Returns
Type Description
ComponentSettings.DetectorSettings

getDetectorSettingsOrThrow(String key)

public abstract 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;

Parameter
Name Description
key String
Returns
Type Description
ComponentSettings.DetectorSettings

getEtag()

public abstract 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];

Returns
Type Description
String

The etag.

getEtagBytes()

public abstract 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];

Returns
Type Description
ByteString

The bytes for etag.

getEventThreatDetectionSettings()

public abstract EventThreatDetectionSettings getEventThreatDetectionSettings()

Event Threat Detection specific settings For component, expect EVENT_THREAT_DETECTION

.google.cloud.securitycenter.settings.v1beta1.EventThreatDetectionSettings event_threat_detection_settings = 42;

Returns
Type Description
EventThreatDetectionSettings

The eventThreatDetectionSettings.

getEventThreatDetectionSettingsOrBuilder()

public abstract EventThreatDetectionSettingsOrBuilder getEventThreatDetectionSettingsOrBuilder()

Event Threat Detection specific settings For component, expect EVENT_THREAT_DETECTION

.google.cloud.securitycenter.settings.v1beta1.EventThreatDetectionSettings event_threat_detection_settings = 42;

Returns
Type Description
EventThreatDetectionSettingsOrBuilder

getName()

public abstract 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;

Returns
Type Description
String

The name.

getNameBytes()

public abstract 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;

Returns
Type Description
ByteString

The bytes for name.

getProjectServiceAccount()

public abstract 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];

Returns
Type Description
String

The projectServiceAccount.

getProjectServiceAccountBytes()

public abstract 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];

Returns
Type Description
ByteString

The bytes for projectServiceAccount.

getSecurityHealthAnalyticsSettings()

public abstract SecurityHealthAnalyticsSettings getSecurityHealthAnalyticsSettings()

Security Health Analytics specific settings For component, expect SECURITY_HEALTH_ANALYTICS

.google.cloud.securitycenter.settings.v1beta1.SecurityHealthAnalyticsSettings security_health_analytics_settings = 44;

Returns
Type Description
SecurityHealthAnalyticsSettings

The securityHealthAnalyticsSettings.

getSecurityHealthAnalyticsSettingsOrBuilder()

public abstract SecurityHealthAnalyticsSettingsOrBuilder getSecurityHealthAnalyticsSettingsOrBuilder()

Security Health Analytics specific settings For component, expect SECURITY_HEALTH_ANALYTICS

.google.cloud.securitycenter.settings.v1beta1.SecurityHealthAnalyticsSettings security_health_analytics_settings = 44;

Returns
Type Description
SecurityHealthAnalyticsSettingsOrBuilder

getSpecificSettingsCase()

public abstract ComponentSettings.SpecificSettingsCase getSpecificSettingsCase()
Returns
Type Description
ComponentSettings.SpecificSettingsCase

getState()

public abstract ComponentEnablementState getState()

ENABLE to enable component, DISABLE to disable and INHERIT to inherit setting from ancestors.

.google.cloud.securitycenter.settings.v1beta1.ComponentEnablementState state = 2;

Returns
Type Description
ComponentEnablementState

The state.

getStateValue()

public abstract int getStateValue()

ENABLE to enable component, DISABLE to disable and INHERIT to inherit setting from ancestors.

.google.cloud.securitycenter.settings.v1beta1.ComponentEnablementState state = 2;

Returns
Type Description
int

The enum numeric value on the wire for state.

getUpdateTime()

public abstract Timestamp getUpdateTime()

Output only. The time these settings were last updated.

.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public abstract TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. The time these settings were last updated.

.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getWebSecurityScannerSettings()

public abstract WebSecurityScanner getWebSecurityScannerSettings()

Web Security Scanner specific settings For component, expect WEB_SECURITY_SCANNER

.google.cloud.securitycenter.settings.v1beta1.WebSecurityScanner web_security_scanner_settings = 40;

Returns
Type Description
WebSecurityScanner

The webSecurityScannerSettings.

getWebSecurityScannerSettingsOrBuilder()

public abstract WebSecurityScannerOrBuilder getWebSecurityScannerSettingsOrBuilder()

Web Security Scanner specific settings For component, expect WEB_SECURITY_SCANNER

.google.cloud.securitycenter.settings.v1beta1.WebSecurityScanner web_security_scanner_settings = 40;

Returns
Type Description
WebSecurityScannerOrBuilder

hasContainerThreatDetectionSettings()

public abstract boolean hasContainerThreatDetectionSettings()

Container Threate Detection specific settings For component, expect CONTAINER_THREAT_DETECTION

.google.cloud.securitycenter.settings.v1beta1.ContainerThreatDetectionSettings container_threat_detection_settings = 41;

Returns
Type Description
boolean

Whether the containerThreatDetectionSettings field is set.

hasEventThreatDetectionSettings()

public abstract boolean hasEventThreatDetectionSettings()

Event Threat Detection specific settings For component, expect EVENT_THREAT_DETECTION

.google.cloud.securitycenter.settings.v1beta1.EventThreatDetectionSettings event_threat_detection_settings = 42;

Returns
Type Description
boolean

Whether the eventThreatDetectionSettings field is set.

hasSecurityHealthAnalyticsSettings()

public abstract boolean hasSecurityHealthAnalyticsSettings()

Security Health Analytics specific settings For component, expect SECURITY_HEALTH_ANALYTICS

.google.cloud.securitycenter.settings.v1beta1.SecurityHealthAnalyticsSettings security_health_analytics_settings = 44;

Returns
Type Description
boolean

Whether the securityHealthAnalyticsSettings field is set.

hasUpdateTime()

public abstract boolean hasUpdateTime()

Output only. The time these settings were last updated.

.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the updateTime field is set.

hasWebSecurityScannerSettings()

public abstract boolean hasWebSecurityScannerSettings()

Web Security Scanner specific settings For component, expect WEB_SECURITY_SCANNER

.google.cloud.securitycenter.settings.v1beta1.WebSecurityScanner web_security_scanner_settings = 40;

Returns
Type Description
boolean

Whether the webSecurityScannerSettings field is set.