Debian Codegraph @

docs/dyn/chromepolicy_v1.customers.policies.html

raw
1 <html><body>
2 <style>
3
4 body, 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
15 body {
16 font-size: 13px;
17 padding: 1em;
18 }
19
20 h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23 }
24
25 h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28 }
29
30 h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34 }
35
36 pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39 }
40
41 pre {
42 margin-top: 0.5em;
43 }
44
45 h1, h2, h3, p {
46 font-family: Arial, sans serif;
47 }
48
49 h1, 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.groups.html">groups()</a></code>
79 </p>
80 <p class="firstline">Returns the groups Resource.</p>
81
82 <p class="toc_element">
83 <code><a href="chromepolicy_v1.customers.policies.networks.html">networks()</a></code>
84 </p>
85 <p class="firstline">Returns the networks Resource.</p>
86
87 <p class="toc_element">
88 <code><a href="chromepolicy_v1.customers.policies.orgunits.html">orgunits()</a></code>
89 </p>
90 <p class="firstline">Returns the orgunits Resource.</p>
91
92 <p class="toc_element">
93 <code><a href="#close">close()</a></code></p>
94 <p class="firstline">Close httplib2 connections.</p>
95 <p class="toc_element">
96 <code><a href="#resolve">resolve(customer, body=None, x__xgafv=None)</a></code></p>
97 <p class="firstline">Gets the resolved policy values for a list of policies that match a search query.</p>
98 <p class="toc_element">
99 <code><a href="#resolve_next">resolve_next()</a></code></p>
100 <p class="firstline">Retrieves the next page of results.</p>
101 <h3>Method Details</h3>
102 <div class="method">
103 <code class="details" id="close">close()</code>
104 <pre>Close httplib2 connections.</pre>
105 </div>
106
107 <div class="method">
108 <code class="details" id="resolve">resolve(customer, body=None, x__xgafv=None)</code>
109 <pre>Gets the resolved policy values for a list of policies that match a search query.
110
111 Args:
112 customer: string, ID of the G Suite account or literal &quot;my_customer&quot; for the customer associated to the request. (required)
113 body: object, The request body.
114 The object takes the form of:
115
116 { # Request message for getting the resolved policy value for a specific target.
117 &quot;pageSize&quot;: 42, # The maximum number of policies to return, defaults to 100 and has a maximum of 1000.
118 &quot;pageToken&quot;: &quot;A String&quot;, # The page token used to retrieve a specific page of the request.
119 &quot;policySchemaFilter&quot;: &quot;A String&quot;, # 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: &quot;chrome.users.*&quot;, &quot;chrome.users.apps.*&quot;, &quot;chrome.printers.*&quot; Invalid: &quot;*&quot;, &quot;*.users&quot;, &quot;chrome.*&quot;, &quot;chrome.*.apps.*&quot;
120 &quot;policyTargetKey&quot;: { # 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.
121 &quot;additionalTargetKeys&quot;: { # Map containing the additional target key name and value pairs used to further identify the target of the policy.
122 &quot;a_key&quot;: &quot;A String&quot;,
123 },
124 &quot;targetResource&quot;: &quot;A String&quot;, # The target resource on which this policy is applied. The following resources are supported: * Organizational Unit (&quot;orgunits/{orgunit_id}&quot;) * Group (&quot;groups/{group_id}&quot;)
125 },
126 }
127
128 x__xgafv: string, V1 error format.
129 Allowed values
130 1 - v1 error format
131 2 - v2 error format
132
133 Returns:
134 An object of the form:
135
136 { # Response message for getting the resolved policy value for a specific target.
137 &quot;nextPageToken&quot;: &quot;A String&quot;, # The page token used to get the next set of resolved policies found by the request.
138 &quot;resolvedPolicies&quot;: [ # The list of resolved policies found by the resolve request.
139 { # The resolved value of a policy for a given target.
140 &quot;addedSourceKey&quot;: { # The key used to identify the target on which the policy will be applied. # 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.
141 &quot;additionalTargetKeys&quot;: { # Map containing the additional target key name and value pairs used to further identify the target of the policy.
142 &quot;a_key&quot;: &quot;A String&quot;,
143 },
144 &quot;targetResource&quot;: &quot;A String&quot;, # The target resource on which this policy is applied. The following resources are supported: * Organizational Unit (&quot;orgunits/{orgunit_id}&quot;) * Group (&quot;groups/{group_id}&quot;)
145 },
146 &quot;sourceKey&quot;: { # 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.
147 &quot;additionalTargetKeys&quot;: { # Map containing the additional target key name and value pairs used to further identify the target of the policy.
148 &quot;a_key&quot;: &quot;A String&quot;,
149 },
150 &quot;targetResource&quot;: &quot;A String&quot;, # The target resource on which this policy is applied. The following resources are supported: * Organizational Unit (&quot;orgunits/{orgunit_id}&quot;) * Group (&quot;groups/{group_id}&quot;)
151 },
152 &quot;targetKey&quot;: { # 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.
153 &quot;additionalTargetKeys&quot;: { # Map containing the additional target key name and value pairs used to further identify the target of the policy.
154 &quot;a_key&quot;: &quot;A String&quot;,
155 },
156 &quot;targetResource&quot;: &quot;A String&quot;, # The target resource on which this policy is applied. The following resources are supported: * Organizational Unit (&quot;orgunits/{orgunit_id}&quot;) * Group (&quot;groups/{group_id}&quot;)
157 },
158 &quot;value&quot;: { # A particular value for a policy managed by the service. # Output only. The resolved value of the policy.
159 &quot;policySchema&quot;: &quot;A String&quot;, # The fully qualified name of the policy schema associated with this policy.
160 &quot;value&quot;: { # The value of the policy that is compatible with the schema that it is associated with.
161 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
162 },
163 },
164 },
165 ],
166 }</pre>
167 </div>
168
169 <div class="method">
170 <code class="details" id="resolve_next">resolve_next()</code>
171 <pre>Retrieves the next page of results.
172
173 Args:
174 previous_request: The request for the previous page. (required)
175 previous_response: The response from the request for the previous page. (required)
176
177 Returns:
178 A request object that you can call &#x27;execute()&#x27; on to request the next
179 page. Returns None if there are no more items in the collection.
180 </pre>
181 </div>
182
183 </body></html>