Class: Google::Cloud::SecurityCenter::V1::SimulateSecurityHealthAnalyticsCustomModuleResponse

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/securitycenter/v1/securitycenter_service.rb

Overview

Response message for simulating a SecurityHealthAnalyticsCustomModule against a given resource.

Defined Under Namespace

Classes: SimulatedResult

Instance Attribute Summary collapse

Instance Attribute Details

#result::Google::Cloud::SecurityCenter::V1::SimulateSecurityHealthAnalyticsCustomModuleResponse::SimulatedResult

Returns Result for test case in the corresponding request.



1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
# File 'proto_docs/google/cloud/securitycenter/v1/securitycenter_service.rb', line 1665

class SimulateSecurityHealthAnalyticsCustomModuleResponse
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Possible test result.
  # @!attribute [rw] finding
  #   @return [::Google::Cloud::SecurityCenter::V1::Finding]
  #     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.
  # @!attribute [rw] no_violation
  #   @return [::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.
  # @!attribute [rw] error
  #   @return [::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.
  class SimulatedResult
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end