Security Command Center Management V1 API - Class Google::Cloud::SecurityCenterManagement::V1::SimulateSecurityHealthAnalyticsCustomModuleResponse::SimulatedResult (v1.3.0)

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

Possible test result.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#error

def error() -> ::Google::Rpc::Status
Returns
  • (::Google::Rpc::Status) — Error encountered during the test.

    Note: The following fields are mutually exclusive: error, finding, no_violation. If a field in that set is populated, all other fields in the set will automatically be cleared.

#error=

def error=(value) -> ::Google::Rpc::Status
Parameter
  • value (::Google::Rpc::Status) — Error encountered during the test.

    Note: The following fields are mutually exclusive: error, finding, no_violation. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Rpc::Status) — Error encountered during the test.

    Note: The following fields are mutually exclusive: error, finding, no_violation. If a field in that set is populated, all other fields in the set will automatically be cleared.

#finding

def finding() -> ::Google::Cloud::SecurityCenterManagement::V1::SimulatedFinding
Returns
  • (::Google::Cloud::SecurityCenterManagement::V1::SimulatedFinding) — Finding that would be published for the test case if a violation is detected.

    Note: The following fields are mutually exclusive: finding, no_violation, error. If a field in that set is populated, all other fields in the set will automatically be cleared.

#finding=

def finding=(value) -> ::Google::Cloud::SecurityCenterManagement::V1::SimulatedFinding
Parameter
  • value (::Google::Cloud::SecurityCenterManagement::V1::SimulatedFinding) — Finding that would be published for the test case if a violation is detected.

    Note: The following fields are mutually exclusive: finding, no_violation, error. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::SecurityCenterManagement::V1::SimulatedFinding) — Finding that would be published for the test case if a violation is detected.

    Note: The following fields are mutually exclusive: finding, no_violation, error. If a field in that set is populated, all other fields in the set will automatically be cleared.

#no_violation

def no_violation() -> ::Google::Protobuf::Empty
Returns
  • (::Google::Protobuf::Empty) — Indicates that the test case does not trigger any violation.

    Note: The following fields are mutually exclusive: no_violation, finding, error. If a field in that set is populated, all other fields in the set will automatically be cleared.

#no_violation=

def no_violation=(value) -> ::Google::Protobuf::Empty
Parameter
  • value (::Google::Protobuf::Empty) — Indicates that the test case does not trigger any violation.

    Note: The following fields are mutually exclusive: no_violation, finding, error. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Protobuf::Empty) — Indicates that the test case does not trigger any violation.

    Note: The following fields are mutually exclusive: no_violation, finding, error. If a field in that set is populated, all other fields in the set will automatically be cleared.