Skip to content

Commit

Permalink
chore: use gapic-generator-python 0.63.4 (#73)
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 dfaa948 commit 4f496a6
Show file tree
Hide file tree
Showing 49 changed files with 180 additions and 198 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ async def launch_flex_template(
) -> templates.LaunchFlexTemplateResponse:
r"""Launch a job with a FlexTemplate.
.. code-block::
.. code-block:: python
from google.cloud import dataflow_v1beta3
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -397,8 +397,7 @@ def launch_flex_template(
) -> templates.LaunchFlexTemplateResponse:
r"""Launch a job with a FlexTemplate.
.. code-block::
.. code-block:: python
from google.cloud import dataflow_v1beta3
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ async def create_job(
will always start in ``us-central1``.
.. code-block::
.. code-block:: python
from google.cloud import dataflow_v1beta3
Expand Down Expand Up @@ -288,7 +288,7 @@ async def get_job(
get the state of jobs that are running in ``us-central1``.
.. code-block::
.. code-block:: python
from google.cloud import dataflow_v1beta3
Expand Down Expand Up @@ -357,7 +357,7 @@ async def update_job(
``us-central1``.
.. code-block::
.. code-block:: python
from google.cloud import dataflow_v1beta3
Expand Down Expand Up @@ -427,7 +427,7 @@ async def list_jobs(
running in ``us-central1``.
.. code-block::
.. code-block:: python
from google.cloud import dataflow_v1beta3
Expand Down Expand Up @@ -504,7 +504,7 @@ async def aggregated_list_jobs(
) -> pagers.AggregatedListJobsAsyncPager:
r"""List the jobs of a project across all regions.
.. code-block::
.. code-block:: python
from google.cloud import dataflow_v1beta3
Expand Down Expand Up @@ -583,7 +583,7 @@ async def check_active_jobs(
project across all regions.
.. code-block::
.. code-block:: python
from google.cloud import dataflow_v1beta3
Expand Down Expand Up @@ -642,7 +642,7 @@ async def snapshot_job(
) -> snapshots.Snapshot:
r"""Snapshot the state of a streaming job.
.. code-block::
.. code-block:: python
from google.cloud import dataflow_v1beta3
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -405,8 +405,7 @@ def create_job(
will always start in ``us-central1``.
.. code-block::
.. code-block:: python
from google.cloud import dataflow_v1beta3
Expand Down Expand Up @@ -475,8 +474,7 @@ def get_job(
get the state of jobs that are running in ``us-central1``.
.. code-block::
.. code-block:: python
from google.cloud import dataflow_v1beta3
Expand Down Expand Up @@ -546,8 +544,7 @@ def update_job(
``us-central1``.
.. code-block::
.. code-block:: python
from google.cloud import dataflow_v1beta3
Expand Down Expand Up @@ -618,8 +615,7 @@ def list_jobs(
running in ``us-central1``.
.. code-block::
.. code-block:: python
from google.cloud import dataflow_v1beta3
Expand Down Expand Up @@ -697,8 +693,7 @@ def aggregated_list_jobs(
) -> pagers.AggregatedListJobsPager:
r"""List the jobs of a project across all regions.
.. code-block::
.. code-block:: python
from google.cloud import dataflow_v1beta3
Expand Down Expand Up @@ -778,8 +773,7 @@ def check_active_jobs(
project across all regions.
.. code-block::
.. code-block:: python
from google.cloud import dataflow_v1beta3
Expand Down Expand Up @@ -839,8 +833,7 @@ def snapshot_job(
) -> snapshots.Snapshot:
r"""Snapshot the state of a streaming job.
.. code-block::
.. code-block:: python
from google.cloud import dataflow_v1beta3
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ async def list_job_messages(
``us-central1``.
.. code-block::
.. code-block:: python
from google.cloud import dataflow_v1beta3
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -404,8 +404,7 @@ def list_job_messages(
``us-central1``.
.. code-block::
.. code-block:: python
from google.cloud import dataflow_v1beta3
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ async def get_job_metrics(
``us-central1``.
.. code-block::
.. code-block:: python
from google.cloud import dataflow_v1beta3
Expand Down Expand Up @@ -295,7 +295,7 @@ async def get_job_execution_details(
without notice.
.. code-block::
.. code-block:: python
from google.cloud import dataflow_v1beta3
Expand Down Expand Up @@ -371,7 +371,7 @@ async def get_stage_execution_details(
without notice.
.. code-block::
.. code-block:: python
from google.cloud import dataflow_v1beta3
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -405,8 +405,7 @@ def get_job_metrics(
``us-central1``.
.. code-block::
.. code-block:: python
from google.cloud import dataflow_v1beta3
Expand Down Expand Up @@ -480,8 +479,7 @@ def get_job_execution_details(
without notice.
.. code-block::
.. code-block:: python
from google.cloud import dataflow_v1beta3
Expand Down Expand Up @@ -560,8 +558,7 @@ def get_stage_execution_details(
without notice.
.. code-block::
.. code-block:: python
from google.cloud import dataflow_v1beta3
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ async def get_snapshot(
) -> snapshots.Snapshot:
r"""Gets information about a snapshot.
.. code-block::
.. code-block:: python
from google.cloud import dataflow_v1beta3
Expand Down Expand Up @@ -272,7 +272,7 @@ async def delete_snapshot(
) -> snapshots.DeleteSnapshotResponse:
r"""Deletes a snapshot.
.. code-block::
.. code-block:: python
from google.cloud import dataflow_v1beta3
Expand Down Expand Up @@ -330,7 +330,7 @@ async def list_snapshots(
) -> snapshots.ListSnapshotsResponse:
r"""Lists snapshots.
.. code-block::
.. code-block:: python
from google.cloud import dataflow_v1beta3
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -396,8 +396,7 @@ def get_snapshot(
) -> snapshots.Snapshot:
r"""Gets information about a snapshot.
.. code-block::
.. code-block:: python
from google.cloud import dataflow_v1beta3
Expand Down Expand Up @@ -457,8 +456,7 @@ def delete_snapshot(
) -> snapshots.DeleteSnapshotResponse:
r"""Deletes a snapshot.
.. code-block::
.. code-block:: python
from google.cloud import dataflow_v1beta3
Expand Down Expand Up @@ -517,8 +515,7 @@ def list_snapshots(
) -> snapshots.ListSnapshotsResponse:
r"""Lists snapshots.
.. code-block::
.. code-block:: python
from google.cloud import dataflow_v1beta3
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ async def create_job_from_template(
) -> jobs.Job:
r"""Creates a Cloud Dataflow job from a template.
.. code-block::
.. code-block:: python
from google.cloud import dataflow_v1beta3
Expand Down Expand Up @@ -277,7 +277,7 @@ async def launch_template(
) -> templates.LaunchTemplateResponse:
r"""Launch a template.
.. code-block::
.. code-block:: python
from google.cloud import dataflow_v1beta3
Expand Down Expand Up @@ -338,7 +338,7 @@ async def get_template(
) -> templates.GetTemplateResponse:
r"""Get the template associated with a template.
.. code-block::
.. code-block:: python
from google.cloud import dataflow_v1beta3
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -398,8 +398,7 @@ def create_job_from_template(
) -> jobs.Job:
r"""Creates a Cloud Dataflow job from a template.
.. code-block::
.. code-block:: python
from google.cloud import dataflow_v1beta3
Expand Down Expand Up @@ -462,8 +461,7 @@ def launch_template(
) -> templates.LaunchTemplateResponse:
r"""Launch a template.
.. code-block::
.. code-block:: python
from google.cloud import dataflow_v1beta3
Expand Down Expand Up @@ -525,8 +523,7 @@ def get_template(
) -> templates.GetTemplateResponse:
r"""Get the template associated with a template.
.. code-block::
.. code-block:: python
from google.cloud import dataflow_v1beta3
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-dataflow-client


# [START dataflow_generated_dataflow_v1beta3_FlexTemplatesService_LaunchFlexTemplate_async]
# [START dataflow_v1beta3_generated_FlexTemplatesService_LaunchFlexTemplate_async]
from google.cloud import dataflow_v1beta3


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

# [END dataflow_generated_dataflow_v1beta3_FlexTemplatesService_LaunchFlexTemplate_async]
# [END dataflow_v1beta3_generated_FlexTemplatesService_LaunchFlexTemplate_async]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-dataflow-client


# [START dataflow_generated_dataflow_v1beta3_FlexTemplatesService_LaunchFlexTemplate_sync]
# [START dataflow_v1beta3_generated_FlexTemplatesService_LaunchFlexTemplate_sync]
from google.cloud import dataflow_v1beta3


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

# [END dataflow_generated_dataflow_v1beta3_FlexTemplatesService_LaunchFlexTemplate_sync]
# [END dataflow_v1beta3_generated_FlexTemplatesService_LaunchFlexTemplate_sync]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-dataflow-client


# [START dataflow_generated_dataflow_v1beta3_JobsV1Beta3_AggregatedListJobs_async]
# [START dataflow_v1beta3_generated_JobsV1Beta3_AggregatedListJobs_async]
from google.cloud import dataflow_v1beta3


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

# [END dataflow_generated_dataflow_v1beta3_JobsV1Beta3_AggregatedListJobs_async]
# [END dataflow_v1beta3_generated_JobsV1Beta3_AggregatedListJobs_async]
Loading

0 comments on commit 4f496a6

Please sign in to comment.