Interface SettingsOrBuilder (0.25.0)

public interface SettingsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsComponentSettings(String key)

public abstract boolean containsComponentSettings(String key)

The settings for detectors and/or scanners.

map<string, .google.cloud.securitycenter.settings.v1beta1.ComponentSettings> component_settings = 7;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

containsDetectorGroupSettings(String key)

public abstract boolean containsDetectorGroupSettings(String key)

Detector group settings for all Security Center components. The key is the name of the detector group and the value is the settings for that group.

map<string, .google.cloud.securitycenter.settings.v1beta1.Settings.DetectorGroupSettings> detector_group_settings = 8;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getBillingSettings()

public abstract BillingSettings getBillingSettings()

Billing settings

.google.cloud.securitycenter.settings.v1beta1.BillingSettings billing_settings = 2;

Returns
TypeDescription
BillingSettings

The billingSettings.

getBillingSettingsOrBuilder()

public abstract BillingSettingsOrBuilder getBillingSettingsOrBuilder()

Billing settings

.google.cloud.securitycenter.settings.v1beta1.BillingSettings billing_settings = 2;

Returns
TypeDescription
BillingSettingsOrBuilder

getComponentSettings()

public abstract Map<String,ComponentSettings> getComponentSettings()
Returns
TypeDescription
Map<String,ComponentSettings>

getComponentSettingsCount()

public abstract int getComponentSettingsCount()

The settings for detectors and/or scanners.

map<string, .google.cloud.securitycenter.settings.v1beta1.ComponentSettings> component_settings = 7;

Returns
TypeDescription
int

getComponentSettingsMap()

public abstract Map<String,ComponentSettings> getComponentSettingsMap()

The settings for detectors and/or scanners.

map<string, .google.cloud.securitycenter.settings.v1beta1.ComponentSettings> component_settings = 7;

Returns
TypeDescription
Map<String,ComponentSettings>

getComponentSettingsOrDefault(String key, ComponentSettings defaultValue)

public abstract ComponentSettings getComponentSettingsOrDefault(String key, ComponentSettings defaultValue)

The settings for detectors and/or scanners.

map<string, .google.cloud.securitycenter.settings.v1beta1.ComponentSettings> component_settings = 7;

Parameters
NameDescription
keyString
defaultValueComponentSettings
Returns
TypeDescription
ComponentSettings

getComponentSettingsOrThrow(String key)

public abstract ComponentSettings getComponentSettingsOrThrow(String key)

The settings for detectors and/or scanners.

map<string, .google.cloud.securitycenter.settings.v1beta1.ComponentSettings> component_settings = 7;

Parameter
NameDescription
keyString
Returns
TypeDescription
ComponentSettings

getDetectorGroupSettings()

public abstract Map<String,Settings.DetectorGroupSettings> getDetectorGroupSettings()
Returns
TypeDescription
Map<String,DetectorGroupSettings>

getDetectorGroupSettingsCount()

public abstract int getDetectorGroupSettingsCount()

Detector group settings for all Security Center components. The key is the name of the detector group and the value is the settings for that group.

map<string, .google.cloud.securitycenter.settings.v1beta1.Settings.DetectorGroupSettings> detector_group_settings = 8;

Returns
TypeDescription
int

getDetectorGroupSettingsMap()

public abstract Map<String,Settings.DetectorGroupSettings> getDetectorGroupSettingsMap()

Detector group settings for all Security Center components. The key is the name of the detector group and the value is the settings for that group.

map<string, .google.cloud.securitycenter.settings.v1beta1.Settings.DetectorGroupSettings> detector_group_settings = 8;

Returns
TypeDescription
Map<String,DetectorGroupSettings>

getDetectorGroupSettingsOrDefault(String key, Settings.DetectorGroupSettings defaultValue)

public abstract Settings.DetectorGroupSettings getDetectorGroupSettingsOrDefault(String key, Settings.DetectorGroupSettings defaultValue)

Detector group settings for all Security Center components. The key is the name of the detector group and the value is the settings for that group.

map<string, .google.cloud.securitycenter.settings.v1beta1.Settings.DetectorGroupSettings> detector_group_settings = 8;

