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

Commit ec7daf8

Browse files
chore: use gapic-generator-python 0.63.4 (#77)
* chore: use gapic-generator-python 0.63.4 chore: fix snippet region tag format chore: fix docstring code block formatting PiperOrigin-RevId: 430730865 Source-Link: googleapis/googleapis@ea58002 Source-Link: https://github.com/googleapis/googleapis-gen/commit/ca893ff8af25fc7fe001de1405a517d80446ecca Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiY2E4OTNmZjhhZjI1ZmM3ZmUwMDFkZTE0MDVhNTE3ZDgwNDQ2ZWNjYSJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * chore: delete duplicates Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Bu Sun Kim <8822365+busunkim96@users.noreply.github.com>
1 parent a58347d commit ec7daf8

13 files changed

+50
-55
lines changed

google/cloud/shell_v1/services/cloud_shell_service/async_client.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ async def get_environment(
226226
not exist.
227227
228228
229-
.. code-block::
229+
.. code-block:: python
230230
231231
from google.cloud import shell_v1
232232
@@ -339,7 +339,7 @@ async def start_environment(
339339
StartEnvironmentResponse in its response field.
340340
341341
342-
.. code-block::
342+
.. code-block:: python
343343
344344
from google.cloud import shell_v1
345345
@@ -426,7 +426,7 @@ async def authorize_environment(
426426
authenticate.
427427
428428
429-
.. code-block::
429+
.. code-block:: python
430430
431431
from google.cloud import shell_v1
432432
@@ -511,7 +511,7 @@ async def add_public_key(
511511
error with ALREADY_EXISTS.
512512
513513
514-
.. code-block::
514+
.. code-block:: python
515515
516516
from google.cloud import shell_v1
517517
@@ -598,7 +598,7 @@ async def remove_public_key(
598598
present, this will error with NOT_FOUND.
599599
600600
601-
.. code-block::
601+
.. code-block:: python
602602
603603
from google.cloud import shell_v1
604604

google/cloud/shell_v1/services/cloud_shell_service/client.py

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -420,8 +420,7 @@ def get_environment(
420420
not exist.
421421
422422
423-
424-
.. code-block::
423+
.. code-block:: python
425424
426425
from google.cloud import shell_v1
427426
@@ -525,8 +524,7 @@ def start_environment(
525524
StartEnvironmentResponse in its response field.
526525
527526
528-
529-
.. code-block::
527+
.. code-block:: python
530528
531529
from google.cloud import shell_v1
532530
@@ -614,8 +612,7 @@ def authorize_environment(
614612
authenticate.
615613
616614
617-
618-
.. code-block::
615+
.. code-block:: python
619616
620617
from google.cloud import shell_v1
621618
@@ -701,8 +698,7 @@ def add_public_key(
701698
error with ALREADY_EXISTS.
702699
703700
704-
705-
.. code-block::
701+
.. code-block:: python
706702
707703
from google.cloud import shell_v1
708704
@@ -790,8 +786,7 @@ def remove_public_key(
790786
present, this will error with NOT_FOUND.
791787
792788
793-
794-
.. code-block::
789+
.. code-block:: python
795790
796791
from google.cloud import shell_v1
797792

samples/generated_samples/cloudshell_generated_shell_v1_cloud_shell_service_add_public_key_async.py renamed to samples/generated_samples/cloudshell_v1_generated_cloud_shell_service_add_public_key_async.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
# python3 -m pip install google-cloud-shell
2424

2525

26-
# [START cloudshell_generated_shell_v1_CloudShellService_AddPublicKey_async]
26+
# [START cloudshell_v1_generated_CloudShellService_AddPublicKey_async]
2727
from google.cloud import shell_v1
2828

2929

@@ -45,4 +45,4 @@ async def sample_add_public_key():
4545
# Handle the response
4646
print(response)
4747

48-
# [END cloudshell_generated_shell_v1_CloudShellService_AddPublicKey_async]
48+
# [END cloudshell_v1_generated_CloudShellService_AddPublicKey_async]

samples/generated_samples/cloudshell_generated_shell_v1_cloud_shell_service_add_public_key_sync.py renamed to samples/generated_samples/cloudshell_v1_generated_cloud_shell_service_add_public_key_sync.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
# python3 -m pip install google-cloud-shell
2424

2525

26-
# [START cloudshell_generated_shell_v1_CloudShellService_AddPublicKey_sync]
26+
# [START cloudshell_v1_generated_CloudShellService_AddPublicKey_sync]
2727
from google.cloud import shell_v1
2828

2929

@@ -45,4 +45,4 @@ def sample_add_public_key():
4545
# Handle the response
4646
print(response)
4747

48-
# [END cloudshell_generated_shell_v1_CloudShellService_AddPublicKey_sync]
48+
# [END cloudshell_v1_generated_CloudShellService_AddPublicKey_sync]

samples/generated_samples/cloudshell_generated_shell_v1_cloud_shell_service_authorize_environment_async.py renamed to samples/generated_samples/cloudshell_v1_generated_cloud_shell_service_authorize_environment_async.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
# python3 -m pip install google-cloud-shell
2424

2525

26-
# [START cloudshell_generated_shell_v1_CloudShellService_AuthorizeEnvironment_async]
26+
# [START cloudshell_v1_generated_CloudShellService_AuthorizeEnvironment_async]
2727
from google.cloud import shell_v1
2828

2929

@@ -45,4 +45,4 @@ async def sample_authorize_environment():
4545
# Handle the response
4646
print(response)
4747

48-
# [END cloudshell_generated_shell_v1_CloudShellService_AuthorizeEnvironment_async]
48+
# [END cloudshell_v1_generated_CloudShellService_AuthorizeEnvironment_async]

samples/generated_samples/cloudshell_generated_shell_v1_cloud_shell_service_authorize_environment_sync.py renamed to samples/generated_samples/cloudshell_v1_generated_cloud_shell_service_authorize_environment_sync.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
# python3 -m pip install google-cloud-shell
2424

2525

26-
# [START cloudshell_generated_shell_v1_CloudShellService_AuthorizeEnvironment_sync]
26+
# [START cloudshell_v1_generated_CloudShellService_AuthorizeEnvironment_sync]
2727
from google.cloud import shell_v1
2828

2929

@@ -45,4 +45,4 @@ def sample_authorize_environment():
4545
# Handle the response
4646
print(response)
4747

48-
# [END cloudshell_generated_shell_v1_CloudShellService_AuthorizeEnvironment_sync]
48+
# [END cloudshell_v1_generated_CloudShellService_AuthorizeEnvironment_sync]

samples/generated_samples/cloudshell_generated_shell_v1_cloud_shell_service_get_environment_async.py renamed to samples/generated_samples/cloudshell_v1_generated_cloud_shell_service_get_environment_async.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
# python3 -m pip install google-cloud-shell
2424

2525

26-
# [START cloudshell_generated_shell_v1_CloudShellService_GetEnvironment_async]
26+
# [START cloudshell_v1_generated_CloudShellService_GetEnvironment_async]
2727
from google.cloud import shell_v1
2828

2929

@@ -42,4 +42,4 @@ async def sample_get_environment():
4242
# Handle the response
4343
print(response)
4444

45-
# [END cloudshell_generated_shell_v1_CloudShellService_GetEnvironment_async]
45+
# [END cloudshell_v1_generated_CloudShellService_GetEnvironment_async]

samples/generated_samples/cloudshell_generated_shell_v1_cloud_shell_service_get_environment_sync.py renamed to samples/generated_samples/cloudshell_v1_generated_cloud_shell_service_get_environment_sync.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
# python3 -m pip install google-cloud-shell
2424

2525

26-
# [START cloudshell_generated_shell_v1_CloudShellService_GetEnvironment_sync]
26+
# [START cloudshell_v1_generated_CloudShellService_GetEnvironment_sync]
2727
from google.cloud import shell_v1
2828

2929

@@ -42,4 +42,4 @@ def sample_get_environment():
4242
# Handle the response
4343
print(response)
4444

45-
# [END cloudshell_generated_shell_v1_CloudShellService_GetEnvironment_sync]
45+
# [END cloudshell_v1_generated_CloudShellService_GetEnvironment_sync]

samples/generated_samples/cloudshell_generated_shell_v1_cloud_shell_service_remove_public_key_async.py renamed to samples/generated_samples/cloudshell_v1_generated_cloud_shell_service_remove_public_key_async.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
# python3 -m pip install google-cloud-shell
2424

2525

26-
# [START cloudshell_generated_shell_v1_CloudShellService_RemovePublicKey_async]
26+
# [START cloudshell_v1_generated_CloudShellService_RemovePublicKey_async]
2727
from google.cloud import shell_v1
2828

2929

@@ -45,4 +45,4 @@ async def sample_remove_public_key():
4545
# Handle the response
4646
print(response)
4747

48-
# [END cloudshell_generated_shell_v1_CloudShellService_RemovePublicKey_async]
48+
# [END cloudshell_v1_generated_CloudShellService_RemovePublicKey_async]

samples/generated_samples/cloudshell_generated_shell_v1_cloud_shell_service_remove_public_key_sync.py renamed to samples/generated_samples/cloudshell_v1_generated_cloud_shell_service_remove_public_key_sync.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
# python3 -m pip install google-cloud-shell
2424

2525

26-
# [START cloudshell_generated_shell_v1_CloudShellService_RemovePublicKey_sync]
26+
# [START cloudshell_v1_generated_CloudShellService_RemovePublicKey_sync]
2727
from google.cloud import shell_v1
2828

2929

@@ -45,4 +45,4 @@ def sample_remove_public_key():
4545
# Handle the response
4646
print(response)
4747

48-
# [END cloudshell_generated_shell_v1_CloudShellService_RemovePublicKey_sync]
48+
# [END cloudshell_v1_generated_CloudShellService_RemovePublicKey_sync]

0 commit comments

Comments
 (0)