Skip to content

Commit

Permalink
chore: use gapic-generator-python 0.63.4 (#69)
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

* 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 9ffa59d commit 2a3c5bd
Show file tree
Hide file tree
Showing 17 changed files with 70 additions and 77 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ async def list_available_versions(
the specified project and location.
.. code-block::
.. code-block:: python
from google.cloud import data_fusion_v1
Expand Down Expand Up @@ -322,7 +322,7 @@ async def list_instances(
and location.
.. code-block::
.. code-block:: python
from google.cloud import data_fusion_v1
Expand Down Expand Up @@ -400,7 +400,7 @@ async def get_instance(
) -> datafusion.Instance:
r"""Gets details of a single Data Fusion instance.
.. code-block::
.. code-block:: python
from google.cloud import data_fusion_v1
Expand Down Expand Up @@ -471,7 +471,7 @@ async def create_instance(
project and location.
.. code-block::
.. code-block:: python
from google.cloud import data_fusion_v1
Expand Down Expand Up @@ -594,7 +594,7 @@ async def delete_instance(
) -> operation_async.AsyncOperation:
r"""Deletes a single Date Fusion instance.
.. code-block::
.. code-block:: python
from google.cloud import data_fusion_v1
Expand Down Expand Up @@ -711,7 +711,7 @@ async def update_instance(
) -> operation_async.AsyncOperation:
r"""Updates a single Data Fusion instance.
.. code-block::
.. code-block:: python
from google.cloud import data_fusion_v1
Expand Down Expand Up @@ -842,7 +842,7 @@ async def restart_instance(
At the end of an operation instance is fully restarted.
.. code-block::
.. code-block:: python
from google.cloud import data_fusion_v1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -439,8 +439,7 @@ def list_available_versions(
the specified project and location.
.. code-block::
.. code-block:: python
from google.cloud import data_fusion_v1
Expand Down Expand Up @@ -543,8 +542,7 @@ def list_instances(
and location.
.. code-block::
.. code-block:: python
from google.cloud import data_fusion_v1
Expand Down Expand Up @@ -623,8 +621,7 @@ def get_instance(
) -> datafusion.Instance:
r"""Gets details of a single Data Fusion instance.
.. code-block::
.. code-block:: python
from google.cloud import data_fusion_v1
Expand Down Expand Up @@ -696,8 +693,7 @@ def create_instance(
project and location.
.. code-block::
.. code-block:: python
from google.cloud import data_fusion_v1
Expand Down Expand Up @@ -820,8 +816,7 @@ def delete_instance(
) -> operation.Operation:
r"""Deletes a single Date Fusion instance.
.. code-block::
.. code-block:: python
from google.cloud import data_fusion_v1
Expand Down Expand Up @@ -938,8 +933,7 @@ def update_instance(
) -> operation.Operation:
r"""Updates a single Data Fusion instance.
.. code-block::
.. code-block:: python
from google.cloud import data_fusion_v1
Expand Down Expand Up @@ -1070,8 +1064,7 @@ def restart_instance(
At the end of an operation instance is fully restarted.
.. code-block::
.. code-block:: python
from google.cloud import data_fusion_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-data-fusion


# [START datafusion_generated_data_fusion_v1_DataFusion_CreateInstance_async]
# [START datafusion_v1_generated_DataFusion_CreateInstance_async]
from google.cloud import data_fusion_v1


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

# [END datafusion_generated_data_fusion_v1_DataFusion_CreateInstance_async]
# [END datafusion_v1_generated_DataFusion_CreateInstance_async]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-data-fusion


# [START datafusion_generated_data_fusion_v1_DataFusion_CreateInstance_sync]
# [START datafusion_v1_generated_DataFusion_CreateInstance_sync]
from google.cloud import data_fusion_v1


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

# [END datafusion_generated_data_fusion_v1_DataFusion_CreateInstance_sync]
# [END datafusion_v1_generated_DataFusion_CreateInstance_sync]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-data-fusion


# [START datafusion_generated_data_fusion_v1_DataFusion_DeleteInstance_async]
# [START datafusion_v1_generated_DataFusion_DeleteInstance_async]
from google.cloud import data_fusion_v1


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

# [END datafusion_generated_data_fusion_v1_DataFusion_DeleteInstance_async]
# [END datafusion_v1_generated_DataFusion_DeleteInstance_async]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-data-fusion


# [START datafusion_generated_data_fusion_v1_DataFusion_DeleteInstance_sync]
# [START datafusion_v1_generated_DataFusion_DeleteInstance_sync]
from google.cloud import data_fusion_v1


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

# [END datafusion_generated_data_fusion_v1_DataFusion_DeleteInstance_sync]
# [END datafusion_v1_generated_DataFusion_DeleteInstance_sync]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-data-fusion


# [START datafusion_generated_data_fusion_v1_DataFusion_GetInstance_async]
# [START datafusion_v1_generated_DataFusion_GetInstance_async]
from google.cloud import data_fusion_v1


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

# [END datafusion_generated_data_fusion_v1_DataFusion_GetInstance_async]
# [END datafusion_v1_generated_DataFusion_GetInstance_async]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-data-fusion


# [START datafusion_generated_data_fusion_v1_DataFusion_GetInstance_sync]
# [START datafusion_v1_generated_DataFusion_GetInstance_sync]
from google.cloud import data_fusion_v1


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

# [END datafusion_generated_data_fusion_v1_DataFusion_GetInstance_sync]
# [END datafusion_v1_generated_DataFusion_GetInstance_sync]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-data-fusion


# [START datafusion_generated_data_fusion_v1_DataFusion_ListAvailableVersions_async]
# [START datafusion_v1_generated_DataFusion_ListAvailableVersions_async]
from google.cloud import data_fusion_v1


Expand All @@ -43,4 +43,4 @@ async def sample_list_available_versions():
async for response in page_result:
print(response)

# [END datafusion_generated_data_fusion_v1_DataFusion_ListAvailableVersions_async]
# [END datafusion_v1_generated_DataFusion_ListAvailableVersions_async]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-data-fusion


# [START datafusion_generated_data_fusion_v1_DataFusion_ListAvailableVersions_sync]
# [START datafusion_v1_generated_DataFusion_ListAvailableVersions_sync]
from google.cloud import data_fusion_v1


Expand All @@ -43,4 +43,4 @@ def sample_list_available_versions():
for response in page_result:
print(response)

# [END datafusion_generated_data_fusion_v1_DataFusion_ListAvailableVersions_sync]
# [END datafusion_v1_generated_DataFusion_ListAvailableVersions_sync]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-data-fusion


# [START datafusion_generated_data_fusion_v1_DataFusion_ListInstances_async]
# [START datafusion_v1_generated_DataFusion_ListInstances_async]
from google.cloud import data_fusion_v1


Expand All @@ -43,4 +43,4 @@ async def sample_list_instances():
async for response in page_result:
print(response)

# [END datafusion_generated_data_fusion_v1_DataFusion_ListInstances_async]
# [END datafusion_v1_generated_DataFusion_ListInstances_async]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-data-fusion


# [START datafusion_generated_data_fusion_v1_DataFusion_ListInstances_sync]
# [START datafusion_v1_generated_DataFusion_ListInstances_sync]
from google.cloud import data_fusion_v1


Expand All @@ -43,4 +43,4 @@ def sample_list_instances():
for response in page_result:
print(response)

# [END datafusion_generated_data_fusion_v1_DataFusion_ListInstances_sync]
# [END datafusion_v1_generated_DataFusion_ListInstances_sync]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-data-fusion


# [START datafusion_generated_data_fusion_v1_DataFusion_RestartInstance_async]
# [START datafusion_v1_generated_DataFusion_RestartInstance_async]
from google.cloud import data_fusion_v1


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

# [END datafusion_generated_data_fusion_v1_DataFusion_RestartInstance_async]
# [END datafusion_v1_generated_DataFusion_RestartInstance_async]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-data-fusion


# [START datafusion_generated_data_fusion_v1_DataFusion_RestartInstance_sync]
# [START datafusion_v1_generated_DataFusion_RestartInstance_sync]
from google.cloud import data_fusion_v1


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

# [END datafusion_generated_data_fusion_v1_DataFusion_RestartInstance_sync]
# [END datafusion_v1_generated_DataFusion_RestartInstance_sync]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-data-fusion


# [START datafusion_generated_data_fusion_v1_DataFusion_UpdateInstance_async]
# [START datafusion_v1_generated_DataFusion_UpdateInstance_async]
from google.cloud import data_fusion_v1


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

# [END datafusion_generated_data_fusion_v1_DataFusion_UpdateInstance_async]
# [END datafusion_v1_generated_DataFusion_UpdateInstance_async]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-data-fusion


# [START datafusion_generated_data_fusion_v1_DataFusion_UpdateInstance_sync]
# [START datafusion_v1_generated_DataFusion_UpdateInstance_sync]
from google.cloud import data_fusion_v1


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

# [END datafusion_generated_data_fusion_v1_DataFusion_UpdateInstance_sync]
# [END datafusion_v1_generated_DataFusion_UpdateInstance_sync]
Loading

0 comments on commit 2a3c5bd

Please sign in to comment.