Content-Length: 386511 | pFad | http://github.com/googleapis/python-compute/commit/cb3e63eb27f57fb194253684dba3e5c85b52a4ee

1A chore(docs): Fix a minor typo (#297) · googleapis/python-compute@cb3e63e · GitHub
Skip to content
This repository was archived by the owner on Dec 31, 2023. It is now read-only.

Commit cb3e63e

Browse files
authored
chore(docs): Fix a minor typo (#297)
* Fix a minor typo * chore(docs): Fix a minor typo
1 parent 3dac229 commit cb3e63e

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

samples/ingredients/instances/resume.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def resume_instance(project_id: str, zone: str, instance_name: str) -> None:
2828
Args:
2929
project_id: project ID or project number of the Cloud project your instance belongs to.
3030
zone: name of the zone your instance belongs to.
31-
instance_name: name of the instance your want to resume.
31+
instance_name: name of the instance you want to resume.
3232
"""
3333
instance_client = compute_v1.InstancesClient()
3434

samples/ingredients/instances/suspend.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,15 @@ def suspend_instance(project_id: str, zone: str, instance_name: str) -> None:
2828
Args:
2929
project_id: project ID or project number of the Cloud project your instance belongs to.
3030
zone: name of the zone your instance belongs to.
31-
instance_name: name of the instance your want to suspend.
31+
instance_name: name of the instance you want to suspend.
3232
"""
3333
instance_client = compute_v1.InstancesClient()
3434

3535
operation = instance_client.suspend(
3636
project=project_id, zone=zone, instance=instance_name
3737
)
3838

39-
wait_for_extended_operation(operation, "instance suspend")
39+
wait_for_extended_operation(operation, "suspend instance")
4040
return
4141
# </INGREDIENT>
4242

samples/snippets/instances/resume.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def resume_instance(project_id: str, zone: str, instance_name: str) -> None:
8181
Args:
8282
project_id: project ID or project number of the Cloud project your instance belongs to.
8383
zone: name of the zone your instance belongs to.
84-
instance_name: name of the instance your want to resume.
84+
instance_name: name of the instance you want to resume.
8585
"""
8686
instance_client = compute_v1.InstancesClient()
8787

samples/snippets/instances/suspend.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,15 +81,15 @@ def suspend_instance(project_id: str, zone: str, instance_name: str) -> None:
8181
Args:
8282
project_id: project ID or project number of the Cloud project your instance belongs to.
8383
zone: name of the zone your instance belongs to.
84-
instance_name: name of the instance your want to suspend.
84+
instance_name: name of the instance you want to suspend.
8585
"""
8686
instance_client = compute_v1.InstancesClient()
8787

8888
operation = instance_client.suspend(
8989
project=project_id, zone=zone, instance=instance_name
9090
)
9191

92-
wait_for_extended_operation(operation, "instance suspend")
92+
wait_for_extended_operation(operation, "suspend instance")
9393
return
9494

9595

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/googleapis/python-compute/commit/cb3e63eb27f57fb194253684dba3e5c85b52a4ee

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy