Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update 301 redirects for storage documentation. #3192

Merged
merged 2 commits into from
Mar 23, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion storage/google/cloud/storage/acl.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ class ACL(object):
'bucketOwnerFullControl',
])
"""See:
https://cloud.google.com/storage/docs/access-control#predefined-acl
https://cloud.google.com/storage/docs/access-control/lists#predefined-acl
"""

loaded = False
Expand Down
8 changes: 4 additions & 4 deletions storage/google/cloud/storage/blob.py
Original file line number Diff line number Diff line change
Expand Up @@ -943,7 +943,7 @@ def update_storage_class(self, new_class, client=None):
content_language = _scalar_property('contentLanguage')
"""HTTP 'Content-Language' header for this object.

See: http://tools.ietf.org/html/bcp47 and
See: https://tools.ietf.org/html/bcp47 and
https://cloud.google.com/storage/docs/json_api/v1/objects

If the property is not set locally, returns ``None``.
Expand All @@ -965,7 +965,7 @@ def update_storage_class(self, new_class, client=None):
crc32c = _scalar_property('crc32c')
"""CRC32C checksum for this object.

See: http://tools.ietf.org/html/rfc4960#appendix-B and
See: https://tools.ietf.org/html/rfc4960#appendix-B and
https://cloud.google.com/storage/docs/json_api/v1/objects

If the property is not set locally, returns ``None``.
Expand All @@ -992,7 +992,7 @@ def component_count(self):
def etag(self):
"""Retrieve the ETag for the object.

See: http://tools.ietf.org/html/rfc2616#section-3.11 and
See: https://tools.ietf.org/html/rfc2616#section-3.11 and
https://cloud.google.com/storage/docs/json_api/v1/objects

:rtype: str or ``NoneType``
Expand Down Expand Up @@ -1029,7 +1029,7 @@ def id(self):
md5_hash = _scalar_property('md5Hash')
"""MD5 hash for this object.

See: http://tools.ietf.org/html/rfc4960#appendix-B and
See: https://tools.ietf.org/html/rfc4960#appendix-B and
https://cloud.google.com/storage/docs/json_api/v1/objects

If the property is not set locally, returns ``None``.
Expand Down
12 changes: 6 additions & 6 deletions storage/google/cloud/storage/bucket.py
Original file line number Diff line number Diff line change
Expand Up @@ -552,7 +552,7 @@ def cors(self, entries):
def etag(self):
"""Retrieve the ETag for the bucket.

See: http://tools.ietf.org/html/rfc2616#section-3.11 and
See: https://tools.ietf.org/html/rfc2616#section-3.11 and
https://cloud.google.com/storage/docs/json_api/v1/buckets

:rtype: str or ``NoneType``
Expand Down Expand Up @@ -594,7 +594,7 @@ def lifecycle_rules(self, rules):
"""Retrieve location configured for this bucket.

See: https://cloud.google.com/storage/docs/json_api/v1/buckets and
https://cloud.google.com/storage/docs/concepts-techniques#specifyinglocations
https://cloud.google.com/storage/docs/bucket-locations

If the property is not set locally, returns ``None``.

Expand All @@ -604,7 +604,7 @@ def lifecycle_rules(self, rules):
def get_logging(self):
"""Return info about access logging for this bucket.

See: https://cloud.google.com/storage/docs/accesslogs#status
See: https://cloud.google.com/storage/docs/access-logs#status

:rtype: dict or None
:returns: a dict w/ keys, ``logBucket`` and ``logObjectPrefix``
Expand All @@ -616,7 +616,7 @@ def get_logging(self):
def enable_logging(self, bucket_name, object_prefix=''):
"""Enable access logging for this bucket.

See: https://cloud.google.com/storage/docs/accesslogs
See: https://cloud.google.com/storage/docs/access-logs

:type bucket_name: str
:param bucket_name: name of bucket in which to store access logs
Expand All @@ -630,7 +630,7 @@ def enable_logging(self, bucket_name, object_prefix=''):
def disable_logging(self):
"""Disable access logging for this bucket.

See: https://cloud.google.com/storage/docs/accesslogs#disabling
See: https://cloud.google.com/storage/docs/access-logs#disabling
"""
self._patch_property('logging', None)

Expand Down Expand Up @@ -755,7 +755,7 @@ def versioning_enabled(self, value):
def configure_website(self, main_page_suffix=None, not_found_page=None):
"""Configure website-related properties.

See: https://developers.google.com/storage/docs/website-configuration
See: https://cloud.google.com/storage/docs/hosting-static-website

.. note::
This (apparently) only works
Expand Down