We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e79a3fb commit 2b1b8dbCopy full SHA for 2b1b8db
compute/compute/snippets/sample_images.py
@@ -15,14 +15,14 @@
15
from typing import Iterable
16
17
# [START compute_images_get]
18
-# [START compute_images_list]
+# [START compute_images_get_list]
19
from google.cloud import compute_v1
20
21
-# [END compute_images_list]
+# [END compute_images_get_list]
22
# [END compute_images_get]
23
24
25
26
def list_images(project_id: str) -> Iterable[compute_v1.Image]:
27
"""
28
Retrieve a list of images available in given project.
@@ -37,7 +37,7 @@ def list_images(project_id: str) -> Iterable[compute_v1.Image]:
37
return image_client.list(project=project_id)
38
39
40
41
42
43
0 commit comments