Skip to content

Commit

Permalink
chore: use gapic-generator-python 0.63.4 (#152)
Browse files Browse the repository at this point in the history
* 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: googleapis/googleapis-gen@ca893ff
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>
  • Loading branch information
3 people authored Feb 25, 2022
1 parent dd9a02a commit 67c9259
Show file tree
Hide file tree
Showing 15 changed files with 60 additions and 66 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ async def delete_posix_account(
) -> None:
r"""Deletes a POSIX account.
.. code-block::
.. code-block:: python
from google.cloud import oslogin_v1
Expand Down Expand Up @@ -316,7 +316,7 @@ async def delete_ssh_public_key(
) -> None:
r"""Deletes an SSH public key.
.. code-block::
.. code-block:: python
from google.cloud import oslogin_v1
Expand Down Expand Up @@ -410,7 +410,7 @@ async def get_login_profile(
to a virtual machine on Google Compute Engine.
.. code-block::
.. code-block:: python
from google.cloud import oslogin_v1
Expand Down Expand Up @@ -511,7 +511,7 @@ async def get_ssh_public_key(
) -> common.SshPublicKey:
r"""Retrieves an SSH public key.
.. code-block::
.. code-block:: python
from google.cloud import oslogin_v1
Expand Down Expand Up @@ -619,7 +619,7 @@ async def import_ssh_public_key(
profile.
.. code-block::
.. code-block:: python
from google.cloud import oslogin_v1
Expand Down Expand Up @@ -741,7 +741,7 @@ async def update_ssh_public_key(
information. This method supports patch semantics.
.. code-block::
.. code-block:: python
from google.cloud import oslogin_v1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -423,8 +423,7 @@ def delete_posix_account(
) -> None:
r"""Deletes a POSIX account.
.. code-block::
.. code-block:: python
from google.cloud import oslogin_v1
Expand Down Expand Up @@ -506,8 +505,7 @@ def delete_ssh_public_key(
) -> None:
r"""Deletes an SSH public key.
.. code-block::
.. code-block:: python
from google.cloud import oslogin_v1
Expand Down Expand Up @@ -591,8 +589,7 @@ def get_login_profile(
to a virtual machine on Google Compute Engine.
.. code-block::
.. code-block:: python
from google.cloud import oslogin_v1
Expand Down Expand Up @@ -683,8 +680,7 @@ def get_ssh_public_key(
) -> common.SshPublicKey:
r"""Retrieves an SSH public key.
.. code-block::
.. code-block:: python
from google.cloud import oslogin_v1
Expand Down Expand Up @@ -782,8 +778,7 @@ def import_ssh_public_key(
profile.
.. code-block::
.. code-block:: python
from google.cloud import oslogin_v1
Expand Down Expand Up @@ -895,8 +890,7 @@ def update_ssh_public_key(
information. This method supports patch semantics.
.. code-block::
.. code-block:: python
from google.cloud import oslogin_v1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-oslogin


# [START oslogin_generated_oslogin_v1_OsLoginService_DeletePosixAccount_async]
# [START oslogin_v1_generated_OsLoginService_DeletePosixAccount_async]
from google.cloud import oslogin_v1


Expand All @@ -40,4 +40,4 @@ async def sample_delete_posix_account():
await client.delete_posix_account(request=request)


# [END oslogin_generated_oslogin_v1_OsLoginService_DeletePosixAccount_async]
# [END oslogin_v1_generated_OsLoginService_DeletePosixAccount_async]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-oslogin


# [START oslogin_generated_oslogin_v1_OsLoginService_DeletePosixAccount_sync]
# [START oslogin_v1_generated_OsLoginService_DeletePosixAccount_sync]
from google.cloud import oslogin_v1


Expand All @@ -40,4 +40,4 @@ def sample_delete_posix_account():
client.delete_posix_account(request=request)


# [END oslogin_generated_oslogin_v1_OsLoginService_DeletePosixAccount_sync]
# [END oslogin_v1_generated_OsLoginService_DeletePosixAccount_sync]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-oslogin


# [START oslogin_generated_oslogin_v1_OsLoginService_DeleteSshPublicKey_async]
# [START oslogin_v1_generated_OsLoginService_DeleteSshPublicKey_async]
from google.cloud import oslogin_v1


Expand All @@ -40,4 +40,4 @@ async def sample_delete_ssh_public_key():
await client.delete_ssh_public_key(request=request)


# [END oslogin_generated_oslogin_v1_OsLoginService_DeleteSshPublicKey_async]
# [END oslogin_v1_generated_OsLoginService_DeleteSshPublicKey_async]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-oslogin


# [START oslogin_generated_oslogin_v1_OsLoginService_DeleteSshPublicKey_sync]
# [START oslogin_v1_generated_OsLoginService_DeleteSshPublicKey_sync]
from google.cloud import oslogin_v1


Expand All @@ -40,4 +40,4 @@ def sample_delete_ssh_public_key():
client.delete_ssh_public_key(request=request)


# [END oslogin_generated_oslogin_v1_OsLoginService_DeleteSshPublicKey_sync]
# [END oslogin_v1_generated_OsLoginService_DeleteSshPublicKey_sync]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-oslogin


# [START oslogin_generated_oslogin_v1_OsLoginService_GetLoginProfile_async]
# [START oslogin_v1_generated_OsLoginService_GetLoginProfile_async]
from google.cloud import oslogin_v1


Expand All @@ -42,4 +42,4 @@ async def sample_get_login_profile():
# Handle the response
print(response)

# [END oslogin_generated_oslogin_v1_OsLoginService_GetLoginProfile_async]
# [END oslogin_v1_generated_OsLoginService_GetLoginProfile_async]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-oslogin


# [START oslogin_generated_oslogin_v1_OsLoginService_GetLoginProfile_sync]
# [START oslogin_v1_generated_OsLoginService_GetLoginProfile_sync]
from google.cloud import oslogin_v1


Expand All @@ -42,4 +42,4 @@ def sample_get_login_profile():
# Handle the response
print(response)

# [END oslogin_generated_oslogin_v1_OsLoginService_GetLoginProfile_sync]
# [END oslogin_v1_generated_OsLoginService_GetLoginProfile_sync]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-oslogin


# [START oslogin_generated_oslogin_v1_OsLoginService_GetSshPublicKey_async]
# [START oslogin_v1_generated_OsLoginService_GetSshPublicKey_async]
from google.cloud import oslogin_v1


Expand All @@ -42,4 +42,4 @@ async def sample_get_ssh_public_key():
# Handle the response
print(response)

# [END oslogin_generated_oslogin_v1_OsLoginService_GetSshPublicKey_async]
# [END oslogin_v1_generated_OsLoginService_GetSshPublicKey_async]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-oslogin


# [START oslogin_generated_oslogin_v1_OsLoginService_GetSshPublicKey_sync]
# [START oslogin_v1_generated_OsLoginService_GetSshPublicKey_sync]
from google.cloud import oslogin_v1


Expand All @@ -42,4 +42,4 @@ def sample_get_ssh_public_key():
# Handle the response
print(response)

# [END oslogin_generated_oslogin_v1_OsLoginService_GetSshPublicKey_sync]
# [END oslogin_v1_generated_OsLoginService_GetSshPublicKey_sync]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-oslogin


# [START oslogin_generated_oslogin_v1_OsLoginService_ImportSshPublicKey_async]
# [START oslogin_v1_generated_OsLoginService_ImportSshPublicKey_async]
from google.cloud import oslogin_v1


Expand All @@ -42,4 +42,4 @@ async def sample_import_ssh_public_key():
# Handle the response
print(response)

# [END oslogin_generated_oslogin_v1_OsLoginService_ImportSshPublicKey_async]
# [END oslogin_v1_generated_OsLoginService_ImportSshPublicKey_async]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-oslogin


# [START oslogin_generated_oslogin_v1_OsLoginService_ImportSshPublicKey_sync]
# [START oslogin_v1_generated_OsLoginService_ImportSshPublicKey_sync]
from google.cloud import oslogin_v1


Expand All @@ -42,4 +42,4 @@ def sample_import_ssh_public_key():
# Handle the response
print(response)

# [END oslogin_generated_oslogin_v1_OsLoginService_ImportSshPublicKey_sync]
# [END oslogin_v1_generated_OsLoginService_ImportSshPublicKey_sync]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-oslogin


# [START oslogin_generated_oslogin_v1_OsLoginService_UpdateSshPublicKey_async]
# [START oslogin_v1_generated_OsLoginService_UpdateSshPublicKey_async]
from google.cloud import oslogin_v1


Expand All @@ -42,4 +42,4 @@ async def sample_update_ssh_public_key():
# Handle the response
print(response)

# [END oslogin_generated_oslogin_v1_OsLoginService_UpdateSshPublicKey_async]
# [END oslogin_v1_generated_OsLoginService_UpdateSshPublicKey_async]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-oslogin


# [START oslogin_generated_oslogin_v1_OsLoginService_UpdateSshPublicKey_sync]
# [START oslogin_v1_generated_OsLoginService_UpdateSshPublicKey_sync]
from google.cloud import oslogin_v1


Expand All @@ -42,4 +42,4 @@ def sample_update_ssh_public_key():
# Handle the response
print(response)

# [END oslogin_generated_oslogin_v1_OsLoginService_UpdateSshPublicKey_sync]
# [END oslogin_v1_generated_OsLoginService_UpdateSshPublicKey_sync]
Loading

0 comments on commit 67c9259

Please sign in to comment.