Security Center Management v1 API - Class SecurityCenterService (1.2.0)

public sealed class SecurityCenterService : IMessage<SecurityCenterService>, IEquatable<SecurityCenterService>, IDeepCloneable<SecurityCenterService>, IBufferMessage, IMessage

Reference documentation and code samples for the Security Center Management v1 API class SecurityCenterService.

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.

Inheritance

object > SecurityCenterService

Namespace

Google.Cloud.SecurityCenterManagement.V1

Assembly

Google.Cloud.SecurityCenterManagement.V1.dll

Constructors

SecurityCenterService()

public SecurityCenterService()

SecurityCenterService(SecurityCenterService)

public SecurityCenterService(SecurityCenterService other)
Parameter
Name Description
other SecurityCenterService

Properties

EffectiveEnablementState

public SecurityCenterService.Types.EnablementState EffectiveEnablementState { get; set; }

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.

Property Value
Type Description
SecurityCenterServiceTypesEnablementState

IntendedEnablementState

public SecurityCenterService.Types.EnablementState IntendedEnablementState { get; set; }

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.

Property Value
Type Description
SecurityCenterServiceTypesEnablementState

Modules

public MapField<string, SecurityCenterService.Types.ModuleSettings> Modules { get; }

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.

Property Value
Type Description
MapFieldstringSecurityCenterServiceTypesModuleSettings

Name

public string Name { get; set; }

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
Property Value
Type Description
string

SecurityCenterServiceName

public SecurityCenterServiceName SecurityCenterServiceName { get; set; }

SecurityCenterServiceName-typed view over the Name resource name property.

Property Value
Type Description
SecurityCenterServiceName

ServiceConfig

public Struct ServiceConfig { get; set; }

Optional. Additional service-specific configuration. Not all services will utilize this field.

Property Value
Type Description
Struct

UpdateTime

public Timestamp UpdateTime { get; set; }

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.

Property Value
Type Description
Timestamp