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.
#error=
def error=(value) -> ::Google::Rpc::Status
Parameter
- value (::Google::Rpc::Status) — Error encountered during the test.
Returns
- (::Google::Rpc::Status) — Error encountered during the test.
#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.
#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.
Returns
- (::Google::Cloud::SecurityCenterManagement::V1::SimulatedFinding) — Finding that would be published for the test case if a violation is detected.
#no_violation
def no_violation() -> ::Google::Protobuf::Empty
Returns
- (::Google::Protobuf::Empty) — Indicates that the test case does not trigger any violation.
#no_violation=
def no_violation=(value) -> ::Google::Protobuf::Empty
Parameter
- value (::Google::Protobuf::Empty) — Indicates that the test case does not trigger any violation.
Returns
- (::Google::Protobuf::Empty) — Indicates that the test case does not trigger any violation.