Gets the resolved policy values for a list of policies that match a search query.
HTTP request
POST https://chromepolicy.googleapis.com/v1/{customer=customers/*}/policies:resolve
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 |
---|
{
"policySchemaFilter": string,
"policyTargetKey": {
object ( |
Fields | |
---|---|
policySchemaFilter |
Required. The schema filter to apply to the resolve request. Specify a schema name to view a particular schema, for example: chrome.users.ShowLogoutButton Wildcards are supported, but only in the leaf portion of the schema name. Wildcards cannot be used in namespace directly. Please read https://developers.google.com/chrome/policy/guides/policy-schemas for details on schema namespaces. For example: Valid: "chrome.users.*", "chrome.users.apps.*", "chrome.printers.*" Invalid: "*", "*.users", "chrome.*", "chrome.*.apps.*" |
policyTargetKey |
Required. The key of the target resource on which the policies should be resolved. |
pageSize |
The maximum number of policies to return, defaults to 100 and has a maximum of 1000. |
pageToken |
The page token used to retrieve a specific page of the request. |
Response body
Response message for getting the resolved policy value for a specific target.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"resolvedPolicies": [
{
object ( |
Fields | |
---|---|
resolvedPolicies[] |
The list of resolved policies found by the resolve request. |
nextPageToken |
The page token used to get the next set of resolved policies found by the request. |
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/chrome.management.policy.readonly
https://www.googleapis.com/auth/chrome.management.policy
ResolvedPolicy
The resolved value of a policy for a given target.
JSON representation |
---|
{ "targetKey": { object ( |
Fields | |
---|---|
targetKey |
Output only. The target resource for which the resolved policy value applies. |
value |
Output only. The resolved value of the policy. |
sourceKey |
Output only. The source resource from which this policy value is obtained. May be the same as |
addedSourceKey |
Output only. The added source key establishes at which level an entity was explicitly added for management. This is useful for certain type of policies that are only applied if they are explicitly added for management. For example: apps and networks. An entity can only be deleted from management in an Organizational Unit that it was explicitly added to. If this is not present it means that the policy is managed without the need to explicitly add an entity, for example: standard user or device policies. |