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
-
(::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
-
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.
-
(::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
-
(::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
-
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.
-
(::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
-
(::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
-
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.
-
(::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.