1<html><body> 2<style> 3 4body, h1, h2, h3, div, span, p, pre, a { 5 margin: 0; 6 padding: 0; 7 border: 0; 8 font-weight: inherit; 9 font-style: inherit; 10 font-size: 100%; 11 font-family: inherit; 12 vertical-align: baseline; 13} 14 15body { 16 font-size: 13px; 17 padding: 1em; 18} 19 20h1 { 21 font-size: 26px; 22 margin-bottom: 1em; 23} 24 25h2 { 26 font-size: 24px; 27 margin-bottom: 1em; 28} 29 30h3 { 31 font-size: 20px; 32 margin-bottom: 1em; 33 margin-top: 1em; 34} 35 36pre, code { 37 line-height: 1.5; 38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace; 39} 40 41pre { 42 margin-top: 0.5em; 43} 44 45h1, h2, h3, p { 46 font-family: Arial, sans serif; 47} 48 49h1, h2, h3 { 50 border-bottom: solid #CCC 1px; 51} 52 53.toc_element { 54 margin-top: 0.5em; 55} 56 57.firstline { 58 margin-left: 2 em; 59} 60 61.method { 62 margin-top: 1em; 63 border: solid 1px #CCC; 64 padding: 1em; 65 background: #EEE; 66} 67 68.details { 69 font-weight: bold; 70 font-size: 14px; 71} 72 73</style> 74 75<h1><a href="chromepolicy_v1.html">Chrome Policy API</a> . <a href="chromepolicy_v1.customers.html">customers</a> . <a href="chromepolicy_v1.customers.policies.html">policies</a></h1> 76<h2>Instance Methods</h2> 77<p class="toc_element"> 78 <code><a href="chromepolicy_v1.customers.policies.orgunits.html">orgunits()</a></code> 79</p> 80<p class="firstline">Returns the orgunits Resource.</p> 81 82<p class="toc_element"> 83 <code><a href="#close">close()</a></code></p> 84<p class="firstline">Close httplib2 connections.</p> 85<p class="toc_element"> 86 <code><a href="#resolve">resolve(customer, body=None, x__xgafv=None)</a></code></p> 87<p class="firstline">Gets the resolved policy values for a list of policies that match a search query.</p> 88<p class="toc_element"> 89 <code><a href="#resolve_next">resolve_next(previous_request, previous_response)</a></code></p> 90<p class="firstline">Retrieves the next page of results.</p> 91<h3>Method Details</h3> 92<div class="method"> 93 <code class="details" id="close">close()</code> 94 <pre>Close httplib2 connections.</pre> 95</div> 96 97<div class="method"> 98 <code class="details" id="resolve">resolve(customer, body=None, x__xgafv=None)</code> 99 <pre>Gets the resolved policy values for a list of policies that match a search query. 100 101Args: 102 customer: string, ID of the G Suite account or literal "my_customer" for the customer associated to the request. (required) 103 body: object, The request body. 104 The object takes the form of: 105 106{ # Request message for getting the resolved policy value for a specific target. 107 "pageSize": 42, # The maximum number of policies to return, defaults to 100 and has a maximum of 1000. 108 "pageToken": "A String", # The page token used to retrieve a specific page of the request. 109 "policySchemaFilter": "A String", # 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/chrome-management/guides/policyapi for details on schema namepsaces. For example: Valid: "chrome.users.*", "chrome.users.apps.*", "chrome.printers.*" Invalid: "*", "*.users", "chrome.*", "chrome.*.apps.*" 110 "policyTargetKey": { # The key used to identify the target on which the policy will be applied. # Required. The key of the target resource on which the policies should be resolved. The target resource must point to an Org Unit. 111 "additionalTargetKeys": { # Map containing the additional target key name and value pairs used to further identify the target of the policy. 112 "a_key": "A String", 113 }, 114 "targetResource": "A String", # The target resource on which this policy is applied. The following resources are supported: * Organizational Unit ("orgunits/{orgunit_id}") 115 }, 116} 117 118 x__xgafv: string, V1 error format. 119 Allowed values 120 1 - v1 error format 121 2 - v2 error format 122 123Returns: 124 An object of the form: 125 126 { # Response message for getting the resolved policy value for a specific target. 127 "nextPageToken": "A String", # The page token used to get the next set of resolved policies found by the request. 128 "resolvedPolicies": [ # The list of resolved policies found by the resolve request. 129 { # The resolved value of a policy for a given target. 130 "sourceKey": { # The key used to identify the target on which the policy will be applied. # Output only. The source resource from which this policy value is obtained. May be the same as `targetKey` if the policy is directly modified on the target, otherwise it would be another resource from which the policy gets its value (if applicable). If not present, the source is the default value for the customer. 131 "additionalTargetKeys": { # Map containing the additional target key name and value pairs used to further identify the target of the policy. 132 "a_key": "A String", 133 }, 134 "targetResource": "A String", # The target resource on which this policy is applied. The following resources are supported: * Organizational Unit ("orgunits/{orgunit_id}") 135 }, 136 "targetKey": { # The key used to identify the target on which the policy will be applied. # Output only. The target resource for which the resolved policy value applies. 137 "additionalTargetKeys": { # Map containing the additional target key name and value pairs used to further identify the target of the policy. 138 "a_key": "A String", 139 }, 140 "targetResource": "A String", # The target resource on which this policy is applied. The following resources are supported: * Organizational Unit ("orgunits/{orgunit_id}") 141 }, 142 "value": { # A particular value for a policy managed by the service. # Output only. The resolved value of the policy. 143 "policySchema": "A String", # The fully qualified name of the policy schema associated with this policy. 144 "value": { # The value of the policy that is compatible with the schema that it is associated with. 145 "a_key": "", # Properties of the object. 146 }, 147 }, 148 }, 149 ], 150}</pre> 151</div> 152 153<div class="method"> 154 <code class="details" id="resolve_next">resolve_next(previous_request, previous_response)</code> 155 <pre>Retrieves the next page of results. 156 157Args: 158 previous_request: The request for the previous page. (required) 159 previous_response: The response from the request for the previous page. (required) 160 161Returns: 162 A request object that you can call 'execute()' on to request the next 163 page. Returns None if there are no more items in the collection. 164 </pre> 165</div> 166 167</body></html>