Skip to content

Commit

Permalink
Add predefined_acl to create_resumable_upload_session
Browse files Browse the repository at this point in the history
  • Loading branch information
ddelange authored Sep 28, 2022
1 parent 8d5a6c3 commit 3c4a653
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion google/cloud/storage/blob.py
Original file line number Diff line number Diff line change
Expand Up @@ -2861,6 +2861,7 @@ def create_resumable_upload_session(
client=None,
timeout=_DEFAULT_TIMEOUT,
checksum=None,
predefined_acl=None,
if_generation_match=None,
if_generation_not_match=None,
if_metageneration_match=None,
Expand Down Expand Up @@ -2942,6 +2943,9 @@ def create_resumable_upload_session(
delete the uploaded object automatically. Supported values
are "md5", "crc32c" and None. The default is None.
:type predefined_acl: str
:param predefined_acl: (Optional) Predefined access control list
:type if_generation_match: long
:param if_generation_match:
(Optional) See :ref:`using-if-generation-match`
Expand Down Expand Up @@ -3015,7 +3019,7 @@ def create_resumable_upload_session(
content_type,
size,
None,
predefined_acl=None,
predefined_acl=predefined_acl,
if_generation_match=if_generation_match,
if_generation_not_match=if_generation_not_match,
if_metageneration_match=if_metageneration_match,
Expand Down

0 comments on commit 3c4a653

Please sign in to comment.