class FoldersConstraints extends Resource (View source)

The "constraints" collection of methods.

Typical usage is:

 $orgpolicyService = new Google\Service\OrgPolicyAPI(...);
 $constraints = $orgpolicyService->folders_constraints;

Methods

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

Lists constraints that could be applied on the specified resource.

Details

GoogleCloudOrgpolicyV2ListConstraintsResponse listFoldersConstraints(string $parent, array $optParams = [])

Lists constraints that could be applied on the specified resource.

(constraints.listFoldersConstraints)

Parameters

string $parent

Required. The Google Cloud resource that parents the constraint. Must be in one of the following forms: projects/{project_number} projects/{project_id} * folders/{folder_id}

  • organizations/{organization_id}
array $optParams

Optional parameters.

Return Value

GoogleCloudOrgpolicyV2ListConstraintsResponse

Exceptions

Exception