Skip to content

Commit

Permalink
chore: use gapic-generator-python 0.63.4 (#119)
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 08f1dd1 commit 630fd6d
Show file tree
Hide file tree
Showing 44 changed files with 190 additions and 209 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ async def list_memberships(
) -> pagers.ListMembershipsAsyncPager:
r"""Lists Memberships in a given project and location.
.. code-block::
.. code-block:: python
from google.cloud import gkehub_v1
Expand Down Expand Up @@ -326,7 +326,7 @@ async def list_features(
) -> pagers.ListFeaturesAsyncPager:
r"""Lists Features in a given project and location.
.. code-block::
.. code-block:: python
from google.cloud import gkehub_v1
Expand Down Expand Up @@ -425,7 +425,7 @@ async def get_membership(
) -> membership.Membership:
r"""Gets the details of a Membership.
.. code-block::
.. code-block:: python
from google.cloud import gkehub_v1
Expand Down Expand Up @@ -515,7 +515,7 @@ async def get_feature(
) -> feature.Feature:
r"""Gets details of a single Feature.
.. code-block::
.. code-block:: python
from google.cloud import gkehub_v1
Expand Down Expand Up @@ -611,7 +611,7 @@ async def create_membership(
https://cloud.google.com/anthos/multicluster-management/connect/registering-a-cluster.
.. code-block::
.. code-block:: python
from google.cloud import gkehub_v1
Expand Down Expand Up @@ -746,7 +746,7 @@ async def create_feature(
) -> operation_async.AsyncOperation:
r"""Adds a new Feature.
.. code-block::
.. code-block:: python
from google.cloud import gkehub_v1
Expand Down Expand Up @@ -871,7 +871,7 @@ async def delete_membership(
https://cloud.google.com/anthos/multicluster-management/connect/unregistering-a-cluster.
.. code-block::
.. code-block:: python
from google.cloud import gkehub_v1
Expand Down Expand Up @@ -986,7 +986,7 @@ async def delete_feature(
) -> operation_async.AsyncOperation:
r"""Removes a Feature.
.. code-block::
.. code-block:: python
from google.cloud import gkehub_v1
Expand Down Expand Up @@ -1102,7 +1102,7 @@ async def update_membership(
) -> operation_async.AsyncOperation:
r"""Updates an existing Membership.
.. code-block::
.. code-block:: python
from google.cloud import gkehub_v1
Expand Down Expand Up @@ -1232,7 +1232,7 @@ async def update_feature(
) -> operation_async.AsyncOperation:
r"""Updates an existing Feature.
.. code-block::
.. code-block:: python
from google.cloud import gkehub_v1
Expand Down Expand Up @@ -1362,7 +1362,7 @@ async def generate_connect_manifest(
Most clients should not need to call this method directly.
.. code-block::
.. code-block:: python
from google.cloud import gkehub_v1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -445,8 +445,7 @@ def list_memberships(
) -> pagers.ListMembershipsPager:
r"""Lists Memberships in a given project and location.
.. code-block::
.. code-block:: python
from google.cloud import gkehub_v1
Expand Down Expand Up @@ -546,8 +545,7 @@ def list_features(
) -> pagers.ListFeaturesPager:
r"""Lists Features in a given project and location.
.. code-block::
.. code-block:: python
from google.cloud import gkehub_v1
Expand Down Expand Up @@ -646,8 +644,7 @@ def get_membership(
) -> membership.Membership:
r"""Gets the details of a Membership.
.. code-block::
.. code-block:: python
from google.cloud import gkehub_v1
Expand Down Expand Up @@ -737,8 +734,7 @@ def get_feature(
) -> feature.Feature:
r"""Gets details of a single Feature.
.. code-block::
.. code-block:: python
from google.cloud import gkehub_v1
Expand Down Expand Up @@ -834,8 +830,7 @@ def create_membership(
https://cloud.google.com/anthos/multicluster-management/connect/registering-a-cluster.
.. code-block::
.. code-block:: python
from google.cloud import gkehub_v1
Expand Down Expand Up @@ -970,8 +965,7 @@ def create_feature(
) -> operation.Operation:
r"""Adds a new Feature.
.. code-block::
.. code-block:: python
from google.cloud import gkehub_v1
Expand Down Expand Up @@ -1096,8 +1090,7 @@ def delete_membership(
https://cloud.google.com/anthos/multicluster-management/connect/unregistering-a-cluster.
.. code-block::
.. code-block:: python
from google.cloud import gkehub_v1
Expand Down Expand Up @@ -1212,8 +1205,7 @@ def delete_feature(
) -> operation.Operation:
r"""Removes a Feature.
.. code-block::
.. code-block:: python
from google.cloud import gkehub_v1
Expand Down Expand Up @@ -1329,8 +1321,7 @@ def update_membership(
) -> operation.Operation:
r"""Updates an existing Membership.
.. code-block::
.. code-block:: python
from google.cloud import gkehub_v1
Expand Down Expand Up @@ -1460,8 +1451,7 @@ def update_feature(
) -> operation.Operation:
r"""Updates an existing Feature.
.. code-block::
.. code-block:: python
from google.cloud import gkehub_v1
Expand Down Expand Up @@ -1591,8 +1581,7 @@ def generate_connect_manifest(
Most clients should not need to call this method directly.
.. code-block::
.. code-block:: python
from google.cloud import gkehub_v1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ async def list_memberships(
) -> pagers.ListMembershipsAsyncPager:
r"""Lists Memberships in a given project and location.
.. code-block::
.. code-block:: python
from google.cloud import gkehub_v1beta1
Expand Down Expand Up @@ -336,7 +336,7 @@ async def get_membership(
) -> membership.Membership:
r"""Gets the details of a Membership.
.. code-block::
.. code-block:: python
from google.cloud import gkehub_v1beta1
Expand Down Expand Up @@ -433,7 +433,7 @@ async def create_membership(
https://cloud.google.com/anthos/multicluster-management/connect/registering-a-cluster.
.. code-block::
.. code-block:: python
from google.cloud import gkehub_v1beta1
Expand Down Expand Up @@ -572,7 +572,7 @@ async def delete_membership(
https://cloud.google.com/anthos/multicluster-management/connect/unregistering-a-cluster.
.. code-block::
.. code-block:: python
from google.cloud import gkehub_v1beta1
Expand Down Expand Up @@ -689,7 +689,7 @@ async def update_membership(
) -> operation_async.AsyncOperation:
r"""Updates an existing Membership.
.. code-block::
.. code-block:: python
from google.cloud import gkehub_v1beta1
Expand Down Expand Up @@ -823,7 +823,7 @@ async def generate_connect_manifest(
Most clients should not need to call this method directly.
.. code-block::
.. code-block:: python
from google.cloud import gkehub_v1beta1
Expand Down Expand Up @@ -896,7 +896,7 @@ async def validate_exclusivity(
depend on an existing Hub membership resource.
.. code-block::
.. code-block:: python
from google.cloud import gkehub_v1beta1
Expand Down Expand Up @@ -979,7 +979,7 @@ async def generate_exclusivity_manifest(
any differences between the versions.
.. code-block::
.. code-block:: python
from google.cloud import gkehub_v1beta1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -427,8 +427,7 @@ def list_memberships(
) -> pagers.ListMembershipsPager:
r"""Lists Memberships in a given project and location.
.. code-block::
.. code-block:: python
from google.cloud import gkehub_v1beta1
Expand Down Expand Up @@ -529,8 +528,7 @@ def get_membership(
) -> membership.Membership:
r"""Gets the details of a Membership.
.. code-block::
.. code-block:: python
from google.cloud import gkehub_v1beta1
Expand Down Expand Up @@ -627,8 +625,7 @@ def create_membership(
https://cloud.google.com/anthos/multicluster-management/connect/registering-a-cluster.
.. code-block::
.. code-block:: python
from google.cloud import gkehub_v1beta1
Expand Down Expand Up @@ -767,8 +764,7 @@ def delete_membership(
https://cloud.google.com/anthos/multicluster-management/connect/unregistering-a-cluster.
.. code-block::
.. code-block:: python
from google.cloud import gkehub_v1beta1
Expand Down Expand Up @@ -885,8 +881,7 @@ def update_membership(
) -> operation.Operation:
r"""Updates an existing Membership.
.. code-block::
.. code-block:: python
from google.cloud import gkehub_v1beta1
Expand Down Expand Up @@ -1020,8 +1015,7 @@ def generate_connect_manifest(
Most clients should not need to call this method directly.
.. code-block::
.. code-block:: python
from google.cloud import gkehub_v1beta1
Expand Down Expand Up @@ -1097,8 +1091,7 @@ def validate_exclusivity(
depend on an existing Hub membership resource.
.. code-block::
.. code-block:: python
from google.cloud import gkehub_v1beta1
Expand Down Expand Up @@ -1182,8 +1175,7 @@ def generate_exclusivity_manifest(
any differences between the versions.
.. code-block::
.. code-block:: python
from google.cloud import gkehub_v1beta1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-gke-hub


# [START gkehub_generated_gkehub_v1_GkeHub_CreateFeature_async]
# [START gkehub_v1_generated_GkeHub_CreateFeature_async]
from google.cloud import gkehub_v1


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

# [END gkehub_generated_gkehub_v1_GkeHub_CreateFeature_async]
# [END gkehub_v1_generated_GkeHub_CreateFeature_async]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-gke-hub


# [START gkehub_generated_gkehub_v1_GkeHub_CreateFeature_sync]
# [START gkehub_v1_generated_GkeHub_CreateFeature_sync]
from google.cloud import gkehub_v1


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

# [END gkehub_generated_gkehub_v1_GkeHub_CreateFeature_sync]
# [END gkehub_v1_generated_GkeHub_CreateFeature_sync]
Loading

0 comments on commit 630fd6d

Please sign in to comment.