Reference documentation and code samples for the Assured Workloads for Government V1 API class Google::Cloud::AssuredWorkloads::V1::Violation::Remediation.
Represents remediation guidance to resolve compliance violation for AssuredWorkload
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#compliant_values
def compliant_values() -> ::Array<::String>
Returns
- (::Array<::String>) — Values that can resolve the violation For example: for list org policy violations, this will either be the list of allowed or denied values
#compliant_values=
def compliant_values=(value) -> ::Array<::String>
Parameter
- value (::Array<::String>) — Values that can resolve the violation For example: for list org policy violations, this will either be the list of allowed or denied values
Returns
- (::Array<::String>) — Values that can resolve the violation For example: for list org policy violations, this will either be the list of allowed or denied values
#instructions
def instructions() -> ::Google::Cloud::AssuredWorkloads::V1::Violation::Remediation::Instructions
Returns
- (::Google::Cloud::AssuredWorkloads::V1::Violation::Remediation::Instructions) — Required. Remediation instructions to resolve violations
#instructions=
def instructions=(value) -> ::Google::Cloud::AssuredWorkloads::V1::Violation::Remediation::Instructions
Parameter
- value (::Google::Cloud::AssuredWorkloads::V1::Violation::Remediation::Instructions) — Required. Remediation instructions to resolve violations
Returns
- (::Google::Cloud::AssuredWorkloads::V1::Violation::Remediation::Instructions) — Required. Remediation instructions to resolve violations
#remediation_type
def remediation_type() -> ::Google::Cloud::AssuredWorkloads::V1::Violation::Remediation::RemediationType
Returns
- (::Google::Cloud::AssuredWorkloads::V1::Violation::Remediation::RemediationType) — Output only. Reemediation type based on the type of org policy values violated