AI-generated Key Takeaways
-
Allows modifying multiple policy values applied to a specific organizational unit to inherit from a parent.
-
Requires all target resources to have the same format, including keys specified in
additionalTargetKeyNames
. -
Uses a
POST
request tohttps://chromepolicy.googleapis.com/v1/{customer=customers/*}/policies/orgunits:batchInherit
with necessary path and request body parameters. -
Demands authorization with the
https://www.googleapis.com/auth/chrome.management.policy
scope. -
Returns an empty response body upon successful execution, and error details within
google.rpc.Status
on failure.
- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- InheritOrgUnitPolicyRequest
- Try it!
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.
HTTP request
POST https://chromepolicy.googleapis.com/v1/{customer=customers/*}/policies/orgunits:batchInherit
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
customer |
ID of the G Suite account or literal "my_customer" for the customer associated to the request. |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{
"requests": [
{
object ( |
Fields | |
---|---|
requests[] |
List of policies that have to inherit their values as defined by the
|
Response body
If successful, the response body is empty.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/chrome.management.policy
InheritOrgUnitPolicyRequest
Request parameters for inheriting policy value of a specific org unit target from the policy value of its parent org unit.
JSON representation |
---|
{
"policyTargetKey": {
object ( |
Fields | |
---|---|
policyTargetKey |
Required. The key of the target for which we want to modify a policy. The target resource must point to an Org Unit. |
policySchema |
The fully qualified name of the policy schema that is being inherited. |