8000 Merge pull request #23 from teamanvyl/fix/update-storage-attrs · coordt/cloud-functions-python@46d9d80 · GitHub
[go: up one dir, main page]

Skip to content

Commit 46d9d80

Browse files
authored
Merge pull request MartinSahlen#23 from teamanvyl/fix/update-storage-attrs
Update Storage object attributes to reflect current API
2 parents 5cb3498 + 3607a75 commit 46d9d80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cloudfn/storage.py

Lines changed: 1 addition & 1 deletion
< 4803 tr class="diff-line-row">
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def __init__(self, raw_json):
2424

2525
class Object:
2626
__ATTRIBUTES = (
27-
'kind', 'id', 'self_link', 'bucket', 'object', 'generation',
27+
'kind', 'id', 'self_link', 'bucket', 'name', 'generation',
2828
'metageneration', 'content_type', 'time_created', 'updated',
2929
'time_deleted', 'storage_class', 'time_storage_class_updated', 'size',
3030
'md5_hash', 'media_link', 'content_encoding', 'content_disposition',

0 commit comments

Comments
 (0)
0