blob: d459e79dc062a36c435465e449a11cb914b82f2a [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">
78 <code><a href="#delete">delete(accountId, webPropertyId, profileId, linkId)</a></code></p>
79<p class="firstline">Removes a user from the given view (profile).</p>
80<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -070081 <code><a href="#insert">insert(accountId, webPropertyId, profileId, body=None)</a></code></p>
John Asmuth614db982014-04-24 15:46:26 -040082<p class="firstline">Adds a new user to the given view (profile).</p>
83<p class="toc_element">
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -070084 <code><a href="#list">list(accountId, webPropertyId, profileId, max_results=None, start_index=None)</a></code></p>
John Asmuth614db982014-04-24 15:46:26 -040085<p class="firstline">Lists profile-user links for a given view (profile).</p>
86<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -070087 <code><a href="#update">update(accountId, webPropertyId, profileId, 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 view (profile).</p>
89<h3>Method Details</h3>
90<div class="method">
91 <code class="details" id="delete">delete(accountId, webPropertyId, profileId, linkId)</code>
92 <pre>Removes a user from the given view (profile).
93
94Args:
95 accountId: string, Account ID to delete the user link for. (required)
96 webPropertyId: string, Web Property ID to delete the user link for. (required)
97 profileId: string, View (Profile) ID to delete the user link for. (required)
98 linkId: string, Link ID to delete the user link for. (required)
99</pre>
100</div>
101
102<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700103 <code class="details" id="insert">insert(accountId, webPropertyId, profileId, body=None)</code>
John Asmuth614db982014-04-24 15:46:26 -0400104 <pre>Adds a new user to the given view (profile).
105
106Args:
107 accountId: string, Account ID to create the user link for. (required)
108 webPropertyId: string, Web Property ID to create the user link for. (required)
109 profileId: string, View (Profile) ID to create the user link for. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700110 body: object, The request body.
John Asmuth614db982014-04-24 15:46:26 -0400111 The object takes the form of:
112
113{ # 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 -0700114 &quot;id&quot;: &quot;A String&quot;, # Entity user link ID
Bu Sun Kim65020912020-05-20 12:08:20 -0700115 &quot;entity&quot;: { # Entity for this link. It can be an account, a web property, or a view (profile).
116 &quot;accountRef&quot;: { # JSON template for a linked account. # Account for this link.
Bu Sun Kim65020912020-05-20 12:08:20 -0700117 &quot;name&quot;: &quot;A String&quot;, # Account name.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700118 &quot;kind&quot;: &quot;analytics#accountRef&quot;, # Analytics account reference.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700119 &quot;href&quot;: &quot;A String&quot;, # Link for this account.
120 &quot;id&quot;: &quot;A String&quot;, # Account ID.
John Asmuth614db982014-04-24 15:46:26 -0400121 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700122 &quot;webPropertyRef&quot;: { # JSON template for a web property reference. # Web property for this link.
Bu Sun Kim65020912020-05-20 12:08:20 -0700123 &quot;name&quot;: &quot;A String&quot;, # Name of this web property.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700124 &quot;id&quot;: &quot;A String&quot;, # Web property ID of the form UA-XXXXX-YY.
125 &quot;kind&quot;: &quot;analytics#webPropertyRef&quot;, # Analytics web property reference.
126 &quot;href&quot;: &quot;A String&quot;, # Link for this web property.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700127 &quot;accountId&quot;: &quot;A String&quot;, # Account ID to which this web property belongs.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700128 &quot;internalWebPropertyId&quot;: &quot;A String&quot;, # Internal ID for this web property.
John Asmuth614db982014-04-24 15:46:26 -0400129 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700130 &quot;profileRef&quot;: { # JSON template for a linked view (profile). # View (Profile) for this link.
Bu Sun Kim65020912020-05-20 12:08:20 -0700131 &quot;id&quot;: &quot;A String&quot;, # View (Profile) ID.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700132 &quot;name&quot;: &quot;A String&quot;, # Name of this view (profile).
Bu Sun Kim65020912020-05-20 12:08:20 -0700133 &quot;kind&quot;: &quot;analytics#profileRef&quot;, # Analytics view (profile) reference.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700134 &quot;accountId&quot;: &quot;A String&quot;, # Account ID to which this view (profile) belongs.
135 &quot;internalWebPropertyId&quot;: &quot;A String&quot;, # Internal ID for the web property to which this view (profile) belongs.
136 &quot;href&quot;: &quot;A String&quot;, # Link for this view (profile).
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700137 &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 -0400138 },
139 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700140 &quot;userRef&quot;: { # JSON template for a user reference. # User reference.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700141 &quot;id&quot;: &quot;A String&quot;, # User ID.
Bu Sun Kim65020912020-05-20 12:08:20 -0700142 &quot;email&quot;: &quot;A String&quot;, # Email ID of this user.
143 &quot;kind&quot;: &quot;analytics#userRef&quot;,
Bu Sun Kim65020912020-05-20 12:08:20 -0700144 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700145 &quot;permissions&quot;: { # Permissions the user has for this entity.
146 &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.
147 &quot;A String&quot;,
148 ],
149 &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.
150 &quot;A String&quot;,
151 ],
152 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700153 &quot;selfLink&quot;: &quot;A String&quot;, # Self link for this resource.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700154 &quot;kind&quot;: &quot;analytics#entityUserLink&quot;, # Resource type for entity user link.
John Asmuth614db982014-04-24 15:46:26 -0400155 }
156
157
158Returns:
159 An object of the form:
160
161 { # 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 -0700162 &quot;id&quot;: &quot;A String&quot;, # Entity user link ID
Bu Sun Kim65020912020-05-20 12:08:20 -0700163 &quot;entity&quot;: { # Entity for this link. It can be an account, a web property, or a view (profile).
164 &quot;accountRef&quot;: { # JSON template for a linked account. # Account for this link.
Bu Sun Kim65020912020-05-20 12:08:20 -0700165 &quot;name&quot;: &quot;A String&quot;, # Account name.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700166 &quot;kind&quot;: &quot;analytics#accountRef&quot;, # Analytics account reference.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700167 &quot;href&quot;: &quot;A String&quot;, # Link for this account.
168 &quot;id&quot;: &quot;A String&quot;, # Account ID.
John Asmuth614db982014-04-24 15:46:26 -0400169 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700170 &quot;webPropertyRef&quot;: { # JSON template for a web property reference. # Web property for this link.
Bu Sun Kim65020912020-05-20 12:08:20 -0700171 &quot;name&quot;: &quot;A String&quot;, # Name of this web property.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700172 &quot;id&quot;: &quot;A String&quot;, # Web property ID of the form UA-XXXXX-YY.
173 &quot;kind&quot;: &quot;analytics#webPropertyRef&quot;, # Analytics web property reference.
174 &quot;href&quot;: &quot;A String&quot;, # Link for this web property.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700175 &quot;accountId&quot;: &quot;A String&quot;, # Account ID to which this web property belongs.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700176 &quot;internalWebPropertyId&quot;: &quot;A String&quot;, # Internal ID for this web property.
John Asmuth614db982014-04-24 15:46:26 -0400177 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700178 &quot;profileRef&quot;: { # JSON template for a linked view (profile). # View (Profile) for this link.
Bu Sun Kim65020912020-05-20 12:08:20 -0700179 &quot;id&quot;: &quot;A String&quot;, # View (Profile) ID.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700180 &quot;name&quot;: &quot;A String&quot;, # Name of this view (profile).
Bu Sun Kim65020912020-05-20 12:08:20 -0700181 &quot;kind&quot;: &quot;analytics#profileRef&quot;, # Analytics view (profile) reference.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700182 &quot;accountId&quot;: &quot;A String&quot;, # Account ID to which this view (profile) belongs.
183 &quot;internalWebPropertyId&quot;: &quot;A String&quot;, # Internal ID for the web property to which this view (profile) belongs.
184 &quot;href&quot;: &quot;A String&quot;, # Link for this view (profile).
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700185 &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 -0400186 },
187 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700188 &quot;userRef&quot;: { # JSON template for a user reference. # User reference.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700189 &quot;id&quot;: &quot;A String&quot;, # User ID.
Bu Sun Kim65020912020-05-20 12:08:20 -0700190 &quot;email&quot;: &quot;A String&quot;, # Email ID of this user.
191 &quot;kind&quot;: &quot;analytics#userRef&quot;,
Bu Sun Kim65020912020-05-20 12:08:20 -0700192 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700193 &quot;permissions&quot;: { # Permissions the user has for this entity.
194 &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.
195 &quot;A String&quot;,
196 ],
197 &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.
198 &quot;A String&quot;,
199 ],
200 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700201 &quot;selfLink&quot;: &quot;A String&quot;, # Self link for this resource.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700202 &quot;kind&quot;: &quot;analytics#entityUserLink&quot;, # Resource type for entity user link.
John Asmuth614db982014-04-24 15:46:26 -0400203 }</pre>
204</div>
205
206<div class="method">
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700207 <code class="details" id="list">list(accountId, webPropertyId, profileId, max_results=None, start_index=None)</code>
John Asmuth614db982014-04-24 15:46:26 -0400208 <pre>Lists profile-user links for a given view (profile).
209
210Args:
211 accountId: string, Account ID which the given view (profile) belongs to. (required)
Bu Sun Kim65020912020-05-20 12:08:20 -0700212 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)
213 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 Kim65020912020-05-20 12:08:20 -0700214 max_results: integer, The maximum number of profile-user links to include in this response.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700215 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.
John Asmuth614db982014-04-24 15:46:26 -0400216
217Returns:
218 An object of the form:
219
220 { # 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 -0700221 &quot;items&quot;: [ # A list of entity user links.
John Asmuth614db982014-04-24 15:46:26 -0400222 { # 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 -0700223 &quot;id&quot;: &quot;A String&quot;, # Entity user link ID
Bu Sun Kim65020912020-05-20 12:08:20 -0700224 &quot;entity&quot;: { # Entity for this link. It can be an account, a web property, or a view (profile).
225 &quot;accountRef&quot;: { # JSON template for a linked account. # Account for this link.
Bu Sun Kim65020912020-05-20 12:08:20 -0700226 &quot;name&quot;: &quot;A String&quot;, # Account name.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700227 &quot;kind&quot;: &quot;analytics#accountRef&quot;, # Analytics account reference.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700228 &quot;href&quot;: &quot;A String&quot;, # Link for this account.
229 &quot;id&quot;: &quot;A String&quot;, # Account ID.
John Asmuth614db982014-04-24 15:46:26 -0400230 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700231 &quot;webPropertyRef&quot;: { # JSON template for a web property reference. # Web property for this link.
Bu Sun Kim65020912020-05-20 12:08:20 -0700232 &quot;name&quot;: &quot;A String&quot;, # Name of this web property.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700233 &quot;id&quot;: &quot;A String&quot;, # Web property ID of the form UA-XXXXX-YY.
234 &quot;kind&quot;: &quot;analytics#webPropertyRef&quot;, # Analytics web property reference.
235 &quot;href&quot;: &quot;A String&quot;, # Link for this web property.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700236 &quot;accountId&quot;: &quot;A String&quot;, # Account ID to which this web property belongs.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700237 &quot;internalWebPropertyId&quot;: &quot;A String&quot;, # Internal ID for this web property.
John Asmuth614db982014-04-24 15:46:26 -0400238 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700239 &quot;profileRef&quot;: { # JSON template for a linked view (profile). # View (Profile) for this link.
Bu Sun Kim65020912020-05-20 12:08:20 -0700240 &quot;id&quot;: &quot;A String&quot;, # View (Profile) ID.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700241 &quot;name&quot;: &quot;A String&quot;, # Name of this view (profile).
Bu Sun Kim65020912020-05-20 12:08:20 -0700242 &quot;kind&quot;: &quot;analytics#profileRef&quot;, # Analytics view (profile) reference.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700243 &quot;accountId&quot;: &quot;A String&quot;, # Account ID to which this view (profile) belongs.
244 &quot;internalWebPropertyId&quot;: &quot;A String&quot;, # Internal ID for the web property to which this view (profile) belongs.
245 &quot;href&quot;: &quot;A String&quot;, # Link for this view (profile).
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700246 &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 -0400247 },
248 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700249 &quot;userRef&quot;: { # JSON template for a user reference. # User reference.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700250 &quot;id&quot;: &quot;A String&quot;, # User ID.
Bu Sun Kim65020912020-05-20 12:08:20 -0700251 &quot;email&quot;: &quot;A String&quot;, # Email ID of this user.
252 &quot;kind&quot;: &quot;analytics#userRef&quot;,
Bu Sun Kim65020912020-05-20 12:08:20 -0700253 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700254 &quot;permissions&quot;: { # Permissions the user has for this entity.
255 &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.
256 &quot;A String&quot;,
257 ],
258 &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.
259 &quot;A String&quot;,
260 ],
261 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700262 &quot;selfLink&quot;: &quot;A String&quot;, # Self link for this resource.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700263 &quot;kind&quot;: &quot;analytics#entityUserLink&quot;, # Resource type for entity user link.
John Asmuth614db982014-04-24 15:46:26 -0400264 },
265 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700266 &quot;startIndex&quot;: 42, # The starting index of the entries, which is 1 by default or otherwise specified by the start-index query parameter.
267 &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 -0700268 &quot;totalResults&quot;: 42, # The total number of results for the query, regardless of the number of results in the response.
269 &quot;previousLink&quot;: &quot;A String&quot;, # Previous link for this account collection.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700270 &quot;kind&quot;: &quot;analytics#entityUserLinks&quot;, # Collection type.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700271 &quot;nextLink&quot;: &quot;A String&quot;, # Next link for this account collection.
John Asmuth614db982014-04-24 15:46:26 -0400272 }</pre>
273</div>
274
275<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700276 <code class="details" id="update">update(accountId, webPropertyId, profileId, linkId, body=None)</code>
John Asmuth614db982014-04-24 15:46:26 -0400277 <pre>Updates permissions for an existing user on the given view (profile).
278
279Args:
280 accountId: string, Account ID to update the user link for. (required)
281 webPropertyId: string, Web Property ID to update the user link for. (required)
282 profileId: string, View (Profile ID) to update the user link for. (required)
283 linkId: string, Link ID to update the user link for. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700284 body: object, The request body.
John Asmuth614db982014-04-24 15:46:26 -0400285 The object takes the form of:
286
287{ # 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 -0700288 &quot;id&quot;: &quot;A String&quot;, # Entity user link ID
Bu Sun Kim65020912020-05-20 12:08:20 -0700289 &quot;entity&quot;: { # Entity for this link. It can be an account, a web property, or a view (profile).
290 &quot;accountRef&quot;: { # JSON template for a linked account. # Account for this link.
Bu Sun Kim65020912020-05-20 12:08:20 -0700291 &quot;name&quot;: &quot;A String&quot;, # Account name.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700292 &quot;kind&quot;: &quot;analytics#accountRef&quot;, # Analytics account reference.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700293 &quot;href&quot;: &quot;A String&quot;, # Link for this account.
294 &quot;id&quot;: &quot;A String&quot;, # Account ID.
John Asmuth614db982014-04-24 15:46:26 -0400295 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700296 &quot;webPropertyRef&quot;: { # JSON template for a web property reference. # Web property for this link.
Bu Sun Kim65020912020-05-20 12:08:20 -0700297 &quot;name&quot;: &quot;A String&quot;, # Name of this web property.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700298 &quot;id&quot;: &quot;A String&quot;, # Web property ID of the form UA-XXXXX-YY.
299 &quot;kind&quot;: &quot;analytics#webPropertyRef&quot;, # Analytics web property reference.
300 &quot;href&quot;: &quot;A String&quot;, # Link for this web property.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700301 &quot;accountId&quot;: &quot;A String&quot;, # Account ID to which this web property belongs.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700302 &quot;internalWebPropertyId&quot;: &quot;A String&quot;, # Internal ID for this web property.
John Asmuth614db982014-04-24 15:46:26 -0400303 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700304 &quot;profileRef&quot;: { # JSON template for a linked view (profile). # View (Profile) for this link.
Bu Sun Kim65020912020-05-20 12:08:20 -0700305 &quot;id&quot;: &quot;A String&quot;, # View (Profile) ID.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700306 &quot;name&quot;: &quot;A String&quot;, # Name of this view (profile).
Bu Sun Kim65020912020-05-20 12:08:20 -0700307 &quot;kind&quot;: &quot;analytics#profileRef&quot;, # Analytics view (profile) reference.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700308 &quot;accountId&quot;: &quot;A String&quot;, # Account ID to which this view (profile) belongs.
309 &quot;internalWebPropertyId&quot;: &quot;A String&quot;, # Internal ID for the web property to which this view (profile) belongs.
310 &quot;href&quot;: &quot;A String&quot;, # Link for this view (profile).
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700311 &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 -0400312 },
313 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700314 &quot;userRef&quot;: { # JSON template for a user reference. # User reference.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700315 &quot;id&quot;: &quot;A String&quot;, # User ID.
Bu Sun Kim65020912020-05-20 12:08:20 -0700316 &quot;email&quot;: &quot;A String&quot;, # Email ID of this user.
317 &quot;kind&quot;: &quot;analytics#userRef&quot;,
Bu Sun Kim65020912020-05-20 12:08:20 -0700318 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700319 &quot;permissions&quot;: { # Permissions the user has for this entity.
320 &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.
321 &quot;A String&quot;,
322 ],
323 &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.
324 &quot;A String&quot;,
325 ],
326 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700327 &quot;selfLink&quot;: &quot;A String&quot;, # Self link for this resource.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700328 &quot;kind&quot;: &quot;analytics#entityUserLink&quot;, # Resource type for entity user link.
John Asmuth614db982014-04-24 15:46:26 -0400329 }
330
331
332Returns:
333 An object of the form:
334
335 { # 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 -0700336 &quot;id&quot;: &quot;A String&quot;, # Entity user link ID
Bu Sun Kim65020912020-05-20 12:08:20 -0700337 &quot;entity&quot;: { # Entity for this link. It can be an account, a web property, or a view (profile).
338 &quot;accountRef&quot;: { # JSON template for a linked account. # Account for this link.
Bu Sun Kim65020912020-05-20 12:08:20 -0700339 &quot;name&quot;: &quot;A String&quot;, # Account name.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700340 &quot;kind&quot;: &quot;analytics#accountRef&quot;, # Analytics account reference.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700341 &quot;href&quot;: &quot;A String&quot;, # Link for this account.
342 &quot;id&quot;: &quot;A String&quot;, # Account ID.
John Asmuth614db982014-04-24 15:46:26 -0400343 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700344 &quot;webPropertyRef&quot;: { # JSON template for a web property reference. # Web property for this link.
Bu Sun Kim65020912020-05-20 12:08:20 -0700345 &quot;name&quot;: &quot;A String&quot;, # Name of this web property.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700346 &quot;id&quot;: &quot;A String&quot;, # Web property ID of the form UA-XXXXX-YY.
347 &quot;kind&quot;: &quot;analytics#webPropertyRef&quot;, # Analytics web property reference.
348 &quot;href&quot;: &quot;A String&quot;, # Link for this web property.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700349 &quot;accountId&quot;: &quot;A String&quot;, # Account ID to which this web property belongs.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700350 &quot;internalWebPropertyId&quot;: &quot;A String&quot;, # Internal ID for this web property.
John Asmuth614db982014-04-24 15:46:26 -0400351 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700352 &quot;profileRef&quot;: { # JSON template for a linked view (profile). # View (Profile) for this link.
Bu Sun Kim65020912020-05-20 12:08:20 -0700353 &quot;id&quot;: &quot;A String&quot;, # View (Profile) ID.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700354 &quot;name&quot;: &quot;A String&quot;, # Name of this view (profile).
Bu Sun Kim65020912020-05-20 12:08:20 -0700355 &quot;kind&quot;: &quot;analytics#profileRef&quot;, # Analytics view (profile) reference.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700356 &quot;accountId&quot;: &quot;A String&quot;, # Account ID to which this view (profile) belongs.
357 &quot;internalWebPropertyId&quot;: &quot;A String&quot;, # Internal ID for the web property to which this view (profile) belongs.
358 &quot;href&quot;: &quot;A String&quot;, # Link for this view (profile).
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700359 &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 -0400360 },
361 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700362 &quot;userRef&quot;: { # JSON template for a user reference. # User reference.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700363 &quot;id&quot;: &quot;A String&quot;, # User ID.
Bu Sun Kim65020912020-05-20 12:08:20 -0700364 &quot;email&quot;: &quot;A String&quot;, # Email ID of this user.
365 &quot;kind&quot;: &quot;analytics#userRef&quot;,
Bu Sun Kim65020912020-05-20 12:08:20 -0700366 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700367 &quot;permissions&quot;: { # Permissions the user has for this entity.
368 &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.
369 &quot;A String&quot;,
370 ],
371 &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.
372 &quot;A String&quot;,
373 ],
374 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700375 &quot;selfLink&quot;: &quot;A String&quot;, # Self link for this resource.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700376 &quot;kind&quot;: &quot;analytics#entityUserLink&quot;, # Resource type for entity user link.
John Asmuth614db982014-04-24 15:46:26 -0400377 }</pre>
378</div>
379
380</body></html>