Skip to content

Commit b035bf7

Browse files
authored
Merge pull request googleapis#3192 from daspecster/update-storage-docs-ga
Update 301 redirects for storage documentation.
2 parents 394b3ec + d2ccc81 commit b035bf7

3 files changed

Lines changed: 11 additions & 11 deletions

File tree

‎storage/google/cloud/storage/acl.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ class ACL(object):
196196
'bucketOwnerFullControl',
197197
])
198198
"""See:
199-
https://cloud.google.com/storage/docs/access-control#predefined-acl
199+
https://cloud.google.com/storage/docs/access-control/lists#predefined-acl
200200
"""
201201

202202
loaded = False

‎storage/google/cloud/storage/blob.py‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -943,7 +943,7 @@ def update_storage_class(self, new_class, client=None):
943943
content_language = _scalar_property('contentLanguage')
944944
"""HTTP 'Content-Language' header for this object.
945945
946-
See: http://tools.ietf.org/html/bcp47 and
946+
See: https://tools.ietf.org/html/bcp47 and
947947
https://cloud.google.com/storage/docs/json_api/v1/objects
948948
949949
If the property is not set locally, returns ``None``.
@@ -965,7 +965,7 @@ def update_storage_class(self, new_class, client=None):
965965
crc32c = _scalar_property('crc32c')
966966
"""CRC32C checksum for this object.
967967
968-
See: http://tools.ietf.org/html/rfc4960#appendix-B and
968+
See: https://tools.ietf.org/html/rfc4960#appendix-B and
969969
https://cloud.google.com/storage/docs/json_api/v1/objects
970970
971971
If the property is not set locally, returns ``None``.
@@ -992,7 +992,7 @@ def component_count(self):
992992
def etag(self):
993993
"""Retrieve the ETag for the object.
994994
995-
See: http://tools.ietf.org/html/rfc2616#section-3.11 and
995+
See: https://tools.ietf.org/html/rfc2616#section-3.11 and
996996
https://cloud.google.com/storage/docs/json_api/v1/objects
997997
998998
:rtype: str or ``NoneType``
@@ -1029,7 +1029,7 @@ def id(self):
10291029
md5_hash = _scalar_property('md5Hash')
10301030
"""MD5 hash for this object.
10311031
1032-
See: http://tools.ietf.org/html/rfc4960#appendix-B and
1032+
See: https://tools.ietf.org/html/rfc4960#appendix-B and
10331033
https://cloud.google.com/storage/docs/json_api/v1/objects
10341034
10351035
If the property is not set locally, returns ``None``.

‎storage/google/cloud/storage/bucket.py‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -552,7 +552,7 @@ def cors(self, entries):
552552
def etag(self):
553553
"""Retrieve the ETag for the bucket.
554554
555-
See: http://tools.ietf.org/html/rfc2616#section-3.11 and
555+
See: https://tools.ietf.org/html/rfc2616#section-3.11 and
556556
https://cloud.google.com/storage/docs/json_api/v1/buckets
557557
558558
:rtype: str or ``NoneType``
@@ -594,7 +594,7 @@ def lifecycle_rules(self, rules):
594594
"""Retrieve location configured for this bucket.
595595
596596
See: https://cloud.google.com/storage/docs/json_api/v1/buckets and
597-
https://cloud.google.com/storage/docs/concepts-techniques#specifyinglocations
597+
https://cloud.google.com/storage/docs/bucket-locations
598598
599599
If the property is not set locally, returns ``None``.
600600
@@ -604,7 +604,7 @@ def lifecycle_rules(self, rules):
604604
def get_logging(self):
605605
"""Return info about access logging for this bucket.
606606
607-
See: https://cloud.google.com/storage/docs/accesslogs#status
607+
See: https://cloud.google.com/storage/docs/access-logs#status
608608
609609
:rtype: dict or None
610610
:returns: a dict w/ keys, ``logBucket`` and ``logObjectPrefix``
@@ -616,7 +616,7 @@ def get_logging(self):
616616
def enable_logging(self, bucket_name, object_prefix=''):
617617
"""Enable access logging for this bucket.
618618
619-
See: https://cloud.google.com/storage/docs/accesslogs
619+
See: https://cloud.google.com/storage/docs/access-logs
620620
621621
:type bucket_name: str
622622
:param bucket_name: name of bucket in which to store access logs
@@ -630,7 +630,7 @@ def enable_logging(self, bucket_name, object_prefix=''):
630630
def disable_logging(self):
631631
"""Disable access logging for this bucket.
632632
633-
See: https://cloud.google.com/storage/docs/accesslogs#disabling
633+
See: https://cloud.google.com/storage/docs/access-logs#disabling
634634
"""
635635
self._patch_property('logging', None)
636636

@@ -755,7 +755,7 @@ def versioning_enabled(self, value):
755755
def configure_website(self, main_page_suffix=None, not_found_page=None):
756756
"""Configure website-related properties.
757757
758-
See: https://developers.google.com/storage/docs/website-configuration
758+
See: https://cloud.google.com/storage/docs/hosting-static-website
759759
760760
.. note::
761761
This (apparently) only works

0 commit comments

Comments
 (0)