Cloud Security Command Center V1 API - Class Google::Cloud::SecurityCenter::V1::EventThreatDetectionCustomModule (v1.2.0)

Reference documentation and code samples for the Cloud Security Command Center V1 API class Google::Cloud::SecurityCenter::V1::EventThreatDetectionCustomModule.

Represents an instance of an Event Threat Detection custom module, including its full module name, display name, enablement state, and last updated time. You can create a custom module at the organization, folder, or project level. Custom modules that you create at the organization or folder level are inherited by child folders and projects.

Inherits

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#ancestor_module

def ancestor_module() -> ::String
Returns
  • (::String) — Output only. The closest ancestor module that this module inherits the enablement state from. The format is the same as the EventThreatDetectionCustomModule resource name.

#config

def config() -> ::Google::Protobuf::Struct
Returns
  • (::Google::Protobuf::Struct) — Config for the module. For the resident module, its config value is defined at this level. For the inherited module, its config value is inherited from the ancestor module.

#config=

def config=(value) -> ::Google::Protobuf::Struct
Parameter
  • value (::Google::Protobuf::Struct) — Config for the module. For the resident module, its config value is defined at this level. For the inherited module, its config value is inherited from the ancestor module.
Returns
  • (::Google::Protobuf::Struct) — Config for the module. For the resident module, its config value is defined at this level. For the inherited module, its config value is inherited from the ancestor module.

#description

def description() -> ::String
Returns
  • (::String) — The description for the module.

#description=

def description=(value) -> ::String
Parameter
  • value (::String) — The description for the module.
Returns
  • (::String) — The description for the module.

#display_name

def display_name() -> ::String
Returns
  • (::String) — The human readable name to be displayed for the module.

#display_name=

def display_name=(value) -> ::String
Parameter
  • value (::String) — The human readable name to be displayed for the module.
Returns
  • (::String) — The human readable name to be displayed for the module.

#enablement_state

def enablement_state() -> ::Google::Cloud::SecurityCenter::V1::EventThreatDetectionCustomModule::EnablementState
Returns

#enablement_state=

def enablement_state=(value) -> ::Google::Cloud::SecurityCenter::V1::EventThreatDetectionCustomModule::EnablementState
Parameter
Returns

#last_editor

def last_editor() -> ::String
Returns
  • (::String) — Output only. The editor the module was last updated by.

#name

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

    Immutable. The resource name of the Event Threat Detection custom module.

    Its format is:

    • organizations/{organization}/eventThreatDetectionSettings/customModules/{module}.
    • folders/{folder}/eventThreatDetectionSettings/customModules/{module}.
    • projects/{project}/eventThreatDetectionSettings/customModules/{module}.

#name=

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

    Immutable. The resource name of the Event Threat Detection custom module.

    Its format is:

    • organizations/{organization}/eventThreatDetectionSettings/customModules/{module}.
    • folders/{folder}/eventThreatDetectionSettings/customModules/{module}.
    • projects/{project}/eventThreatDetectionSettings/customModules/{module}.
Returns
  • (::String) —

    Immutable. The resource name of the Event Threat Detection custom module.

    Its format is:

    • organizations/{organization}/eventThreatDetectionSettings/customModules/{module}.
    • folders/{folder}/eventThreatDetectionSettings/customModules/{module}.
    • projects/{project}/eventThreatDetectionSettings/customModules/{module}.

#type

def type() -> ::String
Returns
  • (::String) — Type for the module. e.g. CONFIGURABLE_BAD_IP.

#type=

def type=(value) -> ::String
Parameter
  • value (::String) — Type for the module. e.g. CONFIGURABLE_BAD_IP.
Returns
  • (::String) — Type for the module. e.g. CONFIGURABLE_BAD_IP.

#update_time

def update_time() -> ::Google::Protobuf::Timestamp
Returns