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

Reference documentation and code samples for the Security Command Center Management V1 API class Google::Cloud::SecurityCenterManagement::V1::CreateEventThreatDetectionCustomModuleRequest.

Request message for SecurityCenterManagement.CreateEventThreatDetectionCustomModule.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#event_threat_detection_custom_module

def event_threat_detection_custom_module() -> ::Google::Cloud::SecurityCenterManagement::V1::EventThreatDetectionCustomModule
Returns

#event_threat_detection_custom_module=

def event_threat_detection_custom_module=(value) -> ::Google::Cloud::SecurityCenterManagement::V1::EventThreatDetectionCustomModule
Parameter
Returns

#parent

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

    Required. Name of parent for the module, in one of the following formats:

    • organizations/{organization}/locations/{location}
    • folders/{folder}/locations/{location}
    • projects/{project}/locations/{location}

#parent=

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

    Required. Name of parent for the module, in one of the following formats:

    • organizations/{organization}/locations/{location}
    • folders/{folder}/locations/{location}
    • projects/{project}/locations/{location}
Returns
  • (::String) —

    Required. Name of parent for the module, in one of the following formats:

    • organizations/{organization}/locations/{location}
    • folders/{folder}/locations/{location}
    • projects/{project}/locations/{location}

#validate_only

def validate_only() -> ::Boolean
Returns
  • (::Boolean) — Optional. When set to true, the request will be validated (including IAM checks), but no module will be created. An OK response indicates that the request is valid, while an error response indicates that the request is invalid.

    If the request is valid, a subsequent request to create the module could still fail for one of the following reasons:

    • The state of your cloud resources changed; for example, you lost a required IAM permission
    • An error occurred during creation of the module

    Defaults to false.

#validate_only=

def validate_only=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Optional. When set to true, the request will be validated (including IAM checks), but no module will be created. An OK response indicates that the request is valid, while an error response indicates that the request is invalid.

    If the request is valid, a subsequent request to create the module could still fail for one of the following reasons:

    • The state of your cloud resources changed; for example, you lost a required IAM permission
    • An error occurred during creation of the module

    Defaults to false.

Returns
  • (::Boolean) — Optional. When set to true, the request will be validated (including IAM checks), but no module will be created. An OK response indicates that the request is valid, while an error response indicates that the request is invalid.

    If the request is valid, a subsequent request to create the module could still fail for one of the following reasons:

    • The state of your cloud resources changed; for example, you lost a required IAM permission
    • An error occurred during creation of the module

    Defaults to false.