Debian Codegraph @

docs/dyn/tagmanager_v2.accounts.containers.environments.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_v2.html">Tag Manager API</a> . <a href="tagmanager_v2.accounts.html">accounts</a> . <a href="tagmanager_v2.accounts.containers.html">containers</a> . <a href="tagmanager_v2.accounts.containers.environments.html">environments</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(parent, body=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">Creates a GTM Environment.</p>
83 <p class="toc_element">
84 <code><a href="#delete">delete(path, x__xgafv=None)</a></code></p>
85 <p class="firstline">Deletes a GTM Environment.</p>
86 <p class="toc_element">
87 <code><a href="#get">get(path, x__xgafv=None)</a></code></p>
88 <p class="firstline">Gets a GTM Environment.</p>
89 <p class="toc_element">
90 <code><a href="#list">list(parent, pageToken=None, x__xgafv=None)</a></code></p>
91 <p class="firstline">Lists all GTM Environments of a GTM Container.</p>
92 <p class="toc_element">
93 <code><a href="#list_next">list_next()</a></code></p>
94 <p class="firstline">Retrieves the next page of results.</p>
95 <p class="toc_element">
96 <code><a href="#reauthorize">reauthorize(path, body=None, x__xgafv=None)</a></code></p>
97 <p class="firstline">Re-generates the authorization code for a GTM Environment.</p>
98 <p class="toc_element">
99 <code><a href="#update">update(path, body=None, fingerprint=None, x__xgafv=None)</a></code></p>
100 <p class="firstline">Updates a GTM Environment.</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="create">create(parent, body=None, x__xgafv=None)</code>
109 <pre>Creates a GTM Environment.
110
111 Args:
112 parent: string, GTM Container&#x27;s API relative path. (required)
113 body: object, The request body.
114 The object takes the form of:
115
116 { # Represents a Google Tag Manager Environment. Note that a user can create, delete and update environments of type USER, but can only update the enable_debug and url fields of environments of other types.
117 &quot;accountId&quot;: &quot;A String&quot;, # GTM Account ID.
118 &quot;authorizationCode&quot;: &quot;A String&quot;, # The environment authorization code.
119 &quot;authorizationTimestamp&quot;: &quot;A String&quot;, # The last update time-stamp for the authorization code.
120 &quot;containerId&quot;: &quot;A String&quot;, # GTM Container ID.
121 &quot;containerVersionId&quot;: &quot;A String&quot;, # Represents a link to a container version.
122 &quot;description&quot;: &quot;A String&quot;, # The environment description. Can be set or changed only on USER type environments.
123 &quot;enableDebug&quot;: True or False, # Whether or not to enable debug by default for the environment.
124 &quot;environmentId&quot;: &quot;A String&quot;, # GTM Environment ID uniquely identifies the GTM Environment.
125 &quot;fingerprint&quot;: &quot;A String&quot;, # The fingerprint of the GTM environment as computed at storage time. This value is recomputed whenever the environment is modified.
126 &quot;name&quot;: &quot;A String&quot;, # The environment display name. Can be set or changed only on USER type environments.
127 &quot;path&quot;: &quot;A String&quot;, # GTM Environment&#x27;s API relative path.
128 &quot;tagManagerUrl&quot;: &quot;A String&quot;, # Auto generated link to the tag manager UI
129 &quot;type&quot;: &quot;A String&quot;, # The type of this environment.
130 &quot;url&quot;: &quot;A String&quot;, # Default preview page url for the environment.
131 &quot;workspaceId&quot;: &quot;A String&quot;, # Represents a link to a quick preview of a workspace.
132 }
133
134 x__xgafv: string, V1 error format.
135 Allowed values
136 1 - v1 error format
137 2 - v2 error format
138
139 Returns:
140 An object of the form:
141
142 { # Represents a Google Tag Manager Environment. Note that a user can create, delete and update environments of type USER, but can only update the enable_debug and url fields of environments of other types.
143 &quot;accountId&quot;: &quot;A String&quot;, # GTM Account ID.
144 &quot;authorizationCode&quot;: &quot;A String&quot;, # The environment authorization code.
145 &quot;authorizationTimestamp&quot;: &quot;A String&quot;, # The last update time-stamp for the authorization code.
146 &quot;containerId&quot;: &quot;A String&quot;, # GTM Container ID.
147 &quot;containerVersionId&quot;: &quot;A String&quot;, # Represents a link to a container version.
148 &quot;description&quot;: &quot;A String&quot;, # The environment description. Can be set or changed only on USER type environments.
149 &quot;enableDebug&quot;: True or False, # Whether or not to enable debug by default for the environment.
150 &quot;environmentId&quot;: &quot;A String&quot;, # GTM Environment ID uniquely identifies the GTM Environment.
151 &quot;fingerprint&quot;: &quot;A String&quot;, # The fingerprint of the GTM environment as computed at storage time. This value is recomputed whenever the environment is modified.
152 &quot;name&quot;: &quot;A String&quot;, # The environment display name. Can be set or changed only on USER type environments.
153 &quot;path&quot;: &quot;A String&quot;, # GTM Environment&#x27;s API relative path.
154 &quot;tagManagerUrl&quot;: &quot;A String&quot;, # Auto generated link to the tag manager UI
155 &quot;type&quot;: &quot;A String&quot;, # The type of this environment.
156 &quot;url&quot;: &quot;A String&quot;, # Default preview page url for the environment.
157 &quot;workspaceId&quot;: &quot;A String&quot;, # Represents a link to a quick preview of a workspace.
158 }</pre>
159 </div>
160
161 <div class="method">
162 <code class="details" id="delete">delete(path, x__xgafv=None)</code>
163 <pre>Deletes a GTM Environment.
164
165 Args:
166 path: string, GTM Environment&#x27;s API relative path. (required)
167 x__xgafv: string, V1 error format.
168 Allowed values
169 1 - v1 error format
170 2 - v2 error format
171 </pre>
172 </div>
173
174 <div class="method">
175 <code class="details" id="get">get(path, x__xgafv=None)</code>
176 <pre>Gets a GTM Environment.
177
178 Args:
179 path: string, GTM Environment&#x27;s API relative path. (required)
180 x__xgafv: string, V1 error format.
181 Allowed values
182 1 - v1 error format
183 2 - v2 error format
184
185 Returns:
186 An object of the form:
187
188 { # Represents a Google Tag Manager Environment. Note that a user can create, delete and update environments of type USER, but can only update the enable_debug and url fields of environments of other types.
189 &quot;accountId&quot;: &quot;A String&quot;, # GTM Account ID.
190 &quot;authorizationCode&quot;: &quot;A String&quot;, # The environment authorization code.
191 &quot;authorizationTimestamp&quot;: &quot;A String&quot;, # The last update time-stamp for the authorization code.
192 &quot;containerId&quot;: &quot;A String&quot;, # GTM Container ID.
193 &quot;containerVersionId&quot;: &quot;A String&quot;, # Represents a link to a container version.
194 &quot;description&quot;: &quot;A String&quot;, # The environment description. Can be set or changed only on USER type environments.
195 &quot;enableDebug&quot;: True or False, # Whether or not to enable debug by default for the environment.
196 &quot;environmentId&quot;: &quot;A String&quot;, # GTM Environment ID uniquely identifies the GTM Environment.
197 &quot;fingerprint&quot;: &quot;A String&quot;, # The fingerprint of the GTM environment as computed at storage time. This value is recomputed whenever the environment is modified.
198 &quot;name&quot;: &quot;A String&quot;, # The environment display name. Can be set or changed only on USER type environments.
199 &quot;path&quot;: &quot;A String&quot;, # GTM Environment&#x27;s API relative path.
200 &quot;tagManagerUrl&quot;: &quot;A String&quot;, # Auto generated link to the tag manager UI
201 &quot;type&quot;: &quot;A String&quot;, # The type of this environment.
202 &quot;url&quot;: &quot;A String&quot;, # Default preview page url for the environment.
203 &quot;workspaceId&quot;: &quot;A String&quot;, # Represents a link to a quick preview of a workspace.
204 }</pre>
205 </div>
206
207 <div class="method">
208 <code class="details" id="list">list(parent, pageToken=None, x__xgafv=None)</code>
209 <pre>Lists all GTM Environments of a GTM Container.
210
211 Args:
212 parent: string, GTM Container&#x27;s API relative path. (required)
213 pageToken: string, Continuation token for fetching the next page of results.
214 x__xgafv: string, V1 error format.
215 Allowed values
216 1 - v1 error format
217 2 - v2 error format
218
219 Returns:
220 An object of the form:
221
222 { # List Environments Response.
223 &quot;environment&quot;: [ # All Environments of a GTM Container.
224 { # Represents a Google Tag Manager Environment. Note that a user can create, delete and update environments of type USER, but can only update the enable_debug and url fields of environments of other types.
225 &quot;accountId&quot;: &quot;A String&quot;, # GTM Account ID.
226 &quot;authorizationCode&quot;: &quot;A String&quot;, # The environment authorization code.
227 &quot;authorizationTimestamp&quot;: &quot;A String&quot;, # The last update time-stamp for the authorization code.
228 &quot;containerId&quot;: &quot;A String&quot;, # GTM Container ID.
229 &quot;containerVersionId&quot;: &quot;A String&quot;, # Represents a link to a container version.
230 &quot;description&quot;: &quot;A String&quot;, # The environment description. Can be set or changed only on USER type environments.
231 &quot;enableDebug&quot;: True or False, # Whether or not to enable debug by default for the environment.
232 &quot;environmentId&quot;: &quot;A String&quot;, # GTM Environment ID uniquely identifies the GTM Environment.
233 &quot;fingerprint&quot;: &quot;A String&quot;, # The fingerprint of the GTM environment as computed at storage time. This value is recomputed whenever the environment is modified.
234 &quot;name&quot;: &quot;A String&quot;, # The environment display name. Can be set or changed only on USER type environments.
235 &quot;path&quot;: &quot;A String&quot;, # GTM Environment&#x27;s API relative path.
236 &quot;tagManagerUrl&quot;: &quot;A String&quot;, # Auto generated link to the tag manager UI
237 &quot;type&quot;: &quot;A String&quot;, # The type of this environment.
238 &quot;url&quot;: &quot;A String&quot;, # Default preview page url for the environment.
239 &quot;workspaceId&quot;: &quot;A String&quot;, # Represents a link to a quick preview of a workspace.
240 },
241 ],
242 &quot;nextPageToken&quot;: &quot;A String&quot;, # Continuation token for fetching the next page of results.
243 }</pre>
244 </div>
245
246 <div class="method">
247 <code class="details" id="list_next">list_next()</code>
248 <pre>Retrieves the next page of results.
249
250 Args:
251 previous_request: The request for the previous page. (required)
252 previous_response: The response from the request for the previous page. (required)
253
254 Returns:
255 A request object that you can call &#x27;execute()&#x27; on to request the next
256 page. Returns None if there are no more items in the collection.
257 </pre>
258 </div>
259
260 <div class="method">
261 <code class="details" id="reauthorize">reauthorize(path, body=None, x__xgafv=None)</code>
262 <pre>Re-generates the authorization code for a GTM Environment.
263
264 Args:
265 path: string, GTM Environment&#x27;s API relative path. (required)
266 body: object, The request body.
267 The object takes the form of:
268
269 { # Represents a Google Tag Manager Environment. Note that a user can create, delete and update environments of type USER, but can only update the enable_debug and url fields of environments of other types.
270 &quot;accountId&quot;: &quot;A String&quot;, # GTM Account ID.
271 &quot;authorizationCode&quot;: &quot;A String&quot;, # The environment authorization code.
272 &quot;authorizationTimestamp&quot;: &quot;A String&quot;, # The last update time-stamp for the authorization code.
273 &quot;containerId&quot;: &quot;A String&quot;, # GTM Container ID.
274 &quot;containerVersionId&quot;: &quot;A String&quot;, # Represents a link to a container version.
275 &quot;description&quot;: &quot;A String&quot;, # The environment description. Can be set or changed only on USER type environments.
276 &quot;enableDebug&quot;: True or False, # Whether or not to enable debug by default for the environment.
277 &quot;environmentId&quot;: &quot;A String&quot;, # GTM Environment ID uniquely identifies the GTM Environment.
278 &quot;fingerprint&quot;: &quot;A String&quot;, # The fingerprint of the GTM environment as computed at storage time. This value is recomputed whenever the environment is modified.
279 &quot;name&quot;: &quot;A String&quot;, # The environment display name. Can be set or changed only on USER type environments.
280 &quot;path&quot;: &quot;A String&quot;, # GTM Environment&#x27;s API relative path.
281 &quot;tagManagerUrl&quot;: &quot;A String&quot;, # Auto generated link to the tag manager UI
282 &quot;type&quot;: &quot;A String&quot;, # The type of this environment.
283 &quot;url&quot;: &quot;A String&quot;, # Default preview page url for the environment.
284 &quot;workspaceId&quot;: &quot;A String&quot;, # Represents a link to a quick preview of a workspace.
285 }
286
287 x__xgafv: string, V1 error format.
288 Allowed values
289 1 - v1 error format
290 2 - v2 error format
291
292 Returns:
293 An object of the form:
294
295 { # Represents a Google Tag Manager Environment. Note that a user can create, delete and update environments of type USER, but can only update the enable_debug and url fields of environments of other types.
296 &quot;accountId&quot;: &quot;A String&quot;, # GTM Account ID.
297 &quot;authorizationCode&quot;: &quot;A String&quot;, # The environment authorization code.
298 &quot;authorizationTimestamp&quot;: &quot;A String&quot;, # The last update time-stamp for the authorization code.
299 &quot;containerId&quot;: &quot;A String&quot;, # GTM Container ID.
300 &quot;containerVersionId&quot;: &quot;A String&quot;, # Represents a link to a container version.
301 &quot;description&quot;: &quot;A String&quot;, # The environment description. Can be set or changed only on USER type environments.
302 &quot;enableDebug&quot;: True or False, # Whether or not to enable debug by default for the environment.
303 &quot;environmentId&quot;: &quot;A String&quot;, # GTM Environment ID uniquely identifies the GTM Environment.
304 &quot;fingerprint&quot;: &quot;A String&quot;, # The fingerprint of the GTM environment as computed at storage time. This value is recomputed whenever the environment is modified.
305 &quot;name&quot;: &quot;A String&quot;, # The environment display name. Can be set or changed only on USER type environments.
306 &quot;path&quot;: &quot;A String&quot;, # GTM Environment&#x27;s API relative path.
307 &quot;tagManagerUrl&quot;: &quot;A String&quot;, # Auto generated link to the tag manager UI
308 &quot;type&quot;: &quot;A String&quot;, # The type of this environment.
309 &quot;url&quot;: &quot;A String&quot;, # Default preview page url for the environment.
310 &quot;workspaceId&quot;: &quot;A String&quot;, # Represents a link to a quick preview of a workspace.
311 }</pre>
312 </div>
313
314 <div class="method">
315 <code class="details" id="update">update(path, body=None, fingerprint=None, x__xgafv=None)</code>
316 <pre>Updates a GTM Environment.
317
318 Args:
319 path: string, GTM Environment&#x27;s API relative path. (required)
320 body: object, The request body.
321 The object takes the form of:
322
323 { # Represents a Google Tag Manager Environment. Note that a user can create, delete and update environments of type USER, but can only update the enable_debug and url fields of environments of other types.
324 &quot;accountId&quot;: &quot;A String&quot;, # GTM Account ID.
325 &quot;authorizationCode&quot;: &quot;A String&quot;, # The environment authorization code.
326 &quot;authorizationTimestamp&quot;: &quot;A String&quot;, # The last update time-stamp for the authorization code.
327 &quot;containerId&quot;: &quot;A String&quot;, # GTM Container ID.
328 &quot;containerVersionId&quot;: &quot;A String&quot;, # Represents a link to a container version.
329 &quot;description&quot;: &quot;A String&quot;, # The environment description. Can be set or changed only on USER type environments.
330 &quot;enableDebug&quot;: True or False, # Whether or not to enable debug by default for the environment.
331 &quot;environmentId&quot;: &quot;A String&quot;, # GTM Environment ID uniquely identifies the GTM Environment.
332 &quot;fingerprint&quot;: &quot;A String&quot;, # The fingerprint of the GTM environment as computed at storage time. This value is recomputed whenever the environment is modified.
333 &quot;name&quot;: &quot;A String&quot;, # The environment display name. Can be set or changed only on USER type environments.
334 &quot;path&quot;: &quot;A String&quot;, # GTM Environment&#x27;s API relative path.
335 &quot;tagManagerUrl&quot;: &quot;A String&quot;, # Auto generated link to the tag manager UI
336 &quot;type&quot;: &quot;A String&quot;, # The type of this environment.
337 &quot;url&quot;: &quot;A String&quot;, # Default preview page url for the environment.
338 &quot;workspaceId&quot;: &quot;A String&quot;, # Represents a link to a quick preview of a workspace.
339 }
340
341 fingerprint: string, When provided, this fingerprint must match the fingerprint of the environment in storage.
342 x__xgafv: string, V1 error format.
343 Allowed values
344 1 - v1 error format
345 2 - v2 error format
346
347 Returns:
348 An object of the form:
349
350 { # Represents a Google Tag Manager Environment. Note that a user can create, delete and update environments of type USER, but can only update the enable_debug and url fields of environments of other types.
351 &quot;accountId&quot;: &quot;A String&quot;, # GTM Account ID.
352 &quot;authorizationCode&quot;: &quot;A String&quot;, # The environment authorization code.
353 &quot;authorizationTimestamp&quot;: &quot;A String&quot;, # The last update time-stamp for the authorization code.
354 &quot;containerId&quot;: &quot;A String&quot;, # GTM Container ID.
355 &quot;containerVersionId&quot;: &quot;A String&quot;, # Represents a link to a container version.
356 &quot;description&quot;: &quot;A String&quot;, # The environment description. Can be set or changed only on USER type environments.
357 &quot;enableDebug&quot;: True or False, # Whether or not to enable debug by default for the environment.
358 &quot;environmentId&quot;: &quot;A String&quot;, # GTM Environment ID uniquely identifies the GTM Environment.
359 &quot;fingerprint&quot;: &quot;A String&quot;, # The fingerprint of the GTM environment as computed at storage time. This value is recomputed whenever the environment is modified.
360 &quot;name&quot;: &quot;A String&quot;, # The environment display name. Can be set or changed only on USER type environments.
361 &quot;path&quot;: &quot;A String&quot;, # GTM Environment&#x27;s API relative path.
362 &quot;tagManagerUrl&quot;: &quot;A String&quot;, # Auto generated link to the tag manager UI
363 &quot;type&quot;: &quot;A String&quot;, # The type of this environment.
364 &quot;url&quot;: &quot;A String&quot;, # Default preview page url for the environment.
365 &quot;workspaceId&quot;: &quot;A String&quot;, # Represents a link to a quick preview of a workspace.
366 }</pre>
367 </div>
368
369 </body></html>