This repository was archived by the owner on Dec 31, 2023. It is now read-only.
File tree
Expand file treeCollapse file tree1 file changed
+4
-4
lines changed Expand file treeCollapse file tree1 file changed
+4
-4
lines changed Original file line number | Diff line number | Diff line change |
---|
|
15 | 15 | from typing import Iterable
|
16 | 16 |
|
17 | 17 | # [START compute_images_get]
|
18 |
| -# [START compute_images_list] |
| 18 | +# [START compute_images_get_list] |
19 | 19 | from google.cloud import compute_v1
|
20 | 20 |
|
21 |
| -# [END compute_images_list] |
| 21 | +# [END compute_images_get_list] |
22 | 22 | # [END compute_images_get]
|
23 | 23 |
|
24 | 24 |
|
25 |
| -# [START compute_images_list] |
| 25 | +# [START compute_images_get_list] |
26 | 26 | def list_images(project_id: str) -> Iterable[compute_v1.Image]:
|
27 | 27 | """
|
28 | 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 | 37 | return image_client.list(project=project_id)
|
38 | 38 |
|
39 | 39 |
|
40 |
| -# [END compute_images_list] |
| 40 | +# [END compute_images_get_list] |
41 | 41 |
|
42 | 42 |
|
43 | 43 | # [START compute_images_get]
|
|
You can’t perform that action at this time.
0 commit comments