Reference documentation and code samples for the Workload Manager V1 API class Google::Cloud::WorkloadManager::V1::ExecutionResult.
The result of an execution.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#commands
def commands() -> ::Array<::Google::Cloud::WorkloadManager::V1::Command>
Returns
- (::Array<::Google::Cloud::WorkloadManager::V1::Command>) — The commands to remediate the violation.
#commands=
def commands=(value) -> ::Array<::Google::Cloud::WorkloadManager::V1::Command>
Parameter
- value (::Array<::Google::Cloud::WorkloadManager::V1::Command>) — The commands to remediate the violation.
Returns
- (::Array<::Google::Cloud::WorkloadManager::V1::Command>) — The commands to remediate the violation.
#documentation_url
def documentation_url() -> ::String
Returns
- (::String) — The URL for the documentation of the rule.
#documentation_url=
def documentation_url=(value) -> ::String
Parameter
- value (::String) — The URL for the documentation of the rule.
Returns
- (::String) — The URL for the documentation of the rule.
#resource
def resource() -> ::Google::Cloud::WorkloadManager::V1::Resource
Returns
- (::Google::Cloud::WorkloadManager::V1::Resource) — The resource that violates the rule.
#resource=
def resource=(value) -> ::Google::Cloud::WorkloadManager::V1::Resource
Parameter
- value (::Google::Cloud::WorkloadManager::V1::Resource) — The resource that violates the rule.
Returns
- (::Google::Cloud::WorkloadManager::V1::Resource) — The resource that violates the rule.
#rule
def rule() -> ::String
Returns
- (::String) — The rule that is violated in an evaluation.
#rule=
def rule=(value) -> ::String
Parameter
- value (::String) — The rule that is violated in an evaluation.
Returns
- (::String) — The rule that is violated in an evaluation.
#severity
def severity() -> ::String
Returns
- (::String) — The severity of violation.
#severity=
def severity=(value) -> ::String
Parameter
- value (::String) — The severity of violation.
Returns
- (::String) — The severity of violation.
#type
def type() -> ::Google::Cloud::WorkloadManager::V1::ExecutionResult::Type
Returns
- (::Google::Cloud::WorkloadManager::V1::ExecutionResult::Type) — Execution result type of the scanned resource.
#type=
def type=(value) -> ::Google::Cloud::WorkloadManager::V1::ExecutionResult::Type
Parameter
- value (::Google::Cloud::WorkloadManager::V1::ExecutionResult::Type) — Execution result type of the scanned resource.
Returns
- (::Google::Cloud::WorkloadManager::V1::ExecutionResult::Type) — Execution result type of the scanned resource.
#violation_details
def violation_details() -> ::Google::Cloud::WorkloadManager::V1::ViolationDetails
Returns
- (::Google::Cloud::WorkloadManager::V1::ViolationDetails) — The details of violation in an evaluation result.
#violation_details=
def violation_details=(value) -> ::Google::Cloud::WorkloadManager::V1::ViolationDetails
Parameter
- value (::Google::Cloud::WorkloadManager::V1::ViolationDetails) — The details of violation in an evaluation result.
Returns
- (::Google::Cloud::WorkloadManager::V1::ViolationDetails) — The details of violation in an evaluation result.
#violation_message
def violation_message() -> ::String
Returns
- (::String) — The violation message of an execution.
#violation_message=
def violation_message=(value) -> ::String
Parameter
- value (::String) — The violation message of an execution.
Returns
- (::String) — The violation message of an execution.