Reference documentation and code samples for the Workload Manager V1 API class Google::Cloud::WorkloadManager::V1::ViolationDetails.
The violation in an evaluation result.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#asset
def asset() -> ::String
Returns
- (::String) — The name of the asset.
#asset=
def asset=(value) -> ::String
Parameter
- value (::String) — The name of the asset.
Returns
- (::String) — The name of the asset.
#observed
def observed() -> ::Google::Protobuf::Map{::String => ::String}
Returns
- (::Google::Protobuf::Map{::String => ::String}) — Details of the violation.
#observed=
def observed=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
- value (::Google::Protobuf::Map{::String => ::String}) — Details of the violation.
Returns
- (::Google::Protobuf::Map{::String => ::String}) — Details of the violation.
#rule_output
def rule_output() -> ::Array<::Google::Cloud::WorkloadManager::V1::RuleOutput>
Returns
- (::Array<::Google::Cloud::WorkloadManager::V1::RuleOutput>) — Output only. The rule output of the violation.
#service_account
def service_account() -> ::String
Returns
- (::String) — The service account associated with the resource.
#service_account=
def service_account=(value) -> ::String
Parameter
- value (::String) — The service account associated with the resource.
Returns
- (::String) — The service account associated with the resource.