Class: Google::Cloud::WorkloadManager::V1::RuleExecutionResult
- Inherits:
-
Object
- Object
- Google::Cloud::WorkloadManager::V1::RuleExecutionResult
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/workloadmanager/v1/service.rb
Overview
Execution result summary per rule.
Defined Under Namespace
Modules: State
Instance Attribute Summary collapse
-
#message ⇒ ::String
Execution message, if any.
-
#result_count ⇒ ::Integer
Number of violations.
-
#rule ⇒ ::String
Rule name as plain text like
sap-hana-configured. -
#scanned_resource_count ⇒ ::Integer
Number of total scanned resources.
-
#state ⇒ ::Google::Cloud::WorkloadManager::V1::RuleExecutionResult::State
readonly
Output only.
Instance Attribute Details
#message ⇒ ::String
Returns Execution message, if any.
498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 |
# File 'proto_docs/google/cloud/workloadmanager/v1/service.rb', line 498 class RuleExecutionResult include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Possible states of a rule execution like SUCCESS, FAILURE, etc. module State # Unknown state STATE_UNSPECIFIED = 0 # Execution completed successfully STATE_SUCCESS = 1 # Execution completed with failures STATE_FAILURE = 2 # Execution was not executed STATE_SKIPPED = 3 end end |
#result_count ⇒ ::Integer
Returns Number of violations.
498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 |
# File 'proto_docs/google/cloud/workloadmanager/v1/service.rb', line 498 class RuleExecutionResult include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Possible states of a rule execution like SUCCESS, FAILURE, etc. module State # Unknown state STATE_UNSPECIFIED = 0 # Execution completed successfully STATE_SUCCESS = 1 # Execution completed with failures STATE_FAILURE = 2 # Execution was not executed STATE_SKIPPED = 3 end end |
#rule ⇒ ::String
Returns Rule name as plain text like sap-hana-configured.
498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 |
# File 'proto_docs/google/cloud/workloadmanager/v1/service.rb', line 498 class RuleExecutionResult include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Possible states of a rule execution like SUCCESS, FAILURE, etc. module State # Unknown state STATE_UNSPECIFIED = 0 # Execution completed successfully STATE_SUCCESS = 1 # Execution completed with failures STATE_FAILURE = 2 # Execution was not executed STATE_SKIPPED = 3 end end |
#scanned_resource_count ⇒ ::Integer
Returns Number of total scanned resources.
498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 |
# File 'proto_docs/google/cloud/workloadmanager/v1/service.rb', line 498 class RuleExecutionResult include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Possible states of a rule execution like SUCCESS, FAILURE, etc. module State # Unknown state STATE_UNSPECIFIED = 0 # Execution completed successfully STATE_SUCCESS = 1 # Execution completed with failures STATE_FAILURE = 2 # Execution was not executed STATE_SKIPPED = 3 end end |
#state ⇒ ::Google::Cloud::WorkloadManager::V1::RuleExecutionResult::State (readonly)
Returns Output only. The execution status.
498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 |
# File 'proto_docs/google/cloud/workloadmanager/v1/service.rb', line 498 class RuleExecutionResult include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Possible states of a rule execution like SUCCESS, FAILURE, etc. module State # Unknown state STATE_UNSPECIFIED = 0 # Execution completed successfully STATE_SUCCESS = 1 # Execution completed with failures STATE_FAILURE = 2 # Execution was not executed STATE_SKIPPED = 3 end end |