class CustomersPoliciesOrgunits extends Resource (View source)

The "orgunits" collection of methods.

Typical usage is:

 $chromepolicyService = new Google\Service\ChromePolicy(...);
 $orgunits = $chromepolicyService->customers_policies_orgunits;

Methods

batchInherit(string $customer, GoogleChromePolicyVersionsV1BatchInheritOrgUnitPoliciesRequest $postBody, array $optParams = [])

Modify multiple policy values that are applied to a specific org unit so that they now inherit the value from a parent (if applicable). All targets must have the same target format. That is to say that they must point to the same target resource and must have the same keys specified in additionalTargetKeyNames, though the values for those keys may be different. On failure the request will return the error details as part of the google.rpc.Status. (orgunits.batchInherit)

batchModify(string $customer, GoogleChromePolicyVersionsV1BatchModifyOrgUnitPoliciesRequest $postBody, array $optParams = [])

Modify multiple policy values that are applied to a specific org unit. All targets must have the same target format. That is to say that they must point to the same target resource and must have the same keys specified in additionalTargetKeyNames, though the values for those keys may be different. On failure the request will return the error details as part of the google.rpc.Status. (orgunits.batchModify)

Details

GoogleProtobufEmpty batchInherit(string $customer, GoogleChromePolicyVersionsV1BatchInheritOrgUnitPoliciesRequest $postBody, array $optParams = [])

Modify multiple policy values that are applied to a specific org unit so that they now inherit the value from a parent (if applicable). All targets must have the same target format. That is to say that they must point to the same target resource and must have the same keys specified in additionalTargetKeyNames, though the values for those keys may be different. On failure the request will return the error details as part of the google.rpc.Status. (orgunits.batchInherit)

Parameters

string $customer

ID of the G Suite account or literal "my_customer" for the customer associated to the request.

GoogleChromePolicyVersionsV1BatchInheritOrgUnitPoliciesRequest $postBody
array $optParams

Optional parameters.

Return Value

GoogleProtobufEmpty

Exceptions

Exception

GoogleProtobufEmpty batchModify(string $customer, GoogleChromePolicyVersionsV1BatchModifyOrgUnitPoliciesRequest $postBody, array $optParams = [])

Modify multiple policy values that are applied to a specific org unit. All targets must have the same target format. That is to say that they must point to the same target resource and must have the same keys specified in additionalTargetKeyNames, though the values for those keys may be different. On failure the request will return the error details as part of the google.rpc.Status. (orgunits.batchModify)

Parameters

string $customer

ID of the G Suite account or literal "my_customer" for the customer associated to the request.

GoogleChromePolicyVersionsV1BatchModifyOrgUnitPoliciesRequest $postBody
array $optParams

Optional parameters.

Return Value

GoogleProtobufEmpty

Exceptions

Exception