OrganizationsLocationsWorkloadsViolations
class OrganizationsLocationsWorkloadsViolations extends Resource (View source)
The "violations" collection of methods.
Typical usage is:
$assuredworkloadsService = new Google\Service\Assuredworkloads(...);
$violations = $assuredworkloadsService->organizations_locations_workloads_violations;
Methods
Acknowledges an existing violation. By acknowledging a violation, users acknowledge the existence of a compliance violation in their workload and decide to ignore it due to a valid business justification. Acknowledgement is a permanent operation and it cannot be reverted. (violations.acknowledge)
Retrieves Assured Workload Violation based on ID. (violations.get)
Lists the Violations in the AssuredWorkload Environment. Callers may also choose to read across multiple Workloads as per AIP-159 by using '-' (the hyphen or dash character) as a wildcard character instead of workload-id in the parent.
Details
GoogleCloudAssuredworkloadsV1AcknowledgeViolationResponse
acknowledge(string $name, GoogleCloudAssuredworkloadsV1AcknowledgeViolationRequest $postBody, array $optParams = [])
Acknowledges an existing violation. By acknowledging a violation, users acknowledge the existence of a compliance violation in their workload and decide to ignore it due to a valid business justification. Acknowledgement is a permanent operation and it cannot be reverted. (violations.acknowledge)
GoogleCloudAssuredworkloadsV1Violation
get(string $name, array $optParams = [])
Retrieves Assured Workload Violation based on ID. (violations.get)
GoogleCloudAssuredworkloadsV1ListViolationsResponse
listOrganizationsLocationsWorkloadsViolations(string $parent, array $optParams = [])
Lists the Violations in the AssuredWorkload Environment. Callers may also choose to read across multiple Workloads as per AIP-159 by using '-' (the hyphen or dash character) as a wildcard character instead of workload-id in the parent.
Format organizations/{org_id}/locations/{location}/workloads/-
(violations.listOrganizationsLocationsWorkloadsViolations)