@@ -968,6 +968,7 @@ def get_blob(
968968 .. literalinclude:: snippets.py
969969 :start-after: [START get_blob]
970970 :end-before: [END get_blob]
971+ :dedent: 4
971972
972973 If :attr:`user_project` is set, bills the API request to that project.
973974
@@ -1381,6 +1382,7 @@ def delete_blob(
13811382 .. literalinclude:: snippets.py
13821383 :start-after: [START delete_blob]
13831384 :end-before: [END delete_blob]
1385+ :dedent: 4
13841386
13851387 If :attr:`user_project` is set, bills the API request to that project.
13861388
@@ -1431,6 +1433,7 @@ def delete_blob(
14311433 .. literalinclude:: snippets.py
14321434 :start-after: [START delete_blobs]
14331435 :end-before: [END delete_blobs]
1436+ :dedent: 4
14341437
14351438 """
14361439 client = self ._require_client (client )
@@ -2105,6 +2108,7 @@ def add_lifecycle_delete_rule(self, **kw):
21052108 .. literalinclude:: snippets.py
21062109 :start-after: [START add_lifecycle_delete_rule]
21072110 :end-before: [END add_lifecycle_delete_rule]
2111+ :dedent: 4
21082112
21092113 :type kw: dict
21102114 :params kw: arguments passed to :class:`LifecycleRuleConditions`.
@@ -2122,6 +2126,7 @@ def add_lifecycle_set_storage_class_rule(self, storage_class, **kw):
21222126 .. literalinclude:: snippets.py
21232127 :start-after: [START add_lifecycle_set_storage_class_rule]
21242128 :end-before: [END add_lifecycle_set_storage_class_rule]
2129+ :dedent: 4
21252130
21262131 :type storage_class: str, one of :attr:`STORAGE_CLASSES`.
21272132 :param storage_class: new storage class to assign to matching items.
@@ -2465,12 +2470,14 @@ def configure_website(self, main_page_suffix=None, not_found_page=None):
24652470 .. literalinclude:: snippets.py
24662471 :start-after: [START configure_website]
24672472 :end-before: [END configure_website]
2473+ :dedent: 4
24682474
24692475 You probably should also make the whole bucket public:
24702476
24712477 .. literalinclude:: snippets.py
24722478 :start-after: [START make_public]
24732479 :end-before: [END make_public]
2480+ :dedent: 4
24742481
24752482 This says: "Make the bucket public, and all the stuff already in
24762483 the bucket, and anything else I add to the bucket. Just make it
@@ -2804,6 +2811,7 @@ def generate_upload_policy(self, conditions, expiration=None, client=None):
28042811 .. literalinclude:: snippets.py
28052812 :start-after: [START policy_document]
28062813 :end-before: [END policy_document]
2814+ :dedent: 4
28072815
28082816 .. _policy documents:
28092817 https://cloud.google.com/storage/docs/xml-api\
0 commit comments