Assured Workloads for Government V1 API - Class Google::Cloud::AssuredWorkloads::V1::AcknowledgeViolationRequest (v0.4.0)

Reference documentation and code samples for the Assured Workloads for Government V1 API class Google::Cloud::AssuredWorkloads::V1::AcknowledgeViolationRequest.

Request for acknowledging the violation Next Id: 4

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#comment

def comment() -> ::String
Returns
  • (::String) — Required. Business justification explaining the need for violation acknowledgement

#comment=

def comment=(value) -> ::String
Parameter
  • value (::String) — Required. Business justification explaining the need for violation acknowledgement
Returns
  • (::String) — Required. Business justification explaining the need for violation acknowledgement

#name

def name() -> ::String
Returns
  • (::String) — Required. The resource name of the Violation to acknowledge. Format: organizations/{organization}/locations/{location}/workloads/{workload}/violations/{violation}

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Required. The resource name of the Violation to acknowledge. Format: organizations/{organization}/locations/{location}/workloads/{workload}/violations/{violation}
Returns
  • (::String) — Required. The resource name of the Violation to acknowledge. Format: organizations/{organization}/locations/{location}/workloads/{workload}/violations/{violation}

#non_compliant_org_policy

def non_compliant_org_policy() -> ::String
Returns
  • (::String) — Optional. Name of the OrgPolicy which was modified with non-compliant change and resulted in this violation. Format: projects/{project_number}/policies/{constraint_name} folders/{folder_id}/policies/{constraint_name} organizations/{organization_id}/policies/{constraint_name}

#non_compliant_org_policy=

def non_compliant_org_policy=(value) -> ::String
Parameter
  • value (::String) — Optional. Name of the OrgPolicy which was modified with non-compliant change and resulted in this violation. Format: projects/{project_number}/policies/{constraint_name} folders/{folder_id}/policies/{constraint_name} organizations/{organization_id}/policies/{constraint_name}
Returns
  • (::String) — Optional. Name of the OrgPolicy which was modified with non-compliant change and resulted in this violation. Format: projects/{project_number}/policies/{constraint_name} folders/{folder_id}/policies/{constraint_name} organizations/{organization_id}/policies/{constraint_name}