Cloud Controls Partner V1BETA API - Class Google::Cloud::CloudControlsPartner::V1beta::Violation (v0.3.0)

Reference documentation and code samples for the Cloud Controls Partner V1BETA API class Google::Cloud::CloudControlsPartner::V1beta::Violation.

Details of resource Violation

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#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.

#folder_id

def folder_id() -> ::Integer
Returns
  • (::Integer) — The folder_id of the violation

#folder_id=

def folder_id=(value) -> ::Integer
Parameter
  • value (::Integer) — The folder_id of the violation
Returns
  • (::Integer) — The folder_id of the violation

#name

def name() -> ::String
Returns
  • (::String) — Identifier. Format: organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/violations/{violation}

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Identifier. Format: organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/violations/{violation}
Returns
  • (::String) — Identifier. Format: organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/violations/{violation}

#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}

#remediation

def remediation() -> ::Google::Cloud::CloudControlsPartner::V1beta::Violation::Remediation
Returns

#resolve_time

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

#state

def state() -> ::Google::Cloud::CloudControlsPartner::V1beta::Violation::State
Returns

#update_time

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