Assured Workloads for Government V1 API - Class Google::Cloud::AssuredWorkloads::V1::Violation (v1.0.1)

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

Workload monitoring Violation.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#acknowledged

def acknowledged() -> ::Boolean
Returns
  • (::Boolean) — Output only. A boolean that indicates if the violation is acknowledged

#acknowledgement_time

def acknowledgement_time() -> ::Google::Protobuf::Timestamp
Returns
  • (::Google::Protobuf::Timestamp) — Optional. Timestamp when this violation was acknowledged last. This will be absent when acknowledged field is marked as false.

#acknowledgement_time=

def acknowledgement_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
  • value (::Google::Protobuf::Timestamp) — Optional. Timestamp when this violation was acknowledged last. This will be absent when acknowledged field is marked as false.
Returns
  • (::Google::Protobuf::Timestamp) — Optional. Timestamp when this violation was acknowledged last. This will be absent when acknowledged field is marked as false.
def audit_log_link() -> ::String
Returns
  • (::String) — Output only. Immutable. Audit Log Link for violated resource Format: https://console.cloud.google.com/logs/query;query={logName}{protoPayload.resourceName}{timeRange}{folder}

#begin_time

def begin_time() -> ::Google::Protobuf::Timestamp
Returns

#category

def category() -> ::String
Returns
  • (::String) — Output only. Category under which this violation is mapped. e.g. Location, Service Usage, Access, Encryption, etc.

#description

def description() -> ::String
Returns
  • (::String) — Output only. Description for the Violation. e.g. OrgPolicy gcp.resourceLocations has non compliant value.
def exception_audit_log_link() -> ::String
Returns
  • (::String) — Output only. Immutable. Audit Log link to find business justification provided for violation exception. Format: https://console.cloud.google.com/logs/query;query={logName}{protoPayload.resourceName}{protoPayload.methodName}{timeRange}{organization}

#name

def name() -> ::String
Returns
  • (::String) — Output only. Immutable. Name of the Violation. Format: organizations/{organization}/locations/{location}/workloads/{workload_id}/violations/{violations_id}

#non_compliant_org_policy

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

#org_policy_constraint

def org_policy_constraint() -> ::String
Returns
  • (::String) — Output only. Immutable. The org-policy-constraint that was incorrectly changed, which resulted in this violation.

#remediation

def remediation() -> ::Google::Cloud::AssuredWorkloads::V1::Violation::Remediation
Returns

#resolve_time

def resolve_time() -> ::Google::Protobuf::Timestamp
Returns

#state

def state() -> ::Google::Cloud::AssuredWorkloads::V1::Violation::State
Returns

#update_time

def update_time() -> ::Google::Protobuf::Timestamp
Returns