Skip to content

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 authored and dandhlee committed Nov 16, 2022
1 parent e79a3fb commit 2b1b8db
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions compute/compute/snippets/sample_images.py
Original file line number Diff line number Diff line change
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 2b1b8db

Please sign in to comment.