Skip to content

Commit

Permalink
chore(samples): fix region tag import (#142)
Browse files Browse the repository at this point in the history
  • Loading branch information
FrodoTheTrue authored Nov 9, 2021
1 parent 1a41815 commit 683155d
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions compute/compute/snippets/sample_start_stop.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,18 @@
"""
A sample script showing how to start and stop Google Compute Engine instances.
"""

# [START compute_start_instance]
# [START compute_start_enc_instance]
# [START compute_stop_instance]
# [START compute_reset_instance]
from google.cloud import compute_v1

# [END compute_reset_instance]
# [END compute_stop_instance]
# [END compute_start_enc_instance]
# [END compute_start_instance]


# [START compute_start_instance]
def start_instance(project_id: str, zone: str, instance_name: str):
Expand Down

0 comments on commit 683155d

Please sign in to comment.