blob: 9800e141802dcc3dc6f53739de93e73b388f4328 [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.accountUserLinks.html">accountUserLinks</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
78 <code><a href="#delete">delete(accountId, linkId)</a></code></p>
79<p class="firstline">Removes a user from the given account.</p>
80<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -070081 <code><a href="#insert">insert(accountId, body=None)</a></code></p>
John Asmuth614db982014-04-24 15:46:26 -040082<p class="firstline">Adds a new user to the given account.</p>
83<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070084 <code><a href="#list">list(accountId, max_results=None, start_index=None)</a></code></p>
John Asmuth614db982014-04-24 15:46:26 -040085<p class="firstline">Lists account-user links for a given account.</p>
86<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -070087 <code><a href="#update">update(accountId, linkId, body=None)</a></code></p>
John Asmuth614db982014-04-24 15:46:26 -040088<p class="firstline">Updates permissions for an existing user on the given account.</p>
89<h3>Method Details</h3>
90<div class="method">
91 <code class="details" id="delete">delete(accountId, linkId)</code>
92 <pre>Removes a user from the given account.
93
94Args:
95 accountId: string, Account ID to delete the user link for. (required)
96 linkId: string, Link ID to delete the user link for. (required)
97</pre>
98</div>
99
100<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700101 <code class="details" id="insert">insert(accountId, body=None)</code>
John Asmuth614db982014-04-24 15:46:26 -0400102 <pre>Adds a new user to the given account.
103
104Args:
105 accountId: string, Account ID to create the user link for. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700106 body: object, The request body.
John Asmuth614db982014-04-24 15:46:26 -0400107 The object takes the form of:
108
109{ # JSON template for an Analytics Entity-User Link. Returns permissions that a user has for an entity.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700110 &quot;id&quot;: &quot;A String&quot;, # Entity user link ID
Bu Sun Kim65020912020-05-20 12:08:20 -0700111 &quot;entity&quot;: { # Entity for this link. It can be an account, a web property, or a view (profile).
112 &quot;accountRef&quot;: { # JSON template for a linked account. # Account for this link.
Bu Sun Kim65020912020-05-20 12:08:20 -0700113 &quot;name&quot;: &quot;A String&quot;, # Account name.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700114 &quot;kind&quot;: &quot;analytics#accountRef&quot;, # Analytics account reference.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700115 &quot;href&quot;: &quot;A String&quot;, # Link for this account.
116 &quot;id&quot;: &quot;A String&quot;, # Account ID.
John Asmuth614db982014-04-24 15:46:26 -0400117 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700118 &quot;webPropertyRef&quot;: { # JSON template for a web property reference. # Web property for this link.
Bu Sun Kim65020912020-05-20 12:08:20 -0700119 &quot;name&quot;: &quot;A String&quot;, # Name of this web property.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700120 &quot;id&quot;: &quot;A String&quot;, # Web property ID of the form UA-XXXXX-YY.
121 &quot;kind&quot;: &quot;analytics#webPropertyRef&quot;, # Analytics web property reference.
122 &quot;href&quot;: &quot;A String&quot;, # Link for this web property.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700123 &quot;accountId&quot;: &quot;A String&quot;, # Account ID to which this web property belongs.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700124 &quot;internalWebPropertyId&quot;: &quot;A String&quot;, # Internal ID for this web property.
John Asmuth614db982014-04-24 15:46:26 -0400125 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700126 &quot;profileRef&quot;: { # JSON template for a linked view (profile). # View (Profile) for this link.
Bu Sun Kim65020912020-05-20 12:08:20 -0700127 &quot;id&quot;: &quot;A String&quot;, # View (Profile) ID.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700128 &quot;name&quot;: &quot;A String&quot;, # Name of this view (profile).
Bu Sun Kim65020912020-05-20 12:08:20 -0700129 &quot;kind&quot;: &quot;analytics#profileRef&quot;, # Analytics view (profile) reference.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700130 &quot;accountId&quot;: &quot;A String&quot;, # Account ID to which this view (profile) belongs.
131 &quot;internalWebPropertyId&quot;: &quot;A String&quot;, # Internal ID for the web property to which this view (profile) belongs.
132 &quot;href&quot;: &quot;A String&quot;, # Link for this view (profile).
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700133 &quot;webPropertyId&quot;: &quot;A String&quot;, # Web property ID of the form UA-XXXXX-YY to which this view (profile) belongs.
John Asmuth614db982014-04-24 15:46:26 -0400134 },
135 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700136 &quot;userRef&quot;: { # JSON template for a user reference. # User reference.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700137 &quot;id&quot;: &quot;A String&quot;, # User ID.
Bu Sun Kim65020912020-05-20 12:08:20 -0700138 &quot;email&quot;: &quot;A String&quot;, # Email ID of this user.
139 &quot;kind&quot;: &quot;analytics#userRef&quot;,
Bu Sun Kim65020912020-05-20 12:08:20 -0700140 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700141 &quot;permissions&quot;: { # Permissions the user has for this entity.
142 &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.
143 &quot;A String&quot;,
144 ],
145 &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.
146 &quot;A String&quot;,
147 ],
148 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700149 &quot;selfLink&quot;: &quot;A String&quot;, # Self link for this resource.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700150 &quot;kind&quot;: &quot;analytics#entityUserLink&quot;, # Resource type for entity user link.
John Asmuth614db982014-04-24 15:46:26 -0400151 }
152
153
154Returns:
155 An object of the form:
156
157 { # JSON template for an Analytics Entity-User Link. Returns permissions that a user has for an entity.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700158 &quot;id&quot;: &quot;A String&quot;, # Entity user link ID
Bu Sun Kim65020912020-05-20 12:08:20 -0700159 &quot;entity&quot;: { # Entity for this link. It can be an account, a web property, or a view (profile).
160 &quot;accountRef&quot;: { # JSON template for a linked account. # Account for this link.
Bu Sun Kim65020912020-05-20 12:08:20 -0700161 &quot;name&quot;: &quot;A String&quot;, # Account name.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700162 &quot;kind&quot;: &quot;analytics#accountRef&quot;, # Analytics account reference.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700163 &quot;href&quot;: &quot;A String&quot;, # Link for this account.
164 &quot;id&quot;: &quot;A String&quot;, # Account ID.
John Asmuth614db982014-04-24 15:46:26 -0400165 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700166 &quot;webPropertyRef&quot;: { # JSON template for a web property reference. # Web property for this link.
Bu Sun Kim65020912020-05-20 12:08:20 -0700167 &quot;name&quot;: &quot;A String&quot;, # Name of this web property.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700168 &quot;id&quot;: &quot;A String&quot;, # Web property ID of the form UA-XXXXX-YY.
169 &quot;kind&quot;: &quot;analytics#webPropertyRef&quot;, # Analytics web property reference.
170 &quot;href&quot;: &quot;A String&quot;, # Link for this web property.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700171 &quot;accountId&quot;: &quot;A String&quot;, # Account ID to which this web property belongs.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700172 &quot;internalWebPropertyId&quot;: &quot;A String&quot;, # Internal ID for this web property.
John Asmuth614db982014-04-24 15:46:26 -0400173 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700174 &quot;profileRef&quot;: { # JSON template for a linked view (profile). # View (Profile) for this link.
Bu Sun Kim65020912020-05-20 12:08:20 -0700175 &quot;id&quot;: &quot;A String&quot;, # View (Profile) ID.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700176 &quot;name&quot;: &quot;A String&quot;, # Name of this view (profile).
Bu Sun Kim65020912020-05-20 12:08:20 -0700177 &quot;kind&quot;: &quot;analytics#profileRef&quot;, # Analytics view (profile) reference.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700178 &quot;accountId&quot;: &quot;A String&quot;, # Account ID to which this view (profile) belongs.
179 &quot;internalWebPropertyId&quot;: &quot;A String&quot;, # Internal ID for the web property to which this view (profile) belongs.
180 &quot;href&quot;: &quot;A String&quot;, # Link for this view (profile).
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700181 &quot;webPropertyId&quot;: &quot;A String&quot;, # Web property ID of the form UA-XXXXX-YY to which this view (profile) belongs.
John Asmuth614db982014-04-24 15:46:26 -0400182 },
183 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700184 &quot;userRef&quot;: { # JSON template for a user reference. # User reference.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700185 &quot;id&quot;: &quot;A String&quot;, # User ID.
Bu Sun Kim65020912020-05-20 12:08:20 -0700186 &quot;email&quot;: &quot;A String&quot;, # Email ID of this user.
187 &quot;kind&quot;: &quot;analytics#userRef&quot;,
Bu Sun Kim65020912020-05-20 12:08:20 -0700188 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700189 &quot;permissions&quot;: { # Permissions the user has for this entity.
190 &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.
191 &quot;A String&quot;,
192 ],
193 &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.
194 &quot;A String&quot;,
195 ],
196 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700197 &quot;selfLink&quot;: &quot;A String&quot;, # Self link for this resource.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700198 &quot;kind&quot;: &quot;analytics#entityUserLink&quot;, # Resource type for entity user link.
John Asmuth614db982014-04-24 15:46:26 -0400199 }</pre>
200</div>
201
202<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700203 <code class="details" id="list">list(accountId, max_results=None, start_index=None)</code>
John Asmuth614db982014-04-24 15:46:26 -0400204 <pre>Lists account-user links for a given account.
205
206Args:
207 accountId: string, Account ID to retrieve the user links for. (required)
Bu Sun Kim65020912020-05-20 12:08:20 -0700208 max_results: integer, The maximum number of account-user links to include in this response.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700209 start_index: integer, An index of the first account-user link to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter.
John Asmuth614db982014-04-24 15:46:26 -0400210
211Returns:
212 An object of the form:
213
214 { # An entity user link collection provides a list of Analytics ACL links Each resource in this collection corresponds to a single link.
Bu Sun Kim65020912020-05-20 12:08:20 -0700215 &quot;items&quot;: [ # A list of entity user links.
John Asmuth614db982014-04-24 15:46:26 -0400216 { # JSON template for an Analytics Entity-User Link. Returns permissions that a user has for an entity.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700217 &quot;id&quot;: &quot;A String&quot;, # Entity user link ID
Bu Sun Kim65020912020-05-20 12:08:20 -0700218 &quot;entity&quot;: { # Entity for this link. It can be an account, a web property, or a view (profile).
219 &quot;accountRef&quot;: { # JSON template for a linked account. # Account for this link.
Bu Sun Kim65020912020-05-20 12:08:20 -0700220 &quot;name&quot;: &quot;A String&quot;, # Account name.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700221 &quot;kind&quot;: &quot;analytics#accountRef&quot;, # Analytics account reference.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700222 &quot;href&quot;: &quot;A String&quot;, # Link for this account.
223 &quot;id&quot;: &quot;A String&quot;, # Account ID.
John Asmuth614db982014-04-24 15:46:26 -0400224 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700225 &quot;webPropertyRef&quot;: { # JSON template for a web property reference. # Web property for this link.
Bu Sun Kim65020912020-05-20 12:08:20 -0700226 &quot;name&quot;: &quot;A String&quot;, # Name of this web property.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700227 &quot;id&quot;: &quot;A String&quot;, # Web property ID of the form UA-XXXXX-YY.
228 &quot;kind&quot;: &quot;analytics#webPropertyRef&quot;, # Analytics web property reference.
229 &quot;href&quot;: &quot;A String&quot;, # Link for this web property.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700230 &quot;accountId&quot;: &quot;A String&quot;, # Account ID to which this web property belongs.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700231 &quot;internalWebPropertyId&quot;: &quot;A String&quot;, # Internal ID for this web property.
John Asmuth614db982014-04-24 15:46:26 -0400232 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700233 &quot;profileRef&quot;: { # JSON template for a linked view (profile). # View (Profile) for this link.
Bu Sun Kim65020912020-05-20 12:08:20 -0700234 &quot;id&quot;: &quot;A String&quot;, # View (Profile) ID.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700235 &quot;name&quot;: &quot;A String&quot;, # Name of this view (profile).
Bu Sun Kim65020912020-05-20 12:08:20 -0700236 &quot;kind&quot;: &quot;analytics#profileRef&quot;, # Analytics view (profile) reference.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700237 &quot;accountId&quot;: &quot;A String&quot;, # Account ID to which this view (profile) belongs.
238 &quot;internalWebPropertyId&quot;: &quot;A String&quot;, # Internal ID for the web property to which this view (profile) belongs.
239 &quot;href&quot;: &quot;A String&quot;, # Link for this view (profile).
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700240 &quot;webPropertyId&quot;: &quot;A String&quot;, # Web property ID of the form UA-XXXXX-YY to which this view (profile) belongs.
John Asmuth614db982014-04-24 15:46:26 -0400241 },
242 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700243 &quot;userRef&quot;: { # JSON template for a user reference. # User reference.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700244 &quot;id&quot;: &quot;A String&quot;, # User ID.
Bu Sun Kim65020912020-05-20 12:08:20 -0700245 &quot;email&quot;: &quot;A String&quot;, # Email ID of this user.
246 &quot;kind&quot;: &quot;analytics#userRef&quot;,
Bu Sun Kim65020912020-05-20 12:08:20 -0700247 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700248 &quot;permissions&quot;: { # Permissions the user has for this entity.
249 &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.
250 &quot;A String&quot;,
251 ],
252 &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.
253 &quot;A String&quot;,
254 ],
255 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700256 &quot;selfLink&quot;: &quot;A String&quot;, # Self link for this resource.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700257 &quot;kind&quot;: &quot;analytics#entityUserLink&quot;, # Resource type for entity user link.
John Asmuth614db982014-04-24 15:46:26 -0400258 },
259 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700260 &quot;startIndex&quot;: 42, # The starting index of the entries, which is 1 by default or otherwise specified by the start-index query parameter.
261 &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.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700262 &quot;totalResults&quot;: 42, # The total number of results for the query, regardless of the number of results in the response.
263 &quot;previousLink&quot;: &quot;A String&quot;, # Previous link for this account collection.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700264 &quot;kind&quot;: &quot;analytics#entityUserLinks&quot;, # Collection type.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700265 &quot;nextLink&quot;: &quot;A String&quot;, # Next link for this account collection.
John Asmuth614db982014-04-24 15:46:26 -0400266 }</pre>
267</div>
268
269<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700270 <code class="details" id="update">update(accountId, linkId, body=None)</code>
John Asmuth614db982014-04-24 15:46:26 -0400271 <pre>Updates permissions for an existing user on the given account.
272
273Args:
274 accountId: string, Account ID to update the account-user link for. (required)
275 linkId: string, Link ID to update the account-user link for. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700276 body: object, The request body.
John Asmuth614db982014-04-24 15:46:26 -0400277 The object takes the form of:
278
279{ # JSON template for an Analytics Entity-User Link. Returns permissions that a user has for an entity.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700280 &quot;id&quot;: &quot;A String&quot;, # Entity user link ID
Bu Sun Kim65020912020-05-20 12:08:20 -0700281 &quot;entity&quot;: { # Entity for this link. It can be an account, a web property, or a view (profile).
282 &quot;accountRef&quot;: { # JSON template for a linked account. # Account for this link.
Bu Sun Kim65020912020-05-20 12:08:20 -0700283 &quot;name&quot;: &quot;A String&quot;, # Account name.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700284 &quot;kind&quot;: &quot;analytics#accountRef&quot;, # Analytics account reference.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700285 &quot;href&quot;: &quot;A String&quot;, # Link for this account.
286 &quot;id&quot;: &quot;A String&quot;, # Account ID.
John Asmuth614db982014-04-24 15:46:26 -0400287 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700288 &quot;webPropertyRef&quot;: { # JSON template for a web property reference. # Web property for this link.
Bu Sun Kim65020912020-05-20 12:08:20 -0700289 &quot;name&quot;: &quot;A String&quot;, # Name of this web property.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700290 &quot;id&quot;: &quot;A String&quot;, # Web property ID of the form UA-XXXXX-YY.
291 &quot;kind&quot;: &quot;analytics#webPropertyRef&quot;, # Analytics web property reference.
292 &quot;href&quot;: &quot;A String&quot;, # Link for this web property.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700293 &quot;accountId&quot;: &quot;A String&quot;, # Account ID to which this web property belongs.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700294 &quot;internalWebPropertyId&quot;: &quot;A String&quot;, # Internal ID for this web property.
John Asmuth614db982014-04-24 15:46:26 -0400295 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700296 &quot;profileRef&quot;: { # JSON template for a linked view (profile). # View (Profile) for this link.
Bu Sun Kim65020912020-05-20 12:08:20 -0700297 &quot;id&quot;: &quot;A String&quot;, # View (Profile) ID.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700298 &quot;name&quot;: &quot;A String&quot;, # Name of this view (profile).
Bu Sun Kim65020912020-05-20 12:08:20 -0700299 &quot;kind&quot;: &quot;analytics#profileRef&quot;, # Analytics view (profile) reference.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700300 &quot;accountId&quot;: &quot;A String&quot;, # Account ID to which this view (profile) belongs.
301 &quot;internalWebPropertyId&quot;: &quot;A String&quot;, # Internal ID for the web property to which this view (profile) belongs.
302 &quot;href&quot;: &quot;A String&quot;, # Link for this view (profile).
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700303 &quot;webPropertyId&quot;: &quot;A String&quot;, # Web property ID of the form UA-XXXXX-YY to which this view (profile) belongs.
John Asmuth614db982014-04-24 15:46:26 -0400304 },
305 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700306 &quot;userRef&quot;: { # JSON template for a user reference. # User reference.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700307 &quot;id&quot;: &quot;A String&quot;, # User ID.
Bu Sun Kim65020912020-05-20 12:08:20 -0700308 &quot;email&quot;: &quot;A String&quot;, # Email ID of this user.
309 &quot;kind&quot;: &quot;analytics#userRef&quot;,
Bu Sun Kim65020912020-05-20 12:08:20 -0700310 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700311 &quot;permissions&quot;: { # Permissions the user has for this entity.
312 &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.
313 &quot;A String&quot;,
314 ],
315 &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.
316 &quot;A String&quot;,
317 ],
318 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700319 &quot;selfLink&quot;: &quot;A String&quot;, # Self link for this resource.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700320 &quot;kind&quot;: &quot;analytics#entityUserLink&quot;, # Resource type for entity user link.
John Asmuth614db982014-04-24 15:46:26 -0400321 }
322
323
324Returns:
325 An object of the form:
326
327 { # JSON template for an Analytics Entity-User Link. Returns permissions that a user has for an entity.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700328 &quot;id&quot;: &quot;A String&quot;, # Entity user link ID
Bu Sun Kim65020912020-05-20 12:08:20 -0700329 &quot;entity&quot;: { # Entity for this link. It can be an account, a web property, or a view (profile).
330 &quot;accountRef&quot;: { # JSON template for a linked account. # Account for this link.
Bu Sun Kim65020912020-05-20 12:08:20 -0700331 &quot;name&quot;: &quot;A String&quot;, # Account name.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700332 &quot;kind&quot;: &quot;analytics#accountRef&quot;, # Analytics account reference.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700333 &quot;href&quot;: &quot;A String&quot;, # Link for this account.
334 &quot;id&quot;: &quot;A String&quot;, # Account ID.
John Asmuth614db982014-04-24 15:46:26 -0400335 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700336 &quot;webPropertyRef&quot;: { # JSON template for a web property reference. # Web property for this link.
Bu Sun Kim65020912020-05-20 12:08:20 -0700337 &quot;name&quot;: &quot;A String&quot;, # Name of this web property.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700338 &quot;id&quot;: &quot;A String&quot;, # Web property ID of the form UA-XXXXX-YY.
339 &quot;kind&quot;: &quot;analytics#webPropertyRef&quot;, # Analytics web property reference.
340 &quot;href&quot;: &quot;A String&quot;, # Link for this web property.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700341 &quot;accountId&quot;: &quot;A String&quot;, # Account ID to which this web property belongs.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700342 &quot;internalWebPropertyId&quot;: &quot;A String&quot;, # Internal ID for this web property.
John Asmuth614db982014-04-24 15:46:26 -0400343 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700344 &quot;profileRef&quot;: { # JSON template for a linked view (profile). # View (Profile) for this link.
Bu Sun Kim65020912020-05-20 12:08:20 -0700345 &quot;id&quot;: &quot;A String&quot;, # View (Profile) ID.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700346 &quot;name&quot;: &quot;A String&quot;, # Name of this view (profile).
Bu Sun Kim65020912020-05-20 12:08:20 -0700347 &quot;kind&quot;: &quot;analytics#profileRef&quot;, # Analytics view (profile) reference.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700348 &quot;accountId&quot;: &quot;A String&quot;, # Account ID to which this view (profile) belongs.
349 &quot;internalWebPropertyId&quot;: &quot;A String&quot;, # Internal ID for the web property to which this view (profile) belongs.
350 &quot;href&quot;: &quot;A String&quot;, # Link for this view (profile).
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700351 &quot;webPropertyId&quot;: &quot;A String&quot;, # Web property ID of the form UA-XXXXX-YY to which this view (profile) belongs.
John Asmuth614db982014-04-24 15:46:26 -0400352 },
353 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700354 &quot;userRef&quot;: { # JSON template for a user reference. # User reference.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700355 &quot;id&quot;: &quot;A String&quot;, # User ID.
Bu Sun Kim65020912020-05-20 12:08:20 -0700356 &quot;email&quot;: &quot;A String&quot;, # Email ID of this user.
357 &quot;kind&quot;: &quot;analytics#userRef&quot;,
Bu Sun Kim65020912020-05-20 12:08:20 -0700358 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700359 &quot;permissions&quot;: { # Permissions the user has for this entity.
360 &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.
361 &quot;A String&quot;,
362 ],
363 &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.
364 &quot;A String&quot;,
365 ],
366 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700367 &quot;selfLink&quot;: &quot;A String&quot;, # Self link for this resource.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700368 &quot;kind&quot;: &quot;analytics#entityUserLink&quot;, # Resource type for entity user link.
John Asmuth614db982014-04-24 15:46:26 -0400369 }</pre>
370</div>
371
372</body></html>