Joe Gregorio | 2401bd6 | 2011-12-15 09:18:49 -0500 | [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-clear"><strong>clear</strong></a> = method(self, **kwargs)</dt><dd><tt>Clears a primary calendar. This operation deletes all data associated with the primary calendar of an account and cannot be undone.<br> |
| 18 | <br> |
| 19 | Args:<br> |
Joe Gregorio | 6621203 | 2012-06-14 09:10:14 -0400 | [diff] [blame^] | 20 | pp: string, A parameter<br> |
| 21 | trace: string, A parameter<br> |
| 22 | strict: string, A parameter<br> |
| 23 | calendarId: string, Calendar identifier. (required)<br> |
| 24 | userip: string, A parameter</tt></dd></dl> |
Joe Gregorio | 2401bd6 | 2011-12-15 09:18:49 -0500 | [diff] [blame] | 25 | |
| 26 | <dl><dt><a name="Resource-delete"><strong>delete</strong></a> = method(self, **kwargs)</dt><dd><tt>Deletes a secondary calendar.<br> |
| 27 | <br> |
| 28 | Args:<br> |
Joe Gregorio | 6621203 | 2012-06-14 09:10:14 -0400 | [diff] [blame^] | 29 | pp: string, A parameter<br> |
| 30 | trace: string, A parameter<br> |
| 31 | strict: string, A parameter<br> |
| 32 | calendarId: string, Calendar identifier. (required)<br> |
| 33 | userip: string, A parameter</tt></dd></dl> |
Joe Gregorio | 2401bd6 | 2011-12-15 09:18:49 -0500 | [diff] [blame] | 34 | |
| 35 | <dl><dt><a name="Resource-get"><strong>get</strong></a> = method(self, **kwargs)</dt><dd><tt>Returns metadata for a calendar.<br> |
| 36 | <br> |
| 37 | Args:<br> |
Joe Gregorio | 6621203 | 2012-06-14 09:10:14 -0400 | [diff] [blame^] | 38 | pp: string, A parameter<br> |
| 39 | trace: string, A parameter<br> |
| 40 | strict: string, A parameter<br> |
Joe Gregorio | 2401bd6 | 2011-12-15 09:18:49 -0500 | [diff] [blame] | 41 | calendarId: string, Calendar identifier. (required)<br> |
Joe Gregorio | 6621203 | 2012-06-14 09:10:14 -0400 | [diff] [blame^] | 42 | userip: string, A parameter<br> |
Joe Gregorio | 2401bd6 | 2011-12-15 09:18:49 -0500 | [diff] [blame] | 43 | <br> |
| 44 | Returns:<br> |
| 45 | An object of the form<br> |
| 46 | <br> |
| 47 | {<br> |
| 48 | "kind": "calendar#calendar", # Type of the resource ("calendar#calendar").<br> |
| 49 | "description": "A String", # Description of the calendar. Optional.<br> |
| 50 | "summary": "A String", # Title of the calendar.<br> |
| 51 | "etag": "A String", # ETag of the resource.<br> |
| 52 | "location": "A String", # Geographic location of the calendar as free-form text. Optional.<br> |
| 53 | "timeZone": "A String", # The time zone of the calendar. Optional.<br> |
| 54 | "id": "A String", # Identifier of the calendar.<br> |
| 55 | }</tt></dd></dl> |
| 56 | |
| 57 | <dl><dt><a name="Resource-insert"><strong>insert</strong></a> = method(self, **kwargs)</dt><dd><tt>Creates a secondary calendar.<br> |
| 58 | <br> |
| 59 | Args:<br> |
| 60 | body: object, The request body. (required)<br> |
| 61 | The object takes the form of:<br> |
| 62 | <br> |
| 63 | {<br> |
| 64 | "kind": "calendar#calendar", # Type of the resource ("calendar#calendar").<br> |
| 65 | "description": "A String", # Description of the calendar. Optional.<br> |
| 66 | "summary": "A String", # Title of the calendar.<br> |
| 67 | "etag": "A String", # ETag of the resource.<br> |
| 68 | "location": "A String", # Geographic location of the calendar as free-form text. Optional.<br> |
| 69 | "timeZone": "A String", # The time zone of the calendar. Optional.<br> |
| 70 | "id": "A String", # Identifier of the calendar.<br> |
| 71 | }<br> |
| 72 | <br> |
Joe Gregorio | 6621203 | 2012-06-14 09:10:14 -0400 | [diff] [blame^] | 73 | pp: string, A parameter<br> |
| 74 | trace: string, A parameter<br> |
| 75 | strict: string, A parameter<br> |
| 76 | userip: string, A parameter<br> |
Joe Gregorio | 2401bd6 | 2011-12-15 09:18:49 -0500 | [diff] [blame] | 77 | <br> |
| 78 | Returns:<br> |
| 79 | An object of the form<br> |
| 80 | <br> |
| 81 | {<br> |
| 82 | "kind": "calendar#calendar", # Type of the resource ("calendar#calendar").<br> |
| 83 | "description": "A String", # Description of the calendar. Optional.<br> |
| 84 | "summary": "A String", # Title of the calendar.<br> |
| 85 | "etag": "A String", # ETag of the resource.<br> |
| 86 | "location": "A String", # Geographic location of the calendar as free-form text. Optional.<br> |
| 87 | "timeZone": "A String", # The time zone of the calendar. Optional.<br> |
| 88 | "id": "A String", # Identifier of the calendar.<br> |
| 89 | }</tt></dd></dl> |
| 90 | |
| 91 | <dl><dt><a name="Resource-patch"><strong>patch</strong></a> = method(self, **kwargs)</dt><dd><tt>Updates metadata for a calendar. This method supports patch semantics.<br> |
| 92 | <br> |
| 93 | Args:<br> |
| 94 | body: object, The request body. (required)<br> |
| 95 | The object takes the form of:<br> |
| 96 | <br> |
| 97 | {<br> |
| 98 | "kind": "calendar#calendar", # Type of the resource ("calendar#calendar").<br> |
| 99 | "description": "A String", # Description of the calendar. Optional.<br> |
| 100 | "summary": "A String", # Title of the calendar.<br> |
| 101 | "etag": "A String", # ETag of the resource.<br> |
| 102 | "location": "A String", # Geographic location of the calendar as free-form text. Optional.<br> |
| 103 | "timeZone": "A String", # The time zone of the calendar. Optional.<br> |
| 104 | "id": "A String", # Identifier of the calendar.<br> |
| 105 | }<br> |
| 106 | <br> |
Joe Gregorio | 6621203 | 2012-06-14 09:10:14 -0400 | [diff] [blame^] | 107 | pp: string, A parameter<br> |
| 108 | trace: string, A parameter<br> |
| 109 | strict: string, A parameter<br> |
Joe Gregorio | 2401bd6 | 2011-12-15 09:18:49 -0500 | [diff] [blame] | 110 | calendarId: string, Calendar identifier. (required)<br> |
Joe Gregorio | 6621203 | 2012-06-14 09:10:14 -0400 | [diff] [blame^] | 111 | userip: string, A parameter<br> |
Joe Gregorio | 2401bd6 | 2011-12-15 09:18:49 -0500 | [diff] [blame] | 112 | <br> |
| 113 | Returns:<br> |
| 114 | An object of the form<br> |
| 115 | <br> |
| 116 | {<br> |
| 117 | "kind": "calendar#calendar", # Type of the resource ("calendar#calendar").<br> |
| 118 | "description": "A String", # Description of the calendar. Optional.<br> |
| 119 | "summary": "A String", # Title of the calendar.<br> |
| 120 | "etag": "A String", # ETag of the resource.<br> |
| 121 | "location": "A String", # Geographic location of the calendar as free-form text. Optional.<br> |
| 122 | "timeZone": "A String", # The time zone of the calendar. Optional.<br> |
| 123 | "id": "A String", # Identifier of the calendar.<br> |
| 124 | }</tt></dd></dl> |
| 125 | |
| 126 | <dl><dt><a name="Resource-update"><strong>update</strong></a> = method(self, **kwargs)</dt><dd><tt>Updates metadata for a calendar.<br> |
| 127 | <br> |
| 128 | Args:<br> |
| 129 | body: object, The request body. (required)<br> |
| 130 | The object takes the form of:<br> |
| 131 | <br> |
| 132 | {<br> |
| 133 | "kind": "calendar#calendar", # Type of the resource ("calendar#calendar").<br> |
| 134 | "description": "A String", # Description of the calendar. Optional.<br> |
| 135 | "summary": "A String", # Title of the calendar.<br> |
| 136 | "etag": "A String", # ETag of the resource.<br> |
| 137 | "location": "A String", # Geographic location of the calendar as free-form text. Optional.<br> |
| 138 | "timeZone": "A String", # The time zone of the calendar. Optional.<br> |
| 139 | "id": "A String", # Identifier of the calendar.<br> |
| 140 | }<br> |
| 141 | <br> |
Joe Gregorio | 6621203 | 2012-06-14 09:10:14 -0400 | [diff] [blame^] | 142 | pp: string, A parameter<br> |
| 143 | trace: string, A parameter<br> |
| 144 | strict: string, A parameter<br> |
Joe Gregorio | 2401bd6 | 2011-12-15 09:18:49 -0500 | [diff] [blame] | 145 | calendarId: string, Calendar identifier. (required)<br> |
Joe Gregorio | 6621203 | 2012-06-14 09:10:14 -0400 | [diff] [blame^] | 146 | userip: string, A parameter<br> |
Joe Gregorio | 2401bd6 | 2011-12-15 09:18:49 -0500 | [diff] [blame] | 147 | <br> |
| 148 | Returns:<br> |
| 149 | An object of the form<br> |
| 150 | <br> |
| 151 | {<br> |
| 152 | "kind": "calendar#calendar", # Type of the resource ("calendar#calendar").<br> |
| 153 | "description": "A String", # Description of the calendar. Optional.<br> |
| 154 | "summary": "A String", # Title of the calendar.<br> |
| 155 | "etag": "A String", # ETag of the resource.<br> |
| 156 | "location": "A String", # Geographic location of the calendar as free-form text. Optional.<br> |
| 157 | "timeZone": "A String", # The time zone of the calendar. Optional.<br> |
| 158 | "id": "A String", # Identifier of the calendar.<br> |
| 159 | }</tt></dd></dl> |
| 160 | |
| 161 | <hr> |
| 162 | Data descriptors defined here:<br> |
| 163 | <dl><dt><strong>__dict__</strong></dt> |
| 164 | <dd><tt>dictionary for instance variables (if defined)</tt></dd> |
| 165 | </dl> |
| 166 | <dl><dt><strong>__weakref__</strong></dt> |
| 167 | <dd><tt>list of weak references to the object (if defined)</tt></dd> |
| 168 | </dl> |
| 169 | </td></tr></table> |
| 170 | </body></html> |