class Resource(__builtin__.object)
`` | `A class for interacting with a resource.`
| Methods defined here: __init__(self) delete = method(self, **kwargs) `Delete a comment Args: userId: string, ID of the user being referenced. (required) hl: string, Language code to limit language results. commentId: string, ID of the comment being referenced. (required) alt: string, Specifies an alternative representation type. Allowed values atom - Use Atom XML format json - Use JSON format postId: string, ID of the activity for which to delete the comment. (required)` get = method(self, **kwargs) `Get a comment Args: userId: string, ID of the user being referenced. (required) hl: string, Language code to limit language results. commentId: string, ID of the comment being referenced. (required) alt: string, Specifies an alternative representation type. Allowed values atom - Use Atom XML format json - Use JSON format postId: string, ID of the activity for which to get comments. (required)` insert = method(self, **kwargs) `Create a comment Args: body: object, The request body. (required) userId: string, ID of the user on whose behalf to comment. (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 postId: string, ID of the activity on which to comment. (required)` list = method(self, **kwargs) `List comments Args: c: string, A continuation token that allows pagination. userId: string, ID of the user for whose post to get comments. (required) max_results: integer, Maximum number of results to include. hl: string, Language code to limit language results. scope: string, The collection to which the activity belongs. (required) Allowed values @self - Activities posted by the user. alt: string, Specifies an alternative representation type. Allowed values atom - Use Atom XML format json - Use JSON format postId: string, ID of the activity for which to get comments. (required)` patch = method(self, **kwargs) `Update a comment. This method supports patch semantics. Args: body: object, The request body. (required) userId: string, ID of the user being referenced. (required) abuseType: string, A parameter hl: string, Language code to limit language results. commentId: string, ID of the comment being referenced. (required) scope: string, The collection to which the activity belongs. (required) Allowed values @abuse - Comments reported by the user. @self - Comments posted by the user. alt: string, Specifies an alternative representation type. Allowed values atom - Use Atom XML format json - Use JSON format postId: string, ID of the activity for which to update the comment. (required)` update = method(self, **kwargs) `Update a comment Args: body: object, The request body. (required) userId: string, ID of the user being referenced. (required) abuseType: string, A parameter hl: string, Language code to limit language results. commentId: string, ID of the comment being referenced. (required) scope: string, The collection to which the activity belongs. (required) Allowed values @abuse - Comments reported by the user. @self - Comments posted by the user. alt: string, Specifies an alternative representation type. Allowed values atom - Use Atom XML format json - Use JSON format postId: string, ID of the activity for which to update the comment. (required)` Data descriptors defined here: __dict__ `dictionary for instance variables (if defined)` __weakref__ `list of weak references to the object (if defined)`