Security Command Center Management V1 API - Class Google::Cloud::SecurityCenterManagement::V1::SecurityCenterService (v1.1.0)

Reference documentation and code samples for the Security Command Center Management V1 API class Google::Cloud::SecurityCenterManagement::V1::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.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#effective_enablement_state

def effective_enablement_state() -> ::Google::Cloud::SecurityCenterManagement::V1::SecurityCenterService::EnablementState
Returns

#intended_enablement_state

def intended_enablement_state() -> ::Google::Cloud::SecurityCenterManagement::V1::SecurityCenterService::EnablementState
Returns

#intended_enablement_state=

def intended_enablement_state=(value) -> ::Google::Cloud::SecurityCenterManagement::V1::SecurityCenterService::EnablementState
Parameter
Returns

#modules

def modules() -> ::Google::Protobuf::Map{::String => ::Google::Cloud::SecurityCenterManagement::V1::SecurityCenterService::ModuleSettings}
Returns
  • (::Google::Protobuf::Map{::String => ::Google::Cloud::SecurityCenterManagement::V1::SecurityCenterService::ModuleSettings}) — 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.

#modules=

def modules=(value) -> ::Google::Protobuf::Map{::String => ::Google::Cloud::SecurityCenterManagement::V1::SecurityCenterService::ModuleSettings}
Parameter
  • value (::Google::Protobuf::Map{::String => ::Google::Cloud::SecurityCenterManagement::V1::SecurityCenterService::ModuleSettings}) — 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.
Returns
  • (::Google::Protobuf::Map{::String => ::Google::Cloud::SecurityCenterManagement::V1::SecurityCenterService::ModuleSettings}) — 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.

#name

def name() -> ::String
Returns
  • (::String) —

    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

#name=

def name=(value) -> ::String
Parameter
  • value (::String) —

    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
Returns
  • (::String) —

    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

#service_config

def service_config() -> ::Google::Protobuf::Struct
Returns

#service_config=

def service_config=(value) -> ::Google::Protobuf::Struct
Parameter
  • value (::Google::Protobuf::Struct) — Optional. Additional service-specific configuration. Not all services will utilize this field.
Returns

#update_time

def update_time() -> ::Google::Protobuf::Timestamp
Returns
  • (::Google::Protobuf::Timestamp) — 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.