@@ -115,7 +115,7 @@ def path_helper(bucket_path, blob_name):
115
115
:type blob_name: string
116
116
:param blob_name: The name of the blob.
117
117
118
- :rtype: string
118
+ :rtype: str
119
119
:returns: The relative URL path for ``blob_name``.
120
120
"""
121
121
return bucket_path + '/o/' + quote (blob_name , safe = '' )
@@ -137,7 +137,7 @@ def __repr__(self):
137
137
def path (self ):
138
138
"""Getter property for the URL path to this Blob.
139
139
140
- :rtype: string
140
+ :rtype: str
141
141
:returns: The URL path to this Blob.
142
142
"""
143
143
if not self .name :
@@ -709,7 +709,7 @@ def rewrite(self, source, token=None, client=None):
709
709
710
710
If the property is not set locally, returns ``None``.
711
711
712
- :rtype: string or ``NoneType``
712
+ :rtype: str or ``NoneType``
713
713
"""
714
714
715
715
content_disposition = _scalar_property ('contentDisposition' )
@@ -720,7 +720,7 @@ def rewrite(self, source, token=None, client=None):
720
720
721
721
If the property is not set locally, returns ``None``.
722
722
723
- :rtype: string or ``NoneType``
723
+ :rtype: str or ``NoneType``
724
724
"""
725
725
726
726
content_encoding = _scalar_property ('contentEncoding' )
@@ -731,7 +731,7 @@ def rewrite(self, source, token=None, client=None):
731
731
732
732
If the property is not set locally, returns ``None``.
733
733
734
- :rtype: string or ``NoneType``
734
+ :rtype: str or ``NoneType``
735
735
"""
736
736
737
737
content_language = _scalar_property ('contentLanguage' )
@@ -742,7 +742,7 @@ def rewrite(self, source, token=None, client=None):
742
742
743
743
If the property is not set locally, returns ``None``.
744
744
745
- :rtype: string or ``NoneType``
745
+ :rtype: str or ``NoneType``
746
746
"""
747
747
748
748
content_type = _scalar_property ('contentType' )
@@ -753,7 +753,7 @@ def rewrite(self, source, token=None, client=None):
753
753
754
754
If the property is not set locally, returns ``None``.
755
755
756
- :rtype: string or ``NoneType``
756
+ :rtype: str or ``NoneType``
757
757
"""
758
758
759
759
crc32c = _scalar_property ('crc32c' )
@@ -764,7 +764,7 @@ def rewrite(self, source, token=None, client=None):
764
764
765
765
If the property is not set locally, returns ``None``.
766
766
767
- :rtype: string or ``NoneType``
767
+ :rtype: str or ``NoneType``
768
768
"""
769
769
770
770
@property
@@ -789,7 +789,7 @@ def etag(self):
789
789
See: http://tools.ietf.org/html/rfc2616#section-3.11 and
790
790
https://cloud.google.com/storage/docs/json_api/v1/objects
791
791
792
- :rtype: string or ``NoneType``
792
+ :rtype: str or ``NoneType``
793
793
:returns: The blob etag or ``None`` if the property is not set locally.
794
794
"""
795
795
return self ._properties .get ('etag' )
@@ -814,7 +814,7 @@ def id(self):
814
814
815
815
See: https://cloud.google.com/storage/docs/json_api/v1/objects
816
816
817
- :rtype: string or ``NoneType``
817
+ :rtype: str or ``NoneType``
818
818
:returns: The ID of the blob or ``None`` if the property is not
819
819
set locally.
820
820
"""
@@ -828,7 +828,7 @@ def id(self):
828
828
829
829
If the property is not set locally, returns ``None``.
830
830
831
- :rtype: string or ``NoneType``
831
+ :rtype: str or ``NoneType``
832
832
"""
833
833
834
834
@property
@@ -837,7 +837,7 @@ def media_link(self):
837
837
838
838
See: https://cloud.google.com/storage/docs/json_api/v1/objects
839
839
840
- :rtype: string or ``NoneType``
840
+ :rtype: str or ``NoneType``
841
841
:returns: The media link for the blob or ``None`` if the property is
842
842
not set locally.
843
843
"""
@@ -898,7 +898,7 @@ def self_link(self):
898
898
899
899
See: https://cloud.google.com/storage/docs/json_api/v1/objects
900
900
901
- :rtype: string or ``NoneType``
901
+ :rtype: str or ``NoneType``
902
902
:returns: The self link for the blob or ``None`` if the property is
903
903
not set locally.
904
904
"""
@@ -924,7 +924,7 @@ def storage_class(self):
924
924
925
925
See: https://cloud.google.com/storage/docs/storage-classes
926
926
927
- :rtype: string or ``NoneType``
927
+ :rtype: str or ``NoneType``
928
928
:returns: If set, one of "MULTI_REGIONAL", "REGIONAL",
929
929
"NEARLINE", "COLDLINE", "STANDARD", or
930
930
"DURABLE_REDUCED_AVAILABILITY", else ``None``.
0 commit comments