download(resourceName, x__xgafv=None)
Method for media download. Download is supported
download_media(resourceName, x__xgafv=None)
Method for media download. Download is supported
download(resourceName, x__xgafv=None)
Method for media download. Download is supported on the URI `/v1/media/{+name}?alt=media`. Args: resourceName: string, Name of the media that is being downloaded. (required) x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # gdata "contentTypeInfo": { # gdata # gdata "bestGuess": "A String", # gdata "fromBytes": "A String", # gdata "fromFileName": "A String", # gdata "fromUrlPath": "A String", # gdata "fromHeader": "A String", # gdata }, "diffDownloadResponse": { # gdata # gdata "objectLocation": { # gdata # gdata "objectId": { # gdata # gdata "generation": "A String", # gdata "bucketName": "A String", # gdata "objectName": "A String", # gdata }, "blobstore2Info": { # gdata # gdata "downloadReadHandle": "A String", # gdata "readToken": "A String", # gdata "blobId": "A String", # gdata "blobGeneration": "A String", # gdata "uploadMetadataContainer": "A String", # gdata }, "cosmoBinaryReference": "A String", # gdata "md5Hash": "A String", # gdata "crc32cHash": 42, # gdata "length": "A String", # gdata "blobRef": "A String", # gdata "path": "A String", # gdata "inline": "A String", # gdata "referenceType": "A String", # gdata "sha1Hash": "A String", # gdata }, }, "mediaId": "A String", # gdata "blobRef": "A String", # gdata "contentType": "A String", # gdata "diffUploadRequest": { # gdata # gdata "checksumsInfo": { # gdata # gdata "objectId": { # gdata # gdata "generation": "A String", # gdata "bucketName": "A String", # gdata "objectName": "A String", # gdata }, "blobstore2Info": { # gdata # gdata "downloadReadHandle": "A String", # gdata "readToken": "A String", # gdata "blobId": "A String", # gdata "blobGeneration": "A String", # gdata "uploadMetadataContainer": "A String", # gdata }, "cosmoBinaryReference": "A String", # gdata "md5Hash": "A String", # gdata "crc32cHash": 42, # gdata "length": "A String", # gdata "blobRef": "A String", # gdata "path": "A String", # gdata "inline": "A String", # gdata "referenceType": "A String", # gdata "sha1Hash": "A String", # gdata }, "objectInfo": { # gdata # gdata "objectId": { # gdata # gdata "generation": "A String", # gdata "bucketName": "A String", # gdata "objectName": "A String", # gdata }, "blobstore2Info": { # gdata # gdata "downloadReadHandle": "A String", # gdata "readToken": "A String", # gdata "blobId": "A String", # gdata "blobGeneration": "A String", # gdata "uploadMetadataContainer": "A String", # gdata }, "cosmoBinaryReference": "A String", # gdata "md5Hash": "A String", # gdata "crc32cHash": 42, # gdata "length": "A String", # gdata "blobRef": "A String", # gdata "path": "A String", # gdata "inline": "A String", # gdata "referenceType": "A String", # gdata "sha1Hash": "A String", # gdata }, "objectVersion": "A String", # gdata }, "diffVersionResponse": { # gdata # gdata "objectSizeBytes": "A String", # gdata "objectVersion": "A String", # gdata }, "objectId": { # gdata # gdata "generation": "A String", # gdata "bucketName": "A String", # gdata "objectName": "A String", # gdata }, "blobstore2Info": { # gdata # gdata "downloadReadHandle": "A String", # gdata "readToken": "A String", # gdata "blobId": "A String", # gdata "blobGeneration": "A String", # gdata "uploadMetadataContainer": "A String", # gdata }, "cosmoBinaryReference": "A String", # gdata "md5Hash": "A String", # gdata "token": "A String", # gdata "downloadParameters": { # gdata # gdata "ignoreRange": True or False, # gdata "allowGzipCompression": True or False, # gdata }, "filename": "A String", # gdata "sha1Hash": "A String", # gdata "referenceType": "A String", # gdata "compositeMedia": [ # gdata { # gdata "objectId": { # gdata # gdata "generation": "A String", # gdata "bucketName": "A String", # gdata "objectName": "A String", # gdata }, "blobstore2Info": { # gdata # gdata "downloadReadHandle": "A String", # gdata "readToken": "A String", # gdata "blobId": "A String", # gdata "blobGeneration": "A String", # gdata "uploadMetadataContainer": "A String", # gdata }, "cosmoBinaryReference": "A String", # gdata "md5Hash": "A String", # gdata "crc32cHash": 42, # gdata "length": "A String", # gdata "blobRef": "A String", # gdata "path": "A String", # gdata "inline": "A String", # gdata "referenceType": "A String", # gdata "sha1Hash": "A String", # gdata }, ], "diffChecksumsResponse": { # gdata # gdata "objectSizeBytes": "A String", # gdata "chunkSizeBytes": "A String", # gdata "checksumsLocation": { # gdata # gdata "objectId": { # gdata # gdata "generation": "A String", # gdata "bucketName": "A String", # gdata "objectName": "A String", # gdata }, "blobstore2Info": { # gdata # gdata "downloadReadHandle": "A String", # gdata "readToken": "A String", # gdata "blobId": "A String", # gdata "blobGeneration": "A String", # gdata "uploadMetadataContainer": "A String", # gdata }, "cosmoBinaryReference": "A String", # gdata "md5Hash": "A String", # gdata "crc32cHash": 42, # gdata "length": "A String", # gdata "blobRef": "A String", # gdata "path": "A String", # gdata "inline": "A String", # gdata "referenceType": "A String", # gdata "sha1Hash": "A String", # gdata }, "objectVersion": "A String", # gdata "objectLocation": { # gdata # gdata "objectId": { # gdata # gdata "generation": "A String", # gdata "bucketName": "A String", # gdata "objectName": "A String", # gdata }, "blobstore2Info": { # gdata # gdata "downloadReadHandle": "A String", # gdata "readToken": "A String", # gdata "blobId": "A String", # gdata "blobGeneration": "A String", # gdata "uploadMetadataContainer": "A String", # gdata }, "cosmoBinaryReference": "A String", # gdata "md5Hash": "A String", # gdata "crc32cHash": 42, # gdata "length": "A String", # gdata "blobRef": "A String", # gdata "path": "A String", # gdata "inline": "A String", # gdata "referenceType": "A String", # gdata "sha1Hash": "A String", # gdata }, }, "hashVerified": True or False, # gdata "hash": "A String", # gdata "timestamp": "A String", # gdata "bigstoreObjectRef": "A String", # gdata "diffUploadResponse": { # gdata # gdata "originalObject": { # gdata # gdata "objectId": { # gdata # gdata "generation": "A String", # gdata "bucketName": "A String", # gdata "objectName": "A String", # gdata }, "blobstore2Info": { # gdata # gdata "downloadReadHandle": "A String", # gdata "readToken": "A String", # gdata "blobId": "A String", # gdata "blobGeneration": "A String", # gdata "uploadMetadataContainer": "A String", # gdata }, "cosmoBinaryReference": "A String", # gdata "md5Hash": "A String", # gdata "crc32cHash": 42, # gdata "length": "A String", # gdata "blobRef": "A String", # gdata "path": "A String", # gdata "inline": "A String", # gdata "referenceType": "A String", # gdata "sha1Hash": "A String", # gdata }, "objectVersion": "A String", # gdata }, "crc32cHash": 42, # gdata "sha256Hash": "A String", # gdata "path": "A String", # gdata "algorithm": "A String", # gdata "length": "A String", # gdata "isPotentialRetry": True or False, # gdata "inline": "A String", # gdata }
download_media(resourceName, x__xgafv=None)
Method for media download. Download is supported on the URI `/v1/media/{+name}?alt=media`. Args: resourceName: string, Name of the media that is being downloaded. (required) x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: The media object as a string.