Close httplib2 connections.
download(name, mimeType=None, x__xgafv=None)
Gets an attachment. To download attachment media via REST requires the alt=media query parameter. Returns a 400 bad request error if attachment media is not available in the requested MIME type.
download_media(name, mimeType=None, x__xgafv=None)
Gets an attachment. To download attachment media via REST requires the alt=media query parameter. Returns a 400 bad request error if attachment media is not available in the requested MIME type.
close()
Close httplib2 connections.
download(name, mimeType=None, x__xgafv=None)
Gets an attachment. To download attachment media via REST requires the alt=media query parameter. Returns a 400 bad request error if attachment media is not available in the requested MIME type. Args: name: string, Required. The name of the attachment. (required) mimeType: string, The IANA MIME type format requested. The requested MIME type must be one specified in the attachment.mime_type. Required when downloading attachment media and ignored otherwise. x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # An attachment to a note. "mimeType": [ # The MIME types (IANA media types) in which the attachment is available. "A String", ], "name": "A String", # The resource name; }
download_media(name, mimeType=None, x__xgafv=None)
Gets an attachment. To download attachment media via REST requires the alt=media query parameter. Returns a 400 bad request error if attachment media is not available in the requested MIME type. Args: name: string, Required. The name of the attachment. (required) mimeType: string, The IANA MIME type format requested. The requested MIME type must be one specified in the attachment.mime_type. Required when downloading attachment media and ignored otherwise. x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: The media object as a string.