Reference documentation and code samples for the Workload Manager V1 API class Google::Cloud::WorkloadManager::V1::RuleExecutionResult.
Execution result summary per rule.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#message
def message() -> ::String
Returns
- (::String) — Execution message, if any.
#message=
def message=(value) -> ::String
Parameter
- value (::String) — Execution message, if any.
Returns
- (::String) — Execution message, if any.
#result_count
def result_count() -> ::Integer
Returns
- (::Integer) — Number of violations.
#result_count=
def result_count=(value) -> ::Integer
Parameter
- value (::Integer) — Number of violations.
Returns
- (::Integer) — Number of violations.
#rule
def rule() -> ::String
Returns
-
(::String) — Rule name as plain text like
sap-hana-configured.
#rule=
def rule=(value) -> ::String
Parameter
-
value (::String) — Rule name as plain text like
sap-hana-configured.
Returns
-
(::String) — Rule name as plain text like
sap-hana-configured.
#scanned_resource_count
def scanned_resource_count() -> ::Integer
Returns
- (::Integer) — Number of total scanned resources.
#scanned_resource_count=
def scanned_resource_count=(value) -> ::Integer
Parameter
- value (::Integer) — Number of total scanned resources.
Returns
- (::Integer) — Number of total scanned resources.
#state
def state() -> ::Google::Cloud::WorkloadManager::V1::RuleExecutionResult::State
Returns
- (::Google::Cloud::WorkloadManager::V1::RuleExecutionResult::State) — Output only. The execution status.