Skip to content
This repository has been archived by the owner on Dec 31, 2023. It is now read-only.

Commit

Permalink
docs(samples): Renaming region to avoid name collision with different…
Browse files Browse the repository at this point in the history
… region. (#167)
  • Loading branch information
m-strzelczyk committed Dec 6, 2021
1 parent 3d0fe75 commit 60f2937
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions samples/snippets/sample_images.py
Expand Up @@ -15,14 +15,14 @@
from typing import Iterable

# [START compute_images_get]
# [START compute_images_list]
# [START compute_images_get_list]
from google.cloud import compute_v1

# [END compute_images_list]
# [END compute_images_get_list]
# [END compute_images_get]


# [START compute_images_list]
# [START compute_images_get_list]
def list_images(project_id: str) -> Iterable[compute_v1.Image]:
"""
Retrieve a list of images available in given project.
Expand All @@ -37,7 +37,7 @@ def list_images(project_id: str) -> Iterable[compute_v1.Image]:
return image_client.list(project=project_id)


# [END compute_images_list]
# [END compute_images_get_list]


# [START compute_images_get]
Expand Down

0 comments on commit 60f2937

Please sign in to comment.