class CustomersPoliciesGroups extends Resource (View source)

The "groups" collection of methods.

Typical usage is:

 $chromepolicyService = new Google\Service\ChromePolicy(...);
 $groups = $chromepolicyService->customers_policies_groups;

Methods

batchDelete(string $customer, GoogleChromePolicyVersionsV1BatchDeleteGroupPoliciesRequest $postBody, array $optParams = [])

Delete multiple policy values that are applied to a specific group. 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. (groups.batchDelete)

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

Modify multiple policy values that are applied to a specific group. 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. (groups.batchModify)

listGroupPriorityOrdering(string $customer, GoogleChromePolicyVersionsV1ListGroupPriorityOrderingRequest $postBody, array $optParams = [])

Retrieve a group priority ordering for an app. The target app must be supplied in additionalTargetKeyNames in the PolicyTargetKey. On failure the request will return the error details as part of the google.rpc.Status.

updateGroupPriorityOrdering(string $customer, GoogleChromePolicyVersionsV1UpdateGroupPriorityOrderingRequest $postBody, array $optParams = [])

Update a group priority ordering for an app. The target app must be supplied in additionalTargetKeyNames in the PolicyTargetKey. On failure the request will return the error details as part of the google.rpc.Status.

Details

GoogleProtobufEmpty batchDelete(string $customer, GoogleChromePolicyVersionsV1BatchDeleteGroupPoliciesRequest $postBody, array $optParams = [])

Delete multiple policy values that are applied to a specific group. 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. (groups.batchDelete)

Parameters

string $customer

ID of the Google Workspace account or literal "my_customer" for the customer associated to the request.

GoogleChromePolicyVersionsV1BatchDeleteGroupPoliciesRequest $postBody
array $optParams

Optional parameters.

Return Value

GoogleProtobufEmpty

Exceptions

Exception

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

Modify multiple policy values that are applied to a specific group. 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. (groups.batchModify)

Parameters

string $customer

ID of the Google Workspace account or literal "my_customer" for the customer associated to the request.

GoogleChromePolicyVersionsV1BatchModifyGroupPoliciesRequest $postBody
array $optParams

Optional parameters.

Return Value

GoogleProtobufEmpty

Exceptions

Exception

GoogleChromePolicyVersionsV1ListGroupPriorityOrderingResponse listGroupPriorityOrdering(string $customer, GoogleChromePolicyVersionsV1ListGroupPriorityOrderingRequest $postBody, array $optParams = [])

Retrieve a group priority ordering for an app. The target app must be supplied in additionalTargetKeyNames in the PolicyTargetKey. On failure the request will return the error details as part of the google.rpc.Status.

(groups.listGroupPriorityOrdering)

Parameters

string $customer

Required. ID of the Google Workspace account or literal "my_customer" for the customer associated to the request.

GoogleChromePolicyVersionsV1ListGroupPriorityOrderingRequest $postBody
array $optParams

Optional parameters.

Return Value

GoogleChromePolicyVersionsV1ListGroupPriorityOrderingResponse

Exceptions

Exception

GoogleProtobufEmpty updateGroupPriorityOrdering(string $customer, GoogleChromePolicyVersionsV1UpdateGroupPriorityOrderingRequest $postBody, array $optParams = [])

Update a group priority ordering for an app. The target app must be supplied in additionalTargetKeyNames in the PolicyTargetKey. On failure the request will return the error details as part of the google.rpc.Status.

(groups.updateGroupPriorityOrdering)

Parameters

string $customer

Required. ID of the Google Workspace account or literal "my_customer" for the customer associated to the request.

GoogleChromePolicyVersionsV1UpdateGroupPriorityOrderingRequest $postBody
array $optParams

Optional parameters.

Return Value

GoogleProtobufEmpty

Exceptions

Exception