78 lines
8.3 KiB
HTML
78 lines
8.3 KiB
HTML
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
|
<html><head><title>Python: class Resource</title>
|
|
</head><body bgcolor="#f0f0f8">
|
|
<p>
|
|
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
|
|
<tr bgcolor="#ffc8d8">
|
|
<td colspan=3 valign=bottom> <br>
|
|
<font color="#000000" face="helvetica, arial"><a name="Resource">class <strong>Resource</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr>
|
|
|
|
<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td>
|
|
<td colspan=2><tt>A class for interacting with a resource.<br> </tt></td></tr>
|
|
<tr><td> </td>
|
|
<td width="100%">Methods defined here:<br>
|
|
<dl><dt><a name="Resource-__init__"><strong>__init__</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="Resource-list"><strong>list</strong></a> = method(self, **kwargs)</dt><dd><tt>Lists profiles to which the user has access.<br>
|
|
<br>
|
|
Args:<br>
|
|
pp: string, A parameter<br>
|
|
trace: string, A parameter<br>
|
|
strict: string, A parameter<br>
|
|
max_results: integer, The maximum number of profiles to include in this response.<br>
|
|
webPropertyId: string, Web property ID for the profiles to retrieve. Can either be a specific web property ID or '~all', which refers to all the web properties to which the user has access. (required)<br>
|
|
userip: string, A parameter<br>
|
|
start_index: integer, An index of the first entity to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter.<br>
|
|
accountId: string, Account ID for the profiles to retrieve. Can either be a specific account ID or '~all', which refers to all the accounts to which the user has access. (required)<br>
|
|
<br>
|
|
Returns:<br>
|
|
An object of the form<br>
|
|
<br>
|
|
{<br>
|
|
"username": "A String", # Email ID of the authenticated user<br>
|
|
"kind": "analytics#profiles", # Collection type.<br>
|
|
"items": [ # A list of profiles.<br>
|
|
{<br>
|
|
"defaultPage": "A String", # Default page for this profile.<br>
|
|
"kind": "analytics#profile", # Resource type for Analytics profile.<br>
|
|
"excludeQueryParameters": "A String", # The query parameters that are excluded from this profile.<br>
|
|
"name": "A String", # Name of this profile.<br>
|
|
"created": "A String", # Time this profile was created.<br>
|
|
"webPropertyId": "A String", # Web property ID of the form UA-XXXXX-YY to which this profile belongs.<br>
|
|
"updated": "A String", # Time this profile was last modified.<br>
|
|
"siteSearchQueryParameters": "A String", # The site search query parameters for this profile.<br>
|
|
"currency": "A String", # The currency type associated with this profile.<br>
|
|
"internalWebPropertyId": "A String", # Internal ID for the web property to which this profile belongs.<br>
|
|
"childLink": { # Child link for this profile. Points to the list of goals for this profile.<br>
|
|
"href": "A String", # Link to the list of goals for this profile.<br>
|
|
"type": "analytics#goals", # Value is "analytics#goals".<br>
|
|
},<br>
|
|
"timezone": "A String", # Time zone for which this profile has been configured.<br>
|
|
"siteSearchCategoryParameters": "A String", # Site search category parameters for this profile.<br>
|
|
"parentLink": { # Parent link for this profile. Points to the web property to which this profile belongs.<br>
|
|
"href": "A String", # Link to the web property to which this profile belongs.<br>
|
|
"type": "analytics#webproperty", # Value is "analytics#webproperty".<br>
|
|
},<br>
|
|
"id": "A String", # Profile ID.<br>
|
|
"selfLink": "A String", # Link for this profile.<br>
|
|
"accountId": "A String", # Account ID to which this profile belongs.<br>
|
|
},<br>
|
|
],<br>
|
|
"itemsPerPage": 42, # The maximum number of resources the response can contain, regardless of the actual number of resources returned. Its value ranges from 1 to 10,000 with a value of 1000 by default, or otherwise specified by the max-results query parameter.<br>
|
|
"previousLink": "A String", # Link to previous page for this profile collection.<br>
|
|
"startIndex": 42, # The starting index of the resources, which is 1 by default or otherwise specified by the start-index query parameter.<br>
|
|
"nextLink": "A String", # Link to next page for this profile collection.<br>
|
|
"totalResults": 42, # The total number of results for the query, regardless of the number of results in the response.<br>
|
|
}</tt></dd></dl>
|
|
|
|
<hr>
|
|
Data descriptors defined here:<br>
|
|
<dl><dt><strong>__dict__</strong></dt>
|
|
<dd><tt>dictionary for instance variables (if defined)</tt></dd>
|
|
</dl>
|
|
<dl><dt><strong>__weakref__</strong></dt>
|
|
<dd><tt>list of weak references to the object (if defined)</tt></dd>
|
|
</dl>
|
|
</td></tr></table>
|
|
</body></html> |