Skip to content

Commit 683155d

Browse files
authored
chore(samples): fix region tag import (#142)
1 parent 1a41815 commit 683155d

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

compute/compute/snippets/sample_start_stop.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,18 @@
1717
"""
1818
A sample script showing how to start and stop Google Compute Engine instances.
1919
"""
20+
21+
# [START compute_start_instance]
22+
# [START compute_start_enc_instance]
23+
# [START compute_stop_instance]
24+
# [START compute_reset_instance]
2025
from google.cloud import compute_v1
2126

27+
# [END compute_reset_instance]
28+
# [END compute_stop_instance]
29+
# [END compute_start_enc_instance]
30+
# [END compute_start_instance]
31+
2232

2333
# [START compute_start_instance]
2434
def start_instance(project_id: str, zone: str, instance_name: str):

0 commit comments

Comments
 (0)