Debian Codegraph @

docs/dyn/chromepolicy_v1.customers.policies.groups.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> . <a href="chromepolicy_v1.customers.policies.groups.html">groups</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="#batchDelete">batchDelete(customer, body=None, x__xgafv=None)</a></code></p>
79 <p class="firstline">Delete multiple policy values that are applied to a specific group. 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.</p>
80 <p class="toc_element">
81 <code><a href="#batchModify">batchModify(customer, body=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">Modify multiple policy values that are applied to a specific group. 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.</p>
83 <p class="toc_element">
84 <code><a href="#close">close()</a></code></p>
85 <p class="firstline">Close httplib2 connections.</p>
86 <p class="toc_element">
87 <code><a href="#listGroupPriorityOrdering">listGroupPriorityOrdering(customer, body=None, x__xgafv=None)</a></code></p>
88 <p class="firstline">Retrieve a group priority ordering for an app. The target app must be supplied in `additionalTargetKeyNames` in the PolicyTargetKey. On failure the request will return the error details as part of the google.rpc.Status.</p>
89 <p class="toc_element">
90 <code><a href="#updateGroupPriorityOrdering">updateGroupPriorityOrdering(customer, body=None, x__xgafv=None)</a></code></p>
91 <p class="firstline">Update a group priority ordering for an app. The target app must be supplied in `additionalTargetKeyNames` in the PolicyTargetKey. On failure the request will return the error details as part of the google.rpc.Status.</p>
92 <h3>Method Details</h3>
93 <div class="method">
94 <code class="details" id="batchDelete">batchDelete(customer, body=None, x__xgafv=None)</code>
95 <pre>Delete multiple policy values that are applied to a specific group. 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.
96
97 Args:
98 customer: string, ID of the Google Workspace account or literal &quot;my_customer&quot; for the customer associated to the request. (required)
99 body: object, The request body.
100 The object takes the form of:
101
102 { # Request message for specifying that multiple policy values will be deleted.
103 &quot;requests&quot;: [ # List of policies that will be deleted as defined by the `requests`. All requests in the list must follow these restrictions: 1. All schemas in the list must have the same root namespace. 2. All `policyTargetKey.targetResource` values must point to a group resource. 3. All `policyTargetKey` values must have the same `app_id` key name in the `additionalTargetKeys`. 4. No two modification requests can reference the same `policySchema` + ` policyTargetKey` pair.
104 { # Request parameters for deleting the policy value of a specific group target.
105 &quot;policySchema&quot;: &quot;A String&quot;, # The fully qualified name of the policy schema that is being inherited.
106 &quot;policyTargetKey&quot;: { # The key used to identify the target on which the policy will be applied. # Required. The key of the target for which we want to modify a policy. The target resource must point to a Group.
107 &quot;additionalTargetKeys&quot;: { # Map containing the additional target key name and value pairs used to further identify the target of the policy.
108 &quot;a_key&quot;: &quot;A String&quot;,
109 },
110 &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;)
111 },
112 },
113 ],
114 }
115
116 x__xgafv: string, V1 error format.
117 Allowed values
118 1 - v1 error format
119 2 - v2 error format
120
121 Returns:
122 An object of the form:
123
124 { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }
125 }</pre>
126 </div>
127
128 <div class="method">
129 <code class="details" id="batchModify">batchModify(customer, body=None, x__xgafv=None)</code>
130 <pre>Modify multiple policy values that are applied to a specific group. 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.
131
132 Args:
133 customer: string, ID of the Google Workspace account or literal &quot;my_customer&quot; for the customer associated to the request. (required)
134 body: object, The request body.
135 The object takes the form of:
136
137 { # Request message for modifying multiple policy values for a specific group-based target.
138 &quot;requests&quot;: [ # List of policies to modify as defined by the `requests`. All requests in the list must follow these restrictions: 1. All schemas in the list must have the same root namespace. 2. All `policyTargetKey.targetResource` values must point to a group resource. 3. All `policyTargetKey` values must have the same `app_id` key name in the `additionalTargetKeys`. 4. No two modification requests can reference the same `policySchema` + ` policyTargetKey` pair.
139 { # Request parameters for modifying a policy value for a specific group target.
140 &quot;policyTargetKey&quot;: { # The key used to identify the target on which the policy will be applied. # Required. The key of the target for which we want to modify a policy. The target resource must point to a Group.
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;policyValue&quot;: { # A particular value for a policy managed by the service. # The new value for the policy.
147 &quot;policySchema&quot;: &quot;A String&quot;, # The fully qualified name of the policy schema associated with this policy.
148 &quot;value&quot;: { # The value of the policy that is compatible with the schema that it is associated with.
149 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
150 },
151 },
152 &quot;updateMask&quot;: &quot;A String&quot;, # Required. Policy fields to update. Only fields in this mask will be updated; other fields in `policy_value` will be ignored (even if they have values). If a field is in this list it must have a value in &#x27;policy_value&#x27;.
153 },
154 ],
155 }
156
157 x__xgafv: string, V1 error format.
158 Allowed values
159 1 - v1 error format
160 2 - v2 error format
161
162 Returns:
163 An object of the form:
164
165 { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }
166 }</pre>
167 </div>
168
169 <div class="method">
170 <code class="details" id="close">close()</code>
171 <pre>Close httplib2 connections.</pre>
172 </div>
173
174 <div class="method">
175 <code class="details" id="listGroupPriorityOrdering">listGroupPriorityOrdering(customer, body=None, x__xgafv=None)</code>
176 <pre>Retrieve a group priority ordering for an app. The target app must be supplied in `additionalTargetKeyNames` in the PolicyTargetKey. On failure the request will return the error details as part of the google.rpc.Status.
177
178 Args:
179 customer: string, Required. ID of the Google Workspace account or literal &quot;my_customer&quot; for the customer associated to the request. (required)
180 body: object, The request body.
181 The object takes the form of:
182
183 { # Request message for listing the group priority ordering of an app.
184 &quot;policyNamespace&quot;: &quot;A String&quot;, # The namespace of the policy type for the request.
185 &quot;policySchema&quot;: &quot;A String&quot;, # The schema name of the policy for the request.
186 &quot;policyTargetKey&quot;: { # The key used to identify the target on which the policy will be applied. # Required. The key of the target for which we want to retrieve the group priority ordering. The target resource must point to an app.
187 &quot;additionalTargetKeys&quot;: { # Map containing the additional target key name and value pairs used to further identify the target of the policy.
188 &quot;a_key&quot;: &quot;A String&quot;,
189 },
190 &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;)
191 },
192 }
193
194 x__xgafv: string, V1 error format.
195 Allowed values
196 1 - v1 error format
197 2 - v2 error format
198
199 Returns:
200 An object of the form:
201
202 { # Response message for listing the group priority ordering of an app.
203 &quot;groupIds&quot;: [ # Output only. The group IDs, in priority ordering.
204 &quot;A String&quot;,
205 ],
206 &quot;policyNamespace&quot;: &quot;A String&quot;, # Output only. The namespace of the policy type of the group IDs.
207 &quot;policySchema&quot;: &quot;A String&quot;, # Output only. The schema name of the policy for the group IDs.
208 &quot;policyTargetKey&quot;: { # The key used to identify the target on which the policy will be applied. # Output only. The target resource for which the group priority ordering has been retrieved.
209 &quot;additionalTargetKeys&quot;: { # Map containing the additional target key name and value pairs used to further identify the target of the policy.
210 &quot;a_key&quot;: &quot;A String&quot;,
211 },
212 &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;)
213 },
214 }</pre>
215 </div>
216
217 <div class="method">
218 <code class="details" id="updateGroupPriorityOrdering">updateGroupPriorityOrdering(customer, body=None, x__xgafv=None)</code>
219 <pre>Update a group priority ordering for an app. The target app must be supplied in `additionalTargetKeyNames` in the PolicyTargetKey. On failure the request will return the error details as part of the google.rpc.Status.
220
221 Args:
222 customer: string, Required. ID of the Google Workspace account or literal &quot;my_customer&quot; for the customer associated to the request. (required)
223 body: object, The request body.
224 The object takes the form of:
225
226 { # Request message for updating the group priority ordering of an app.
227 &quot;groupIds&quot;: [ # Required. The group IDs, in desired priority ordering.
228 &quot;A String&quot;,
229 ],
230 &quot;policyNamespace&quot;: &quot;A String&quot;, # The namespace of the policy type for the request.
231 &quot;policySchema&quot;: &quot;A String&quot;, # The schema name of the policy for the request.
232 &quot;policyTargetKey&quot;: { # The key used to identify the target on which the policy will be applied. # Required. The key of the target for which we want to update the group priority ordering. The target resource must point to an app.
233 &quot;additionalTargetKeys&quot;: { # Map containing the additional target key name and value pairs used to further identify the target of the policy.
234 &quot;a_key&quot;: &quot;A String&quot;,
235 },
236 &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;)
237 },
238 }
239
240 x__xgafv: string, V1 error format.
241 Allowed values
242 1 - v1 error format
243 2 - v2 error format
244
245 Returns:
246 An object of the form:
247
248 { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }
249 }</pre>
250 </div>
251
252 </body></html>