8000 docs(samples): Renaming region to avoid name collision with different… by m-strzelczyk · Pull Request #167 · googleapis/python-compute · GitHub
[go: up one dir, main page]

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

docs(samples): Renaming region to avoid name collision with different… #167

Merged
merged 1 commit into from
Dec 6, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions samples/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