This repository was archived by the owner on Dec 31, 2023. It is now read-only.

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@
1515
from typing import Iterable
1616

1717
# [START compute_images_get]
18-
# [START compute_images_list]
18+
# [START compute_images_get_list]
1919
from google.cloud import compute_v1
2020

21-
# [END compute_images_list]
21+
# [END compute_images_get_list]
2222
# [END compute_images_get]
2323

2424

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

3939

40-
# [END compute_images_list]
40+
# [END compute_images_get_list]
4141

4242

4343
# [START compute_images_get]

0 commit comments

Comments
 (0)