class Resource(__builtin__.object)
`` | `A class for interacting with a resource.`
| Methods defined here: __init__(self) delete = method(self, **kwargs) `Delete a photo Args: photoId: string, ID of the photo to delete. (required) albumId: string, ID of the album to which to photo belongs. (required) userId: string, ID of the user being referenced. (required) hl: string, Language code to limit language results. alt: string, Specifies an alternative representation type. Allowed values atom - Use Atom XML format json - Use JSON format` get = method(self, **kwargs) `Get photo metadata Args: photoId: string, ID of the photo for which to get metadata. (required) albumId: string, ID of the album containing the photo. (required) userId: string, ID of the user being referenced. (required) hl: string, Language code to limit language results. alt: string, Specifies an alternative representation type. Allowed values atom - Use Atom XML format json - Use JSON format` insert = method(self, **kwargs) `Upload a photo to an album Args: body: object, The request body. media_body: string, The filename of the media request body. albumId: string, ID of the album to which to upload. (required) userId: string, ID of the user being referenced. (required) hl: string, Language code to limit language results. alt: string, Specifies an alternative representation type. Allowed values atom - Use Atom XML format json - Use JSON format` insert2 = method(self, **kwargs) `Upload a photo to an album Args: body: object, The request body. media_body: string, The filename of the media request body. albumId: string, ID of the album to which to upload. (required) userId: string, ID of the user being referenced. (required) hl: string, Language code to limit language results. alt: string, Specifies an alternative representation type. Allowed values atom - Use Atom XML format json - Use JSON format` listByAlbum = method(self, **kwargs) `List photos in an album Args: c: string, A continuation token that allows pagination. albumId: string, ID of the album for which to list photos. (required) userId: string, ID of the user being referenced. (required) max_results: integer, Maximum number of results to include. hl: string, Language code to limit language results. alt: string, Specifies an alternative representation type. Allowed values atom - Use Atom XML format json - Use JSON format` listByScope = method(self, **kwargs) `Get a user's photos Args: c: string, A continuation token that allows pagination. userId: string, ID of the user being referenced. (required) max_results: integer, Maximum number of results to include. hl: string, Language code to limit language results. scope: string, The collection of photos to list. (required) Allowed values @recent - Recent photos uploaded by the user. alt: string, Specifies an alternative representation type. Allowed values atom - Use Atom XML format json - Use JSON format` Data descriptors defined here: __dict__ `dictionary for instance variables (if defined)` __weakref__ `list of weak references to the object (if defined)`