class OrganizationsLocationsOrgPolicyViolationsPreviewsOrgPolicyViolations extends Resource (View source)

The "orgPolicyViolations" collection of methods.

Typical usage is:

 $policysimulatorService = new Google\Service\PolicySimulator(...);
 $orgPolicyViolations = $policysimulatorService->organizations_locations_orgPolicyViolationsPreviews_orgPolicyViolations;

Methods

listOrganizationsLocationsOrgPolicyViolationsPreviewsOrgPolicyViolations(string $parent, array $optParams = [])

ListOrgPolicyViolations lists the OrgPolicyViolations that are present in an OrgPolicyViolationsPreview. (orgPolicyViolations.listOrganizationsLocationsOr gPolicyViolationsPreviewsOrgPolicyViolations)

Details

GoogleCloudPolicysimulatorV1ListOrgPolicyViolationsResponse listOrganizationsLocationsOrgPolicyViolationsPreviewsOrgPolicyViolations(string $parent, array $optParams = [])

ListOrgPolicyViolations lists the OrgPolicyViolations that are present in an OrgPolicyViolationsPreview. (orgPolicyViolations.listOrganizationsLocationsOr gPolicyViolationsPreviewsOrgPolicyViolations)

Parameters

string $parent

Required. The OrgPolicyViolationsPreview to get OrgPolicyViolations from. Format: organizations/{organization}/locations/{loc ation}/orgPolicyViolationsPreviews/{orgPolicyViolationsPreview}

array $optParams

Optional parameters.

Return Value

GoogleCloudPolicysimulatorV1ListOrgPolicyViolationsResponse

Exceptions

Exception