blob: 2ff489a98b1667ac2b40aec90a8349070f0e1d2e [file] [log] [blame]
John Asmuth614db982014-04-24 15:46:26 -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="analytics_v3.html">Google Analytics API</a> . <a href="analytics_v3.management.html">management</a> . <a href="analytics_v3.management.profileUserLinks.html">profileUserLinks</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">
John Asmuth614db982014-04-24 15:46:26 -040081 <code><a href="#delete">delete(accountId, webPropertyId, profileId, linkId)</a></code></p>
82<p class="firstline">Removes a user from the given view (profile).</p>
83<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -070084 <code><a href="#insert">insert(accountId, webPropertyId, profileId, body=None)</a></code></p>
John Asmuth614db982014-04-24 15:46:26 -040085<p class="firstline">Adds a new user to the given view (profile).</p>
86<p class="toc_element">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070087 <code><a href="#list">list(accountId, webPropertyId, profileId, start_index=None, max_results=None)</a></code></p>
John Asmuth614db982014-04-24 15:46:26 -040088<p class="firstline">Lists profile-user links for a given view (profile).</p>
89<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -070090 <code><a href="#update">update(accountId, webPropertyId, profileId, linkId, body=None)</a></code></p>
John Asmuth614db982014-04-24 15:46:26 -040091<p class="firstline">Updates permissions for an existing user on the given view (profile).</p>
92<h3>Method Details</h3>
93<div class="method">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070094 <code class="details" id="close">close()</code>
95 <pre>Close httplib2 connections.</pre>
96</div>
97
98<div class="method">
John Asmuth614db982014-04-24 15:46:26 -040099 <code class="details" id="delete">delete(accountId, webPropertyId, profileId, linkId)</code>
100 <pre>Removes a user from the given view (profile).
101
102Args:
103 accountId: string, Account ID to delete the user link for. (required)
104 webPropertyId: string, Web Property ID to delete the user link for. (required)
105 profileId: string, View (Profile) ID to delete the user link for. (required)
106 linkId: string, Link ID to delete the user link for. (required)
107</pre>
108</div>
109
110<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700111 <code class="details" id="insert">insert(accountId, webPropertyId, profileId, body=None)</code>
John Asmuth614db982014-04-24 15:46:26 -0400112 <pre>Adds a new user to the given view (profile).
113
114Args:
115 accountId: string, Account ID to create the user link for. (required)
116 webPropertyId: string, Web Property ID to create the user link for. (required)
117 profileId: string, View (Profile) ID to create the user link for. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700118 body: object, The request body.
John Asmuth614db982014-04-24 15:46:26 -0400119 The object takes the form of:
120
121{ # JSON template for an Analytics Entity-User Link. Returns permissions that a user has for an entity.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700122 &quot;entity&quot;: { # Entity for this link. It can be an account, a web property, or a view (profile).
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700123 &quot;profileRef&quot;: { # JSON template for a linked view (profile). # View (Profile) for this link.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700124 &quot;kind&quot;: &quot;analytics#profileRef&quot;, # Analytics view (profile) reference.
125 &quot;name&quot;: &quot;A String&quot;, # Name of this view (profile).
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700126 &quot;accountId&quot;: &quot;A String&quot;, # Account ID to which this view (profile) belongs.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700127 &quot;id&quot;: &quot;A String&quot;, # View (Profile) ID.
128 &quot;webPropertyId&quot;: &quot;A String&quot;, # Web property ID of the form UA-XXXXX-YY to which this view (profile) belongs.
129 &quot;internalWebPropertyId&quot;: &quot;A String&quot;, # Internal ID for the web property to which this view (profile) belongs.
130 &quot;href&quot;: &quot;A String&quot;, # Link for this view (profile).
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700131 },
132 &quot;webPropertyRef&quot;: { # JSON template for a web property reference. # Web property for this link.
133 &quot;internalWebPropertyId&quot;: &quot;A String&quot;, # Internal ID for this web property.
134 &quot;href&quot;: &quot;A String&quot;, # Link for this web property.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700135 &quot;kind&quot;: &quot;analytics#webPropertyRef&quot;, # Analytics web property reference.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700136 &quot;id&quot;: &quot;A String&quot;, # Web property ID of the form UA-XXXXX-YY.
137 &quot;accountId&quot;: &quot;A String&quot;, # Account ID to which this web property belongs.
138 &quot;name&quot;: &quot;A String&quot;, # Name of this web property.
139 },
140 &quot;accountRef&quot;: { # JSON template for a linked account. # Account for this link.
141 &quot;name&quot;: &quot;A String&quot;, # Account name.
142 &quot;href&quot;: &quot;A String&quot;, # Link for this account.
143 &quot;kind&quot;: &quot;analytics#accountRef&quot;, # Analytics account reference.
144 &quot;id&quot;: &quot;A String&quot;, # Account ID.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700145 },
146 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700147 &quot;permissions&quot;: { # Permissions the user has for this entity.
148 &quot;local&quot;: [ # Permissions that a user has been assigned at this very level. Does not include any implied or inherited permissions. Local permissions are modifiable.
149 &quot;A String&quot;,
150 ],
151 &quot;effective&quot;: [ # Effective permissions represent all the permissions that a user has for this entity. These include any implied permissions (e.g., EDIT implies VIEW) or inherited permissions from the parent entity. Effective permissions are read-only.
152 &quot;A String&quot;,
153 ],
154 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700155 &quot;id&quot;: &quot;A String&quot;, # Entity user link ID
156 &quot;selfLink&quot;: &quot;A String&quot;, # Self link for this resource.
157 &quot;kind&quot;: &quot;analytics#entityUserLink&quot;, # Resource type for entity user link.
158 &quot;userRef&quot;: { # JSON template for a user reference. # User reference.
159 &quot;email&quot;: &quot;A String&quot;, # Email ID of this user.
160 &quot;id&quot;: &quot;A String&quot;, # User ID.
161 &quot;kind&quot;: &quot;analytics#userRef&quot;,
162 },
John Asmuth614db982014-04-24 15:46:26 -0400163 }
164
165
166Returns:
167 An object of the form:
168
169 { # JSON template for an Analytics Entity-User Link. Returns permissions that a user has for an entity.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700170 &quot;entity&quot;: { # Entity for this link. It can be an account, a web property, or a view (profile).
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700171 &quot;profileRef&quot;: { # JSON template for a linked view (profile). # View (Profile) for this link.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700172 &quot;kind&quot;: &quot;analytics#profileRef&quot;, # Analytics view (profile) reference.
173 &quot;name&quot;: &quot;A String&quot;, # Name of this view (profile).
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700174 &quot;accountId&quot;: &quot;A String&quot;, # Account ID to which this view (profile) belongs.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700175 &quot;id&quot;: &quot;A String&quot;, # View (Profile) ID.
176 &quot;webPropertyId&quot;: &quot;A String&quot;, # Web property ID of the form UA-XXXXX-YY to which this view (profile) belongs.
177 &quot;internalWebPropertyId&quot;: &quot;A String&quot;, # Internal ID for the web property to which this view (profile) belongs.
178 &quot;href&quot;: &quot;A String&quot;, # Link for this view (profile).
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700179 },
180 &quot;webPropertyRef&quot;: { # JSON template for a web property reference. # Web property for this link.
181 &quot;internalWebPropertyId&quot;: &quot;A String&quot;, # Internal ID for this web property.
182 &quot;href&quot;: &quot;A String&quot;, # Link for this web property.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700183 &quot;kind&quot;: &quot;analytics#webPropertyRef&quot;, # Analytics web property reference.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700184 &quot;id&quot;: &quot;A String&quot;, # Web property ID of the form UA-XXXXX-YY.
185 &quot;accountId&quot;: &quot;A String&quot;, # Account ID to which this web property belongs.
186 &quot;name&quot;: &quot;A String&quot;, # Name of this web property.
187 },
188 &quot;accountRef&quot;: { # JSON template for a linked account. # Account for this link.
189 &quot;name&quot;: &quot;A String&quot;, # Account name.
190 &quot;href&quot;: &quot;A String&quot;, # Link for this account.
191 &quot;kind&quot;: &quot;analytics#accountRef&quot;, # Analytics account reference.
192 &quot;id&quot;: &quot;A String&quot;, # Account ID.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700193 },
194 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700195 &quot;permissions&quot;: { # Permissions the user has for this entity.
196 &quot;local&quot;: [ # Permissions that a user has been assigned at this very level. Does not include any implied or inherited permissions. Local permissions are modifiable.
197 &quot;A String&quot;,
198 ],
199 &quot;effective&quot;: [ # Effective permissions represent all the permissions that a user has for this entity. These include any implied permissions (e.g., EDIT implies VIEW) or inherited permissions from the parent entity. Effective permissions are read-only.
200 &quot;A String&quot;,
201 ],
202 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700203 &quot;id&quot;: &quot;A String&quot;, # Entity user link ID
204 &quot;selfLink&quot;: &quot;A String&quot;, # Self link for this resource.
205 &quot;kind&quot;: &quot;analytics#entityUserLink&quot;, # Resource type for entity user link.
206 &quot;userRef&quot;: { # JSON template for a user reference. # User reference.
207 &quot;email&quot;: &quot;A String&quot;, # Email ID of this user.
208 &quot;id&quot;: &quot;A String&quot;, # User ID.
209 &quot;kind&quot;: &quot;analytics#userRef&quot;,
210 },
John Asmuth614db982014-04-24 15:46:26 -0400211 }</pre>
212</div>
213
214<div class="method">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700215 <code class="details" id="list">list(accountId, webPropertyId, profileId, start_index=None, max_results=None)</code>
John Asmuth614db982014-04-24 15:46:26 -0400216 <pre>Lists profile-user links for a given view (profile).
217
218Args:
219 accountId: string, Account ID which the given view (profile) belongs to. (required)
Bu Sun Kim65020912020-05-20 12:08:20 -0700220 webPropertyId: string, Web Property ID which the given view (profile) belongs to. Can either be a specific web property ID or &#x27;~all&#x27;, which refers to all the web properties that user has access to. (required)
221 profileId: string, View (Profile) ID to retrieve the profile-user links for. Can either be a specific profile ID or &#x27;~all&#x27;, which refers to all the profiles that user has access to. (required)
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700222 start_index: integer, An index of the first profile-user link to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700223 max_results: integer, The maximum number of profile-user links to include in this response.
John Asmuth614db982014-04-24 15:46:26 -0400224
225Returns:
226 An object of the form:
227
228 { # An entity user link collection provides a list of Analytics ACL links Each resource in this collection corresponds to a single link.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700229 &quot;totalResults&quot;: 42, # The total number of results for the query, regardless of the number of results in the response.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700230 &quot;itemsPerPage&quot;: 42, # The maximum number of entries the response can contain, regardless of the actual number of entries returned. Its value ranges from 1 to 1000 with a value of 1000 by default, or otherwise specified by the max-results query parameter.
231 &quot;nextLink&quot;: &quot;A String&quot;, # Next link for this account collection.
232 &quot;previousLink&quot;: &quot;A String&quot;, # Previous link for this account collection.
Bu Sun Kim65020912020-05-20 12:08:20 -0700233 &quot;items&quot;: [ # A list of entity user links.
John Asmuth614db982014-04-24 15:46:26 -0400234 { # JSON template for an Analytics Entity-User Link. Returns permissions that a user has for an entity.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700235 &quot;entity&quot;: { # Entity for this link. It can be an account, a web property, or a view (profile).
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700236 &quot;profileRef&quot;: { # JSON template for a linked view (profile). # View (Profile) for this link.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700237 &quot;kind&quot;: &quot;analytics#profileRef&quot;, # Analytics view (profile) reference.
238 &quot;name&quot;: &quot;A String&quot;, # Name of this view (profile).
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700239 &quot;accountId&quot;: &quot;A String&quot;, # Account ID to which this view (profile) belongs.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700240 &quot;id&quot;: &quot;A String&quot;, # View (Profile) ID.
241 &quot;webPropertyId&quot;: &quot;A String&quot;, # Web property ID of the form UA-XXXXX-YY to which this view (profile) belongs.
242 &quot;internalWebPropertyId&quot;: &quot;A String&quot;, # Internal ID for the web property to which this view (profile) belongs.
243 &quot;href&quot;: &quot;A String&quot;, # Link for this view (profile).
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700244 },
245 &quot;webPropertyRef&quot;: { # JSON template for a web property reference. # Web property for this link.
246 &quot;internalWebPropertyId&quot;: &quot;A String&quot;, # Internal ID for this web property.
247 &quot;href&quot;: &quot;A String&quot;, # Link for this web property.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700248 &quot;kind&quot;: &quot;analytics#webPropertyRef&quot;, # Analytics web property reference.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700249 &quot;id&quot;: &quot;A String&quot;, # Web property ID of the form UA-XXXXX-YY.
250 &quot;accountId&quot;: &quot;A String&quot;, # Account ID to which this web property belongs.
251 &quot;name&quot;: &quot;A String&quot;, # Name of this web property.
252 },
253 &quot;accountRef&quot;: { # JSON template for a linked account. # Account for this link.
254 &quot;name&quot;: &quot;A String&quot;, # Account name.
255 &quot;href&quot;: &quot;A String&quot;, # Link for this account.
256 &quot;kind&quot;: &quot;analytics#accountRef&quot;, # Analytics account reference.
257 &quot;id&quot;: &quot;A String&quot;, # Account ID.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700258 },
259 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700260 &quot;permissions&quot;: { # Permissions the user has for this entity.
261 &quot;local&quot;: [ # Permissions that a user has been assigned at this very level. Does not include any implied or inherited permissions. Local permissions are modifiable.
262 &quot;A String&quot;,
263 ],
264 &quot;effective&quot;: [ # Effective permissions represent all the permissions that a user has for this entity. These include any implied permissions (e.g., EDIT implies VIEW) or inherited permissions from the parent entity. Effective permissions are read-only.
265 &quot;A String&quot;,
266 ],
267 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700268 &quot;id&quot;: &quot;A String&quot;, # Entity user link ID
269 &quot;selfLink&quot;: &quot;A String&quot;, # Self link for this resource.
270 &quot;kind&quot;: &quot;analytics#entityUserLink&quot;, # Resource type for entity user link.
271 &quot;userRef&quot;: { # JSON template for a user reference. # User reference.
272 &quot;email&quot;: &quot;A String&quot;, # Email ID of this user.
273 &quot;id&quot;: &quot;A String&quot;, # User ID.
274 &quot;kind&quot;: &quot;analytics#userRef&quot;,
275 },
John Asmuth614db982014-04-24 15:46:26 -0400276 },
277 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700278 &quot;startIndex&quot;: 42, # The starting index of the entries, which is 1 by default or otherwise specified by the start-index query parameter.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700279 &quot;kind&quot;: &quot;analytics#entityUserLinks&quot;, # Collection type.
John Asmuth614db982014-04-24 15:46:26 -0400280 }</pre>
281</div>
282
283<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700284 <code class="details" id="update">update(accountId, webPropertyId, profileId, linkId, body=None)</code>
John Asmuth614db982014-04-24 15:46:26 -0400285 <pre>Updates permissions for an existing user on the given view (profile).
286
287Args:
288 accountId: string, Account ID to update the user link for. (required)
289 webPropertyId: string, Web Property ID to update the user link for. (required)
290 profileId: string, View (Profile ID) to update the user link for. (required)
291 linkId: string, Link ID to update the user link for. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700292 body: object, The request body.
John Asmuth614db982014-04-24 15:46:26 -0400293 The object takes the form of:
294
295{ # JSON template for an Analytics Entity-User Link. Returns permissions that a user has for an entity.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700296 &quot;entity&quot;: { # Entity for this link. It can be an account, a web property, or a view (profile).
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700297 &quot;profileRef&quot;: { # JSON template for a linked view (profile). # View (Profile) for this link.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700298 &quot;kind&quot;: &quot;analytics#profileRef&quot;, # Analytics view (profile) reference.
299 &quot;name&quot;: &quot;A String&quot;, # Name of this view (profile).
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700300 &quot;accountId&quot;: &quot;A String&quot;, # Account ID to which this view (profile) belongs.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700301 &quot;id&quot;: &quot;A String&quot;, # View (Profile) ID.
302 &quot;webPropertyId&quot;: &quot;A String&quot;, # Web property ID of the form UA-XXXXX-YY to which this view (profile) belongs.
303 &quot;internalWebPropertyId&quot;: &quot;A String&quot;, # Internal ID for the web property to which this view (profile) belongs.
304 &quot;href&quot;: &quot;A String&quot;, # Link for this view (profile).
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700305 },
306 &quot;webPropertyRef&quot;: { # JSON template for a web property reference. # Web property for this link.
307 &quot;internalWebPropertyId&quot;: &quot;A String&quot;, # Internal ID for this web property.
308 &quot;href&quot;: &quot;A String&quot;, # Link for this web property.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700309 &quot;kind&quot;: &quot;analytics#webPropertyRef&quot;, # Analytics web property reference.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700310 &quot;id&quot;: &quot;A String&quot;, # Web property ID of the form UA-XXXXX-YY.
311 &quot;accountId&quot;: &quot;A String&quot;, # Account ID to which this web property belongs.
312 &quot;name&quot;: &quot;A String&quot;, # Name of this web property.
313 },
314 &quot;accountRef&quot;: { # JSON template for a linked account. # Account for this link.
315 &quot;name&quot;: &quot;A String&quot;, # Account name.
316 &quot;href&quot;: &quot;A String&quot;, # Link for this account.
317 &quot;kind&quot;: &quot;analytics#accountRef&quot;, # Analytics account reference.
318 &quot;id&quot;: &quot;A String&quot;, # Account ID.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700319 },
320 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700321 &quot;permissions&quot;: { # Permissions the user has for this entity.
322 &quot;local&quot;: [ # Permissions that a user has been assigned at this very level. Does not include any implied or inherited permissions. Local permissions are modifiable.
323 &quot;A String&quot;,
324 ],
325 &quot;effective&quot;: [ # Effective permissions represent all the permissions that a user has for this entity. These include any implied permissions (e.g., EDIT implies VIEW) or inherited permissions from the parent entity. Effective permissions are read-only.
326 &quot;A String&quot;,
327 ],
328 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700329 &quot;id&quot;: &quot;A String&quot;, # Entity user link ID
330 &quot;selfLink&quot;: &quot;A String&quot;, # Self link for this resource.
331 &quot;kind&quot;: &quot;analytics#entityUserLink&quot;, # Resource type for entity user link.
332 &quot;userRef&quot;: { # JSON template for a user reference. # User reference.
333 &quot;email&quot;: &quot;A String&quot;, # Email ID of this user.
334 &quot;id&quot;: &quot;A String&quot;, # User ID.
335 &quot;kind&quot;: &quot;analytics#userRef&quot;,
336 },
John Asmuth614db982014-04-24 15:46:26 -0400337 }
338
339
340Returns:
341 An object of the form:
342
343 { # JSON template for an Analytics Entity-User Link. Returns permissions that a user has for an entity.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700344 &quot;entity&quot;: { # Entity for this link. It can be an account, a web property, or a view (profile).
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700345 &quot;profileRef&quot;: { # JSON template for a linked view (profile). # View (Profile) for this link.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700346 &quot;kind&quot;: &quot;analytics#profileRef&quot;, # Analytics view (profile) reference.
347 &quot;name&quot;: &quot;A String&quot;, # Name of this view (profile).
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700348 &quot;accountId&quot;: &quot;A String&quot;, # Account ID to which this view (profile) belongs.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700349 &quot;id&quot;: &quot;A String&quot;, # View (Profile) ID.
350 &quot;webPropertyId&quot;: &quot;A String&quot;, # Web property ID of the form UA-XXXXX-YY to which this view (profile) belongs.
351 &quot;internalWebPropertyId&quot;: &quot;A String&quot;, # Internal ID for the web property to which this view (profile) belongs.
352 &quot;href&quot;: &quot;A String&quot;, # Link for this view (profile).
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700353 },
354 &quot;webPropertyRef&quot;: { # JSON template for a web property reference. # Web property for this link.
355 &quot;internalWebPropertyId&quot;: &quot;A String&quot;, # Internal ID for this web property.
356 &quot;href&quot;: &quot;A String&quot;, # Link for this web property.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700357 &quot;kind&quot;: &quot;analytics#webPropertyRef&quot;, # Analytics web property reference.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700358 &quot;id&quot;: &quot;A String&quot;, # Web property ID of the form UA-XXXXX-YY.
359 &quot;accountId&quot;: &quot;A String&quot;, # Account ID to which this web property belongs.
360 &quot;name&quot;: &quot;A String&quot;, # Name of this web property.
361 },
362 &quot;accountRef&quot;: { # JSON template for a linked account. # Account for this link.
363 &quot;name&quot;: &quot;A String&quot;, # Account name.
364 &quot;href&quot;: &quot;A String&quot;, # Link for this account.
365 &quot;kind&quot;: &quot;analytics#accountRef&quot;, # Analytics account reference.
366 &quot;id&quot;: &quot;A String&quot;, # Account ID.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700367 },
368 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700369 &quot;permissions&quot;: { # Permissions the user has for this entity.
370 &quot;local&quot;: [ # Permissions that a user has been assigned at this very level. Does not include any implied or inherited permissions. Local permissions are modifiable.
371 &quot;A String&quot;,
372 ],
373 &quot;effective&quot;: [ # Effective permissions represent all the permissions that a user has for this entity. These include any implied permissions (e.g., EDIT implies VIEW) or inherited permissions from the parent entity. Effective permissions are read-only.
374 &quot;A String&quot;,
375 ],
376 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700377 &quot;id&quot;: &quot;A String&quot;, # Entity user link ID
378 &quot;selfLink&quot;: &quot;A String&quot;, # Self link for this resource.
379 &quot;kind&quot;: &quot;analytics#entityUserLink&quot;, # Resource type for entity user link.
380 &quot;userRef&quot;: { # JSON template for a user reference. # User reference.
381 &quot;email&quot;: &quot;A String&quot;, # Email ID of this user.
382 &quot;id&quot;: &quot;A String&quot;, # User ID.
383 &quot;kind&quot;: &quot;analytics#userRef&quot;,
384 },
John Asmuth614db982014-04-24 15:46:26 -0400385 }</pre>
386</div>
387
388</body></html>