Joe Gregorio | 0250385 | 2011-08-31 09:07:55 -0400 | [diff] [blame] | 1 | |
| 2 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> |
| 3 | <html><head><title>Python: class Resource</title> |
| 4 | </head><body bgcolor="#f0f0f8"> |
| 5 | <p> |
| 6 | <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| 7 | <tr bgcolor="#ffc8d8"> |
| 8 | <td colspan=3 valign=bottom> <br> |
| 9 | <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> |
| 10 | |
| 11 | <tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> |
| 12 | <td colspan=2><tt>A class for interacting with a resource.<br> </tt></td></tr> |
| 13 | <tr><td> </td> |
| 14 | <td width="100%">Methods defined here:<br> |
| 15 | <dl><dt><a name="Resource-__init__"><strong>__init__</strong></a>(self)</dt></dl> |
| 16 | |
| 17 | <dl><dt><a name="Resource-list"><strong>list</strong></a> = method(self, **kwargs)</dt><dd><tt>Retrieves a list of activities for a specific customer and application.<br> |
| 18 | <br> |
| 19 | Args:<br> |
Joe Gregorio | 0250385 | 2011-08-31 09:07:55 -0400 | [diff] [blame] | 20 | caller: string, Type of the caller.<br> |
| 21 | Allowed values<br> |
| 22 | application_owner - Caller is an application owner.<br> |
| 23 | customer - Caller is a customer.<br> |
Joe Gregorio | 0250385 | 2011-08-31 09:07:55 -0400 | [diff] [blame] | 24 | actorApplicationId: string, Application ID of the application which interacted on behalf of the user while performing the event.<br> |
Joe Gregorio | a845167 | 2011-09-15 09:53:21 -0400 | [diff] [blame^] | 25 | actorIpAddress: string, IP Address of host where the event was performed. Supports both IPv4 and IPv6 addresses.<br> |
| 26 | actorEmail: string, Email address of the user who performed the action.<br> |
| 27 | maxResults: integer, Number of activity records to be shown in each page.<br> |
Joe Gregorio | 0250385 | 2011-08-31 09:07:55 -0400 | [diff] [blame] | 28 | continuationToken: string, Next page URL.<br> |
Joe Gregorio | a845167 | 2011-09-15 09:53:21 -0400 | [diff] [blame^] | 29 | eventName: string, Name of the event being queried.<br> |
| 30 | endTime: string, Return events which occured at or before this time.<br> |
| 31 | startTime: string, Return events which occured at or after this time.<br> |
| 32 | parameters: string, Event parameters in the form [parameter1 name]:[parameter1 value],[parameter2 name]:[parameter2 value],...<br> |
| 33 | applicationId: string, Application ID of the application on which the event was performed. (required)<br> |
Joe Gregorio | 0250385 | 2011-08-31 09:07:55 -0400 | [diff] [blame] | 34 | customerId: string, Represents the customer who is the owner of target object on which action was performed. (required)</tt></dd></dl> |
| 35 | |
| 36 | <hr> |
| 37 | Data descriptors defined here:<br> |
| 38 | <dl><dt><strong>__dict__</strong></dt> |
| 39 | <dd><tt>dictionary for instance variables (if defined)</tt></dd> |
| 40 | </dl> |
| 41 | <dl><dt><strong>__weakref__</strong></dt> |
| 42 | <dd><tt>list of weak references to the object (if defined)</tt></dd> |
| 43 | </dl> |
| 44 | </td></tr></table> |
| 45 | </body></html> |