Batch inherit org unit policies
Action ID:tools.google_chrome_policy.batch_inherit_org_unit_policies
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. Use it to undo batch_modify_org_unit_policies or block_extension on a child org unit.
Reference: https://developers.google.com/chrome/policy/reference/rest/v1/customers.policies.orgunits/batchInherit
Secrets
Optional secrets:google_admin_oauth: OAuth tokenGOOGLE_ADMIN_USER_TOKEN.google_admin_oauth: OAuth tokenGOOGLE_ADMIN_SERVICE_TOKEN.google_api: required valuesGOOGLE_API_CREDENTIALS; optional valuesGOOGLE_API_SUBJECT.
Input fields
List of policies that have to inherit their values. Each request has
policyTargetKey (targetResource and additionalTargetKeys, such as {"app_id": "chrome:<extension_id>"}) and policySchema, the fully qualified name of the policy schema that is being inherited. All requests in the list must follow these restrictions: all schemas in the list must have the same root namespace; all policyTargetKey.targetResource values must point to an org unit resource (orgunits/{orgunit_id}); all policyTargetKey values must have the same key names in the additionalTargetKeys; and no two requests can reference the same policySchema + policyTargetKey pair.ID of the Google Workspace account or literal “my_customer” for the customer associated to the request.Default:
"my_customer".Batch modify org unit policies
Action ID:tools.google_chrome_policy.batch_modify_org_unit_policies
Modify multiple policy values that are applied to a specific org unit. All targets must have the same target format. For example, block a Chrome extension with the chrome.users.apps.InstallType schema and appInstallType: BLOCKED.
Reference: https://developers.google.com/chrome/policy/reference/rest/v1/customers.policies.orgunits/batchModify
Secrets
Optional secrets:google_admin_oauth: OAuth tokenGOOGLE_ADMIN_USER_TOKEN.google_admin_oauth: OAuth tokenGOOGLE_ADMIN_SERVICE_TOKEN.google_api: required valuesGOOGLE_API_CREDENTIALS; optional valuesGOOGLE_API_SUBJECT.
Input fields
List of policies to modify. Each request has
policyTargetKey (targetResource and additionalTargetKeys, such as {"app_id": "chrome:<extension_id>"}), policyValue (policySchema and value), and updateMask, the comma-separated policy fields to update. All requests in the list must follow these restrictions: all schemas in the list must have the same root namespace; all policyTargetKey.targetResource values must point to an org unit resource (orgunits/{orgunit_id}); all policyTargetKey values must have the same key names in the additionalTargetKeys; and no two requests can reference the same policySchema + policyTargetKey pair.ID of the Google Workspace account or literal “my_customer” for the customer associated to the request.Default:
"my_customer".Block extension
Action ID:tools.google_chrome_policy.block_extension
Block a Chrome extension for an org unit by setting the chrome.users.apps.InstallType policy to BLOCKED. Blocking removes the extension from managed browsers and profiles in the org unit and stops users from installing it. Undo it with batch_inherit_org_unit_policies on a child org unit.
Reference: https://developers.google.com/chrome/policy/reference/rest/v1/customers.policies.orgunits/batchModify
Secrets
Optional secrets:google_admin_oauth: OAuth tokenGOOGLE_ADMIN_USER_TOKEN.google_admin_oauth: OAuth tokenGOOGLE_ADMIN_SERVICE_TOKEN.google_api: required valuesGOOGLE_API_CREDENTIALS; optional valuesGOOGLE_API_SUBJECT.
Input fields
The ID of the org unit to apply the block to, without the
id: prefix that the Directory API returns.ID of the Google Workspace account or literal “my_customer” for the customer associated to the request.Default:
"my_customer".Resolve policies
Action ID:tools.google_chrome_policy.resolve_policies
Gets the resolved policy values for a list of policies that match a search query. Use it to check whether an extension is blocked and which org unit the value comes from.
Reference: https://developers.google.com/chrome/policy/reference/rest/v1/customers.policies/resolve
Secrets
Optional secrets:google_admin_oauth: OAuth tokenGOOGLE_ADMIN_USER_TOKEN.google_admin_oauth: OAuth tokenGOOGLE_ADMIN_SERVICE_TOKEN.google_api: required valuesGOOGLE_API_CREDENTIALS; optional valuesGOOGLE_API_SUBJECT.
Input fields
The schema filter to apply to the resolve request. Specify a schema name to view a particular schema, for example
chrome.users.apps.InstallType. Wildcards are supported, but only in the leaf portion of the schema name, for example chrome.users.apps.*.The key of the target resource on which the policies should be resolved. Has
targetResource (orgunits/{orgunit_id} or groups/{group_id}) and additionalTargetKeys, such as {"app_id": "chrome:<extension_id>"}.ID of the Google Workspace account or literal “my_customer” for the customer associated to the request.Default:
"my_customer".The maximum number of policies to return, defaults to 100 and has a maximum of 1000.Default:
null.