@@ -235,6 +235,7 @@ def __init__(
235235
236236 if generation is not None :
237237 self ._properties ["generation" ] = generation
238+
238239 @property
239240 def bucket (self ):
240241 """Bucket which contains the object.
@@ -2178,12 +2179,12 @@ def _initiate_resumable_upload(
21782179 unless otherwise directed.
21792180
21802181 :type crc32c_checksum_value: str
2181- :param crc32c_checksum_value: (Optional) This should be the checksum of
2182+ :param crc32c_checksum_value: (Optional) This should be the checksum of
21822183 the entire contents of `file`. Applicable while uploading object
21832184 greater than `_MAX_MULTIPART_SIZE` bytes.
21842185
21852186 It can be obtained by running
2186-
2187+
21872188 `gcloud storage hash /path/to/your/file`
21882189
21892190 or
@@ -2204,7 +2205,7 @@ def _initiate_resumable_upload(
22042205
22052206 Above code block prints 8 char string of base64 encoded big-endian
22062207 bytes of 32 bit CRC32c integer.
2207-
2208+
22082209 More details on CRC32c can be found in Appendix B:
22092210 https://datatracker.ietf.org/doc/html/rfc4960#appendix-B and
22102211 base64: https://datatracker.ietf.org/doc/html/rfc4648#section-4
@@ -2396,12 +2397,12 @@ def _do_resumable_upload(
23962397 unless otherwise directed.
23972398
23982399 :type crc32c_checksum_value: str
2399- :param crc32c_checksum_value: (Optional) This should be the checksum of
2400+ :param crc32c_checksum_value: (Optional) This should be the checksum of
24002401 the entire contents of `stream`. Applicable while uploading object
24012402 greater than `_MAX_MULTIPART_SIZE` bytes.
24022403
24032404 It can be obtained by running
2404-
2405+
24052406 `gcloud storage hash /path/to/your/file`
24062407
24072408 or
@@ -2422,7 +2423,7 @@ def _do_resumable_upload(
24222423
24232424 Above code block prints 8 char string of base64 encoded big-endian
24242425 bytes of 32 bit CRC32c integer.
2425-
2426+
24262427 More details on CRC32c can be found in Appendix B:
24272428 https://datatracker.ietf.org/doc/html/rfc4960#appendix-B and
24282429 base64: https://datatracker.ietf.org/doc/html/rfc4648#section-4
@@ -2578,12 +2579,12 @@ def _do_upload(
25782579 unless otherwise directed.
25792580
25802581 :type crc32c_checksum_value: str
2581- :param crc32c_checksum_value: (Optional) This should be the checksum of
2582+ :param crc32c_checksum_value: (Optional) This should be the checksum of
25822583 the entire contents of `file_obj`. Applicable while uploading object
25832584 greater than `_MAX_MULTIPART_SIZE` bytes.
25842585
25852586 It can be obtained by running
2586-
2587+
25872588 `gcloud storage hash /path/to/your/file`
25882589
25892590 or
@@ -2604,7 +2605,7 @@ def _do_upload(
26042605
26052606 Above code block prints 8 char string of base64 encoded big-endian
26062607 bytes of 32 bit CRC32c integer.
2607-
2608+
26082609 More details on CRC32c can be found in Appendix B:
26092610 https://datatracker.ietf.org/doc/html/rfc4960#appendix-B and
26102611 base64: https://datatracker.ietf.org/doc/html/rfc4648#section-4
@@ -2795,12 +2796,12 @@ def _prep_and_do_upload(
27952796 unless otherwise directed.
27962797
27972798 :type crc32c_checksum_value: str
2798- :param crc32c_checksum_value: (Optional) This should be the checksum of
2799+ :param crc32c_checksum_value: (Optional) This should be the checksum of
27992800 the entire contents of `file_obj`. Applicable while uploading object
28002801 greater than `_MAX_MULTIPART_SIZE` bytes.
28012802
28022803 It can be obtained by running
2803-
2804+
28042805 `gcloud storage hash /path/to/your/file`
28052806
28062807 or
@@ -2821,7 +2822,7 @@ def _prep_and_do_upload(
28212822
28222823 Above code block prints 8 char string of base64 encoded big-endian
28232824 bytes of 32 bit CRC32c integer.
2824-
2825+
28252826 More details on CRC32c can be found in Appendix B:
28262827 https://datatracker.ietf.org/doc/html/rfc4960#appendix-B and
28272828 base64: https://datatracker.ietf.org/doc/html/rfc4648#section-4
@@ -2978,12 +2979,12 @@ def upload_from_file(
29782979 to configure them.
29792980
29802981 :type crc32c_checksum_value: str
2981- :param crc32c_checksum_value: (Optional) This should be the checksum of
2982+ :param crc32c_checksum_value: (Optional) This should be the checksum of
29822983 the entire contents of `file_obj`. Applicable while uploading object
29832984 greater than `_MAX_MULTIPART_SIZE` bytes.
29842985
29852986 It can be obtained by running
2986-
2987+
29872988 `gcloud storage hash /path/to/your/file`
29882989
29892990 or
@@ -3004,7 +3005,7 @@ def upload_from_file(
30043005
30053006 Above code block prints 8 char string of base64 encoded big-endian
30063007 bytes of 32 bit CRC32c integer.
3007-
3008+
30083009 More details on CRC32c can be found in Appendix B:
30093010 https://datatracker.ietf.org/doc/html/rfc4960#appendix-B and
30103011 base64: https://datatracker.ietf.org/doc/html/rfc4648#section-4
@@ -3068,7 +3069,6 @@ def upload_from_filename(
30683069 checksum = "auto" ,
30693070 retry = DEFAULT_RETRY ,
30703071 crc32c_checksum_value = None ,
3071-
30723072 ):
30733073 """Upload this blob's contents from the content of a named file.
30743074
@@ -3163,14 +3163,14 @@ def upload_from_filename(
31633163 See the retry.py source code and docstrings in this package
31643164 (google.cloud.storage.retry) for information on retry types and how
31653165 to configure them.
3166-
3166+
31673167 :type crc32c_checksum_value: str
3168- :param crc32c_checksum_value: (Optional) This should be the checksum of
3168+ :param crc32c_checksum_value: (Optional) This should be the checksum of
31693169 the entire contents of `filename`. Applicable while uploading object
31703170 greater than `_MAX_MULTIPART_SIZE` bytes.
31713171
31723172 It can be obtained by running
3173-
3173+
31743174 `gcloud storage hash /path/to/your/file`
31753175
31763176 or
@@ -3191,7 +3191,7 @@ def upload_from_filename(
31913191
31923192 Above code block prints 8 char string of base64 encoded big-endian
31933193 bytes of 32 bit CRC32c integer.
3194-
3194+
31953195 More details on CRC32c can be found in Appendix B:
31963196 https://datatracker.ietf.org/doc/html/rfc4960#appendix-B and
31973197 base64: https://datatracker.ietf.org/doc/html/rfc4648#section-4
@@ -3314,12 +3314,12 @@ def upload_from_string(
33143314 to configure them.
33153315
33163316 :type crc32c_checksum_value: str
3317- :param crc32c_checksum_value: (Optional) This should be the checksum of
3317+ :param crc32c_checksum_value: (Optional) This should be the checksum of
33183318 the entire contents of `file_obj`. Applicable while uploading object
33193319 greater than `_MAX_MULTIPART_SIZE` bytes.
33203320
33213321 It can be obtained by running
3322-
3322+
33233323 `gcloud storage hash /path/to/your/file`
33243324
33253325 or
@@ -3340,7 +3340,7 @@ def upload_from_string(
33403340
33413341 Above code block prints 8 char string of base64 encoded big-endian
33423342 bytes of 32 bit CRC32c integer.
3343-
3343+
33443344 More details on CRC32c can be found in Appendix B:
33453345 https://datatracker.ietf.org/doc/html/rfc4960#appendix-B and
33463346 base64: https://datatracker.ietf.org/doc/html/rfc4648#section-4
0 commit comments