Debian Codegraph @

docs/dyn/tagmanager_v1.accounts.permissions.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="tagmanager_v1.html">Tag Manager API</a> . <a href="tagmanager_v1.accounts.html">accounts</a> . <a href="tagmanager_v1.accounts.permissions.html">permissions</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="#close">close()</a></code></p>
79 <p class="firstline">Close httplib2 connections.</p>
80 <p class="toc_element">
81 <code><a href="#create">create(accountId, body=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">Creates a user's Account & Container Permissions.</p>
83 <p class="toc_element">
84 <code><a href="#delete">delete(accountId, permissionId, x__xgafv=None)</a></code></p>
85 <p class="firstline">Removes a user from the account, revoking access to it and all of its containers.</p>
86 <p class="toc_element">
87 <code><a href="#get">get(accountId, permissionId, x__xgafv=None)</a></code></p>
88 <p class="firstline">Gets a user's Account & Container Permissions.</p>
89 <p class="toc_element">
90 <code><a href="#list">list(accountId, x__xgafv=None)</a></code></p>
91 <p class="firstline">List all users that have access to the account along with Account and Container Permissions granted to each of them.</p>
92 <p class="toc_element">
93 <code><a href="#update">update(accountId, permissionId, body=None, x__xgafv=None)</a></code></p>
94 <p class="firstline">Updates a user's Account & Container Permissions.</p>
95 <h3>Method Details</h3>
96 <div class="method">
97 <code class="details" id="close">close()</code>
98 <pre>Close httplib2 connections.</pre>
99 </div>
100
101 <div class="method">
102 <code class="details" id="create">create(accountId, body=None, x__xgafv=None)</code>
103 <pre>Creates a user&#x27;s Account &amp; Container Permissions.
104
105 Args:
106 accountId: string, The GTM Account ID. (required)
107 body: object, The request body.
108 The object takes the form of:
109
110 { # Represents a user&#x27;s permissions to an account and its container.
111 &quot;accountAccess&quot;: { # Defines the Google Tag Manager Account access permissions. # GTM Account access permissions.
112 &quot;permission&quot;: [ # List of Account permissions. Valid account permissions are read and manage.
113 &quot;A String&quot;,
114 ],
115 },
116 &quot;accountId&quot;: &quot;A String&quot;, # GTM Account ID.
117 &quot;containerAccess&quot;: [ # GTM Container access permissions.
118 { # Defines the Google Tag Manager Container access permissions.
119 &quot;containerId&quot;: &quot;A String&quot;, # GTM Container ID.
120 &quot;permission&quot;: [ # List of Container permissions. Valid container permissions are: read, edit, delete, publish.
121 &quot;A String&quot;,
122 ],
123 },
124 ],
125 &quot;emailAddress&quot;: &quot;A String&quot;, # User&#x27;s email address.
126 &quot;permissionId&quot;: &quot;A String&quot;, # Account Permission ID.
127 }
128
129 x__xgafv: string, V1 error format.
130 Allowed values
131 1 - v1 error format
132 2 - v2 error format
133
134 Returns:
135 An object of the form:
136
137 { # Represents a user&#x27;s permissions to an account and its container.
138 &quot;accountAccess&quot;: { # Defines the Google Tag Manager Account access permissions. # GTM Account access permissions.
139 &quot;permission&quot;: [ # List of Account permissions. Valid account permissions are read and manage.
140 &quot;A String&quot;,
141 ],
142 },
143 &quot;accountId&quot;: &quot;A String&quot;, # GTM Account ID.
144 &quot;containerAccess&quot;: [ # GTM Container access permissions.
145 { # Defines the Google Tag Manager Container access permissions.
146 &quot;containerId&quot;: &quot;A String&quot;, # GTM Container ID.
147 &quot;permission&quot;: [ # List of Container permissions. Valid container permissions are: read, edit, delete, publish.
148 &quot;A String&quot;,
149 ],
150 },
151 ],
152 &quot;emailAddress&quot;: &quot;A String&quot;, # User&#x27;s email address.
153 &quot;permissionId&quot;: &quot;A String&quot;, # Account Permission ID.
154 }</pre>
155 </div>
156
157 <div class="method">
158 <code class="details" id="delete">delete(accountId, permissionId, x__xgafv=None)</code>
159 <pre>Removes a user from the account, revoking access to it and all of its containers.
160
161 Args:
162 accountId: string, The GTM Account ID. (required)
163 permissionId: string, The GTM User ID. (required)
164 x__xgafv: string, V1 error format.
165 Allowed values
166 1 - v1 error format
167 2 - v2 error format
168 </pre>
169 </div>
170
171 <div class="method">
172 <code class="details" id="get">get(accountId, permissionId, x__xgafv=None)</code>
173 <pre>Gets a user&#x27;s Account &amp; Container Permissions.
174
175 Args:
176 accountId: string, The GTM Account ID. (required)
177 permissionId: string, The GTM User ID. (required)
178 x__xgafv: string, V1 error format.
179 Allowed values
180 1 - v1 error format
181 2 - v2 error format
182
183 Returns:
184 An object of the form:
185
186 { # Represents a user&#x27;s permissions to an account and its container.
187 &quot;accountAccess&quot;: { # Defines the Google Tag Manager Account access permissions. # GTM Account access permissions.
188 &quot;permission&quot;: [ # List of Account permissions. Valid account permissions are read and manage.
189 &quot;A String&quot;,
190 ],
191 },
192 &quot;accountId&quot;: &quot;A String&quot;, # GTM Account ID.
193 &quot;containerAccess&quot;: [ # GTM Container access permissions.
194 { # Defines the Google Tag Manager Container access permissions.
195 &quot;containerId&quot;: &quot;A String&quot;, # GTM Container ID.
196 &quot;permission&quot;: [ # List of Container permissions. Valid container permissions are: read, edit, delete, publish.
197 &quot;A String&quot;,
198 ],
199 },
200 ],
201 &quot;emailAddress&quot;: &quot;A String&quot;, # User&#x27;s email address.
202 &quot;permissionId&quot;: &quot;A String&quot;, # Account Permission ID.
203 }</pre>
204 </div>
205
206 <div class="method">
207 <code class="details" id="list">list(accountId, x__xgafv=None)</code>
208 <pre>List all users that have access to the account along with Account and Container Permissions granted to each of them.
209
210 Args:
211 accountId: string, The GTM Account ID. (required)
212 x__xgafv: string, V1 error format.
213 Allowed values
214 1 - v1 error format
215 2 - v2 error format
216
217 Returns:
218 An object of the form:
219
220 { # List AccountUsers Response.
221 &quot;userAccess&quot;: [ # All GTM AccountUsers of a GTM Account.
222 { # Represents a user&#x27;s permissions to an account and its container.
223 &quot;accountAccess&quot;: { # Defines the Google Tag Manager Account access permissions. # GTM Account access permissions.
224 &quot;permission&quot;: [ # List of Account permissions. Valid account permissions are read and manage.
225 &quot;A String&quot;,
226 ],
227 },
228 &quot;accountId&quot;: &quot;A String&quot;, # GTM Account ID.
229 &quot;containerAccess&quot;: [ # GTM Container access permissions.
230 { # Defines the Google Tag Manager Container access permissions.
231 &quot;containerId&quot;: &quot;A String&quot;, # GTM Container ID.
232 &quot;permission&quot;: [ # List of Container permissions. Valid container permissions are: read, edit, delete, publish.
233 &quot;A String&quot;,
234 ],
235 },
236 ],
237 &quot;emailAddress&quot;: &quot;A String&quot;, # User&#x27;s email address.
238 &quot;permissionId&quot;: &quot;A String&quot;, # Account Permission ID.
239 },
240 ],
241 }</pre>
242 </div>
243
244 <div class="method">
245 <code class="details" id="update">update(accountId, permissionId, body=None, x__xgafv=None)</code>
246 <pre>Updates a user&#x27;s Account &amp; Container Permissions.
247
248 Args:
249 accountId: string, The GTM Account ID. (required)
250 permissionId: string, The GTM User ID. (required)
251 body: object, The request body.
252 The object takes the form of:
253
254 { # Represents a user&#x27;s permissions to an account and its container.
255 &quot;accountAccess&quot;: { # Defines the Google Tag Manager Account access permissions. # GTM Account access permissions.
256 &quot;permission&quot;: [ # List of Account permissions. Valid account permissions are read and manage.
257 &quot;A String&quot;,
258 ],
259 },
260 &quot;accountId&quot;: &quot;A String&quot;, # GTM Account ID.
261 &quot;containerAccess&quot;: [ # GTM Container access permissions.
262 { # Defines the Google Tag Manager Container access permissions.
263 &quot;containerId&quot;: &quot;A String&quot;, # GTM Container ID.
264 &quot;permission&quot;: [ # List of Container permissions. Valid container permissions are: read, edit, delete, publish.
265 &quot;A String&quot;,
266 ],
267 },
268 ],
269 &quot;emailAddress&quot;: &quot;A String&quot;, # User&#x27;s email address.
270 &quot;permissionId&quot;: &quot;A String&quot;, # Account Permission ID.
271 }
272
273 x__xgafv: string, V1 error format.
274 Allowed values
275 1 - v1 error format
276 2 - v2 error format
277
278 Returns:
279 An object of the form:
280
281 { # Represents a user&#x27;s permissions to an account and its container.
282 &quot;accountAccess&quot;: { # Defines the Google Tag Manager Account access permissions. # GTM Account access permissions.
283 &quot;permission&quot;: [ # List of Account permissions. Valid account permissions are read and manage.
284 &quot;A String&quot;,
285 ],
286 },
287 &quot;accountId&quot;: &quot;A String&quot;, # GTM Account ID.
288 &quot;containerAccess&quot;: [ # GTM Container access permissions.
289 { # Defines the Google Tag Manager Container access permissions.
290 &quot;containerId&quot;: &quot;A String&quot;, # GTM Container ID.
291 &quot;permission&quot;: [ # List of Container permissions. Valid container permissions are: read, edit, delete, publish.
292 &quot;A String&quot;,
293 ],
294 },
295 ],
296 &quot;emailAddress&quot;: &quot;A String&quot;, # User&#x27;s email address.
297 &quot;permissionId&quot;: &quot;A String&quot;, # Account Permission ID.
298 }</pre>
299 </div>
300
301 </body></html>