Parameters
NameDescription
keyString
defaultValueSettings.DetectorGroupSettings
Returns
TypeDescription
Settings.DetectorGroupSettings

getDetectorGroupSettingsOrThrow(String key)

public abstract Settings.DetectorGroupSettings getDetectorGroupSettingsOrThrow(String key)

Detector group settings for all Security Center components. The key is the name of the detector group and the value is the settings for that group.

map<string, .google.cloud.securitycenter.settings.v1beta1.Settings.DetectorGroupSettings> detector_group_settings = 8;

Parameter
NameDescription
keyString
Returns
TypeDescription
Settings.DetectorGroupSettings

getEtag()

public abstract String getEtag()

A fingerprint used for optimistic concurrency. If none is provided on updates then the existing metadata will be blindly overwritten.

string etag = 9;

Returns
TypeDescription
String

The etag.

getEtagBytes()

public abstract ByteString getEtagBytes()

A fingerprint used for optimistic concurrency. If none is provided on updates then the existing metadata will be blindly overwritten.

string etag = 9;

Returns
TypeDescription
ByteString

The bytes for etag.

getName()

public abstract String getName()

The relative resource name of the settings resource. Formats:

  • organizations/{organization}/settings
  • folders/{folder}/settings
  • projects/{project}/settings
  • projects/{project}/locations/{location}/clusters/{cluster}/settings
  • projects/{project}/regions/{region}/clusters/{cluster}/settings
  • projects/{project}/zones/{zone}/clusters/{cluster}/settings

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

The relative resource name of the settings resource. Formats:

  • organizations/{organization}/settings
  • folders/{folder}/settings
  • projects/{project}/settings
  • projects/{project}/locations/{location}/clusters/{cluster}/settings
  • projects/{project}/regions/{region}/clusters/{cluster}/settings
  • projects/{project}/zones/{zone}/clusters/{cluster}/settings

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getOrgServiceAccount()

public abstract String getOrgServiceAccount()

Output only. The organization-level service account to be used for security center components. The component must have permission to "act as" the service account.

string org_service_account = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The orgServiceAccount.

getOrgServiceAccountBytes()

public abstract ByteString getOrgServiceAccountBytes()

Output only. The organization-level service account to be used for security center components. The component must have permission to "act as" the service account.

string org_service_account = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for orgServiceAccount.

getSinkSettings()

public abstract SinkSettings getSinkSettings()

Sink settings.

.google.cloud.securitycenter.settings.v1beta1.SinkSettings sink_settings = 6;

Returns
TypeDescription
SinkSettings

The sinkSettings.

getSinkSettingsOrBuilder()

public abstract SinkSettingsOrBuilder getSinkSettingsOrBuilder()

Sink settings.

.google.cloud.securitycenter.settings.v1beta1.SinkSettings sink_settings = 6;

Returns
TypeDescription
SinkSettingsOrBuilder

getState()

public abstract Settings.OnboardingState getState()

An enum representing the current on boarding state of SCC.

.google.cloud.securitycenter.settings.v1beta1.Settings.OnboardingState state = 3;

Returns
TypeDescription
Settings.OnboardingState

The state.

getStateValue()

public abstract int getStateValue()

An enum representing the current on boarding state of SCC.

.google.cloud.securitycenter.settings.v1beta1.Settings.OnboardingState state = 3;

Returns
TypeDescription
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 = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public abstract TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. The time these settings were last updated.

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

Returns
TypeDescription
TimestampOrBuilder

hasBillingSettings()

public abstract boolean hasBillingSettings()

Billing settings

.google.cloud.securitycenter.settings.v1beta1.BillingSettings billing_settings = 2;

Returns
TypeDescription
boolean

Whether the billingSettings field is set.

hasSinkSettings()

public abstract boolean hasSinkSettings()

Sink settings.

.google.cloud.securitycenter.settings.v1beta1.SinkSettings sink_settings = 6;

Returns
TypeDescription
boolean

Whether the sinkSettings field is set.

hasUpdateTime()

public abstract boolean hasUpdateTime()

Output only. The time these settings were last updated.

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

Returns
TypeDescription
boolean

Whether the updateTime field is set.