blob: d0eca81e255e003212e2105bcc04ac22d9a48e9f [file] [log] [blame]
Sai Cheemalapati4ba8c232017-06-06 18:46:08 -04001<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="tagmanager_v2.html">Tag Manager API</a> . <a href="tagmanager_v2.accounts.html">accounts</a> . <a href="tagmanager_v2.accounts.user_permissions.html">user_permissions</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070078 <code><a href="#close">close()</a></code></p>
79<p class="firstline">Close httplib2 connections.</p>
80<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -070081 <code><a href="#create">create(parent, body=None, x__xgafv=None)</a></code></p>
Sai Cheemalapati4ba8c232017-06-06 18:46:08 -040082<p class="firstline">Creates a user's Account & Container access.</p>
83<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -070084 <code><a href="#delete">delete(path, x__xgafv=None)</a></code></p>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070085<p class="firstline">Removes a user from the account, revoking access to it and all of its containers.</p>
Sai Cheemalapati4ba8c232017-06-06 18:46:08 -040086<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -070087 <code><a href="#get">get(path, x__xgafv=None)</a></code></p>
Sai Cheemalapati4ba8c232017-06-06 18:46:08 -040088<p class="firstline">Gets a user's Account & Container access.</p>
89<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -070090 <code><a href="#list">list(parent, pageToken=None, x__xgafv=None)</a></code></p>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070091<p class="firstline">List all users that have access to the account along with Account and Container user access granted to each of them.</p>
Sai Cheemalapati4ba8c232017-06-06 18:46:08 -040092<p class="toc_element">
93 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
94<p class="firstline">Retrieves the next page of results.</p>
95<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -070096 <code><a href="#update">update(path, body=None, x__xgafv=None)</a></code></p>
Sai Cheemalapati4ba8c232017-06-06 18:46:08 -040097<p class="firstline">Updates a user's Account & Container access.</p>
98<h3>Method Details</h3>
99<div class="method">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700100 <code class="details" id="close">close()</code>
101 <pre>Close httplib2 connections.</pre>
102</div>
103
104<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700105 <code class="details" id="create">create(parent, body=None, x__xgafv=None)</code>
Bu Sun Kim65020912020-05-20 12:08:20 -0700106 <pre>Creates a user&#x27;s Account &amp; Container access.
Sai Cheemalapati4ba8c232017-06-06 18:46:08 -0400107
108Args:
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700109 parent: string, GTM Account&#x27;s API relative path. Example: accounts/{account_id} (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700110 body: object, The request body.
Sai Cheemalapati4ba8c232017-06-06 18:46:08 -0400111 The object takes the form of:
112
Bu Sun Kim65020912020-05-20 12:08:20 -0700113{ # Represents a user&#x27;s permissions to an account and its container.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800114 &quot;accountAccess&quot;: { # Defines the Google Tag Manager Account access permissions. # GTM Account access permissions. @mutable tagmanager.accounts.permissions.create @mutable tagmanager.accounts.permissions.update
115 &quot;permission&quot;: &quot;A String&quot;, # Whether the user has no access, user access, or admin access to an account. @mutable tagmanager.accounts.permissions.create @mutable tagmanager.accounts.permissions.update
116 },
117 &quot;accountId&quot;: &quot;A String&quot;, # The Account ID uniquely identifies the GTM Account.
118 &quot;containerAccess&quot;: [ # GTM Container access permissions. @mutable tagmanager.accounts.permissions.create @mutable tagmanager.accounts.permissions.update
119 { # Defines the Google Tag Manager Container access permissions.
120 &quot;containerId&quot;: &quot;A String&quot;, # GTM Container ID. @mutable tagmanager.accounts.permissions.create @mutable tagmanager.accounts.permissions.update
121 &quot;permission&quot;: &quot;A String&quot;, # List of Container permissions. @mutable tagmanager.accounts.permissions.create @mutable tagmanager.accounts.permissions.update
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700122 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800123 ],
124 &quot;emailAddress&quot;: &quot;A String&quot;, # User&#x27;s email address. @mutable tagmanager.accounts.permissions.create
125 &quot;path&quot;: &quot;A String&quot;, # GTM UserPermission&#x27;s API relative path.
126}
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700127
128 x__xgafv: string, V1 error format.
129 Allowed values
130 1 - v1 error format
131 2 - v2 error format
132
133Returns:
134 An object of the form:
135
136 { # Represents a user&#x27;s permissions to an account and its container.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800137 &quot;accountAccess&quot;: { # Defines the Google Tag Manager Account access permissions. # GTM Account access permissions. @mutable tagmanager.accounts.permissions.create @mutable tagmanager.accounts.permissions.update
138 &quot;permission&quot;: &quot;A String&quot;, # Whether the user has no access, user access, or admin access to an account. @mutable tagmanager.accounts.permissions.create @mutable tagmanager.accounts.permissions.update
139 },
140 &quot;accountId&quot;: &quot;A String&quot;, # The Account ID uniquely identifies the GTM Account.
141 &quot;containerAccess&quot;: [ # GTM Container access permissions. @mutable tagmanager.accounts.permissions.create @mutable tagmanager.accounts.permissions.update
142 { # Defines the Google Tag Manager Container access permissions.
143 &quot;containerId&quot;: &quot;A String&quot;, # GTM Container ID. @mutable tagmanager.accounts.permissions.create @mutable tagmanager.accounts.permissions.update
144 &quot;permission&quot;: &quot;A String&quot;, # List of Container permissions. @mutable tagmanager.accounts.permissions.create @mutable tagmanager.accounts.permissions.update
145 },
146 ],
147 &quot;emailAddress&quot;: &quot;A String&quot;, # User&#x27;s email address. @mutable tagmanager.accounts.permissions.create
148 &quot;path&quot;: &quot;A String&quot;, # GTM UserPermission&#x27;s API relative path.
149}</pre>
Sai Cheemalapati4ba8c232017-06-06 18:46:08 -0400150</div>
151
152<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700153 <code class="details" id="delete">delete(path, x__xgafv=None)</code>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700154 <pre>Removes a user from the account, revoking access to it and all of its containers.
Sai Cheemalapati4ba8c232017-06-06 18:46:08 -0400155
156Args:
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700157 path: string, GTM UserPermission&#x27;s API relative path. Example: accounts/{account_id}/user_permissions/{user_permission_id} (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700158 x__xgafv: string, V1 error format.
159 Allowed values
160 1 - v1 error format
161 2 - v2 error format
Sai Cheemalapati4ba8c232017-06-06 18:46:08 -0400162</pre>
163</div>
164
165<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700166 <code class="details" id="get">get(path, x__xgafv=None)</code>
Bu Sun Kim65020912020-05-20 12:08:20 -0700167 <pre>Gets a user&#x27;s Account &amp; Container access.
Sai Cheemalapati4ba8c232017-06-06 18:46:08 -0400168
169Args:
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700170 path: string, GTM UserPermission&#x27;s API relative path. Example: accounts/{account_id}/user_permissions/{user_permission_id} (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700171 x__xgafv: string, V1 error format.
172 Allowed values
173 1 - v1 error format
174 2 - v2 error format
Sai Cheemalapati4ba8c232017-06-06 18:46:08 -0400175
176Returns:
177 An object of the form:
178
Bu Sun Kim65020912020-05-20 12:08:20 -0700179 { # Represents a user&#x27;s permissions to an account and its container.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800180 &quot;accountAccess&quot;: { # Defines the Google Tag Manager Account access permissions. # GTM Account access permissions. @mutable tagmanager.accounts.permissions.create @mutable tagmanager.accounts.permissions.update
181 &quot;permission&quot;: &quot;A String&quot;, # Whether the user has no access, user access, or admin access to an account. @mutable tagmanager.accounts.permissions.create @mutable tagmanager.accounts.permissions.update
182 },
183 &quot;accountId&quot;: &quot;A String&quot;, # The Account ID uniquely identifies the GTM Account.
184 &quot;containerAccess&quot;: [ # GTM Container access permissions. @mutable tagmanager.accounts.permissions.create @mutable tagmanager.accounts.permissions.update
185 { # Defines the Google Tag Manager Container access permissions.
186 &quot;containerId&quot;: &quot;A String&quot;, # GTM Container ID. @mutable tagmanager.accounts.permissions.create @mutable tagmanager.accounts.permissions.update
187 &quot;permission&quot;: &quot;A String&quot;, # List of Container permissions. @mutable tagmanager.accounts.permissions.create @mutable tagmanager.accounts.permissions.update
188 },
189 ],
190 &quot;emailAddress&quot;: &quot;A String&quot;, # User&#x27;s email address. @mutable tagmanager.accounts.permissions.create
191 &quot;path&quot;: &quot;A String&quot;, # GTM UserPermission&#x27;s API relative path.
192}</pre>
Sai Cheemalapati4ba8c232017-06-06 18:46:08 -0400193</div>
194
195<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700196 <code class="details" id="list">list(parent, pageToken=None, x__xgafv=None)</code>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700197 <pre>List all users that have access to the account along with Account and Container user access granted to each of them.
Sai Cheemalapati4ba8c232017-06-06 18:46:08 -0400198
199Args:
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700200 parent: string, GTM Accounts&#x27;s API relative path. Example: accounts/{account_id} (required)
Sai Cheemalapati4ba8c232017-06-06 18:46:08 -0400201 pageToken: string, Continuation token for fetching the next page of results.
Dan O'Mearadd494642020-05-01 07:42:23 -0700202 x__xgafv: string, V1 error format.
203 Allowed values
204 1 - v1 error format
205 2 - v2 error format
Sai Cheemalapati4ba8c232017-06-06 18:46:08 -0400206
207Returns:
208 An object of the form:
209
210 { # List user permissions response.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800211 &quot;nextPageToken&quot;: &quot;A String&quot;, # Continuation token for fetching the next page of results.
212 &quot;userPermission&quot;: [ # All GTM UserPermissions of a GTM Account.
213 { # Represents a user&#x27;s permissions to an account and its container.
214 &quot;accountAccess&quot;: { # Defines the Google Tag Manager Account access permissions. # GTM Account access permissions. @mutable tagmanager.accounts.permissions.create @mutable tagmanager.accounts.permissions.update
215 &quot;permission&quot;: &quot;A String&quot;, # Whether the user has no access, user access, or admin access to an account. @mutable tagmanager.accounts.permissions.create @mutable tagmanager.accounts.permissions.update
216 },
217 &quot;accountId&quot;: &quot;A String&quot;, # The Account ID uniquely identifies the GTM Account.
218 &quot;containerAccess&quot;: [ # GTM Container access permissions. @mutable tagmanager.accounts.permissions.create @mutable tagmanager.accounts.permissions.update
219 { # Defines the Google Tag Manager Container access permissions.
220 &quot;containerId&quot;: &quot;A String&quot;, # GTM Container ID. @mutable tagmanager.accounts.permissions.create @mutable tagmanager.accounts.permissions.update
221 &quot;permission&quot;: &quot;A String&quot;, # List of Container permissions. @mutable tagmanager.accounts.permissions.create @mutable tagmanager.accounts.permissions.update
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800222 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800223 ],
224 &quot;emailAddress&quot;: &quot;A String&quot;, # User&#x27;s email address. @mutable tagmanager.accounts.permissions.create
225 &quot;path&quot;: &quot;A String&quot;, # GTM UserPermission&#x27;s API relative path.
226 },
227 ],
228}</pre>
Sai Cheemalapati4ba8c232017-06-06 18:46:08 -0400229</div>
230
231<div class="method">
232 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
233 <pre>Retrieves the next page of results.
234
235Args:
236 previous_request: The request for the previous page. (required)
237 previous_response: The response from the request for the previous page. (required)
238
239Returns:
Bu Sun Kim65020912020-05-20 12:08:20 -0700240 A request object that you can call &#x27;execute()&#x27; on to request the next
Sai Cheemalapati4ba8c232017-06-06 18:46:08 -0400241 page. Returns None if there are no more items in the collection.
242 </pre>
243</div>
244
245<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700246 <code class="details" id="update">update(path, body=None, x__xgafv=None)</code>
Bu Sun Kim65020912020-05-20 12:08:20 -0700247 <pre>Updates a user&#x27;s Account &amp; Container access.
Sai Cheemalapati4ba8c232017-06-06 18:46:08 -0400248
249Args:
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700250 path: string, GTM UserPermission&#x27;s API relative path. Example: accounts/{account_id}/user_permissions/{user_permission_id} (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700251 body: object, The request body.
Sai Cheemalapati4ba8c232017-06-06 18:46:08 -0400252 The object takes the form of:
253
Bu Sun Kim65020912020-05-20 12:08:20 -0700254{ # Represents a user&#x27;s permissions to an account and its container.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800255 &quot;accountAccess&quot;: { # Defines the Google Tag Manager Account access permissions. # GTM Account access permissions. @mutable tagmanager.accounts.permissions.create @mutable tagmanager.accounts.permissions.update
256 &quot;permission&quot;: &quot;A String&quot;, # Whether the user has no access, user access, or admin access to an account. @mutable tagmanager.accounts.permissions.create @mutable tagmanager.accounts.permissions.update
257 },
258 &quot;accountId&quot;: &quot;A String&quot;, # The Account ID uniquely identifies the GTM Account.
259 &quot;containerAccess&quot;: [ # GTM Container access permissions. @mutable tagmanager.accounts.permissions.create @mutable tagmanager.accounts.permissions.update
260 { # Defines the Google Tag Manager Container access permissions.
261 &quot;containerId&quot;: &quot;A String&quot;, # GTM Container ID. @mutable tagmanager.accounts.permissions.create @mutable tagmanager.accounts.permissions.update
262 &quot;permission&quot;: &quot;A String&quot;, # List of Container permissions. @mutable tagmanager.accounts.permissions.create @mutable tagmanager.accounts.permissions.update
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700263 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800264 ],
265 &quot;emailAddress&quot;: &quot;A String&quot;, # User&#x27;s email address. @mutable tagmanager.accounts.permissions.create
266 &quot;path&quot;: &quot;A String&quot;, # GTM UserPermission&#x27;s API relative path.
267}
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700268
269 x__xgafv: string, V1 error format.
270 Allowed values
271 1 - v1 error format
272 2 - v2 error format
273
274Returns:
275 An object of the form:
276
277 { # Represents a user&#x27;s permissions to an account and its container.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800278 &quot;accountAccess&quot;: { # Defines the Google Tag Manager Account access permissions. # GTM Account access permissions. @mutable tagmanager.accounts.permissions.create @mutable tagmanager.accounts.permissions.update
279 &quot;permission&quot;: &quot;A String&quot;, # Whether the user has no access, user access, or admin access to an account. @mutable tagmanager.accounts.permissions.create @mutable tagmanager.accounts.permissions.update
280 },
281 &quot;accountId&quot;: &quot;A String&quot;, # The Account ID uniquely identifies the GTM Account.
282 &quot;containerAccess&quot;: [ # GTM Container access permissions. @mutable tagmanager.accounts.permissions.create @mutable tagmanager.accounts.permissions.update
283 { # Defines the Google Tag Manager Container access permissions.
284 &quot;containerId&quot;: &quot;A String&quot;, # GTM Container ID. @mutable tagmanager.accounts.permissions.create @mutable tagmanager.accounts.permissions.update
285 &quot;permission&quot;: &quot;A String&quot;, # List of Container permissions. @mutable tagmanager.accounts.permissions.create @mutable tagmanager.accounts.permissions.update
286 },
287 ],
288 &quot;emailAddress&quot;: &quot;A String&quot;, # User&#x27;s email address. @mutable tagmanager.accounts.permissions.create
289 &quot;path&quot;: &quot;A String&quot;, # GTM UserPermission&#x27;s API relative path.
290}</pre>
Sai Cheemalapati4ba8c232017-06-06 18:46:08 -0400291</div>
292
293</body></html>