Skip to content

Commit

Permalink
chore: use gapic-generator-python 0.65.1 (#343)
Browse files Browse the repository at this point in the history
* chore: use gapic-generator-python 0.65.1

PiperOrigin-RevId: 441524537

Source-Link: googleapis/googleapis@2a27391

Source-Link: googleapis/googleapis-gen@ab6756a
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYWI2NzU2YTQ4Yzg5YjViY2I5ZmI3MzQ0M2NiOGU1NWQ1NzRmNDY0MyJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] authored Apr 14, 2022
1 parent ac69219 commit e6c335a
Show file tree
Hide file tree
Showing 56 changed files with 7,586 additions and 786 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
from collections import OrderedDict
import functools
import re
from typing import Dict, Optional, Sequence, Tuple, Type, Union
from typing import Dict, Mapping, Optional, Sequence, Tuple, Type, Union
import pkg_resources

from google.api_core.client_options import ClientOptions
Expand Down Expand Up @@ -255,7 +255,6 @@ async def search_catalog(
For more information, see [Data Catalog search syntax]
(https://cloud.google.com/data-catalog/docs/how-to/search-reference).
.. code-block:: python
from google.cloud import datacatalog_v1
Expand Down Expand Up @@ -422,7 +421,6 @@ async def create_entry_group(
Catalog resource
project <https://cloud.google.com/data-catalog/docs/concepts/resource-project>`__.
.. code-block:: python
from google.cloud import datacatalog_v1
Expand Down Expand Up @@ -671,7 +669,6 @@ async def update_entry_group(
`Data Catalog resource
project <https://cloud.google.com/data-catalog/docs/concepts/resource-project>`__.
.. code-block:: python
from google.cloud import datacatalog_v1
Expand Down Expand Up @@ -790,7 +787,6 @@ async def delete_entry_group(
Catalog resource
project <https://cloud.google.com/data-catalog/docs/concepts/resource-project>`__.
.. code-block:: python
from google.cloud import datacatalog_v1
Expand Down Expand Up @@ -1006,7 +1002,6 @@ async def create_entry(
An entry group can have a maximum of 100,000 entries.
.. code-block:: python
from google.cloud import datacatalog_v1
Expand Down Expand Up @@ -1146,7 +1141,6 @@ async def update_entry(
Catalog resource
project <https://cloud.google.com/data-catalog/docs/concepts/resource-project>`__.
.. code-block:: python
from google.cloud import datacatalog_v1
Expand Down Expand Up @@ -1304,7 +1298,6 @@ async def delete_entry(
Catalog resource
project <https://cloud.google.com/data-catalog/docs/concepts/resource-project>`__.
.. code-block:: python
from google.cloud import datacatalog_v1
Expand Down Expand Up @@ -1502,7 +1495,6 @@ async def lookup_entry(
The resource name comes from the source Google Cloud
Platform service.
.. code-block:: python
from google.cloud import datacatalog_v1
Expand Down Expand Up @@ -1593,7 +1585,6 @@ async def list_entries(
get a list of both custom and automatically created entries, use
[SearchCatalog][google.cloud.datacatalog.v1.DataCatalog.SearchCatalog].
.. code-block:: python
from google.cloud import datacatalog_v1
Expand Down Expand Up @@ -1716,7 +1707,6 @@ async def modify_entry_overview(
``datacatalog.entries.updateOverview`` IAM permission on the
corresponding project.
.. code-block:: python
from google.cloud import datacatalog_v1
Expand Down Expand Up @@ -1795,7 +1785,6 @@ async def modify_entry_contacts(
``datacatalog.entries.updateContacts`` IAM permission on the
corresponding project.
.. code-block:: python
from google.cloud import datacatalog_v1
Expand Down Expand Up @@ -1875,7 +1864,6 @@ async def create_tag_template(
Catalog resource project]
(https://cloud.google.com/data-catalog/docs/concepts/resource-project).
.. code-block:: python
from google.cloud import datacatalog_v1
Expand Down Expand Up @@ -2116,7 +2104,6 @@ async def update_tag_template(
see `Data Catalog resource
project <https://cloud.google.com/data-catalog/docs/concepts/resource-project>`__.
.. code-block:: python
from google.cloud import datacatalog_v1
Expand Down Expand Up @@ -2246,7 +2233,6 @@ async def delete_tag_template(
Catalog resource
project <https://cloud.google.com/data-catalog/docs/concepts/resource-project>`__.
.. code-block:: python
from google.cloud import datacatalog_v1
Expand Down Expand Up @@ -2349,7 +2335,6 @@ async def create_tag_template_field(
Catalog resource
project <https://cloud.google.com/data-catalog/docs/concepts/resource-project>`__.
.. code-block:: python
from google.cloud import datacatalog_v1
Expand Down Expand Up @@ -2486,7 +2471,6 @@ async def update_tag_template_field(
Catalog resource
project <https://cloud.google.com/data-catalog/docs/concepts/resource-project>`__.
.. code-block:: python
from google.cloud import datacatalog_v1
Expand Down Expand Up @@ -2624,7 +2608,6 @@ async def rename_tag_template_field(
Catalog resource project]
(https://cloud.google.com/data-catalog/docs/concepts/resource-project).
.. code-block:: python
from google.cloud import datacatalog_v1
Expand Down Expand Up @@ -2732,7 +2715,6 @@ async def rename_tag_template_field_enum_value(
r"""Renames an enum value in a tag template.
Within a single enum field, enum values must be unique.
.. code-block:: python
from google.cloud import datacatalog_v1
Expand Down Expand Up @@ -2845,7 +2827,6 @@ async def delete_tag_template_field(
Catalog resource
project <https://cloud.google.com/data-catalog/docs/concepts/resource-project>`__.
.. code-block:: python
from google.cloud import datacatalog_v1
Expand Down Expand Up @@ -2956,7 +2937,6 @@ async def create_tag(
(https://cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.tagTemplates/create#path-parameters)
used to create the tag must be in the same organization.
.. code-block:: python
from google.cloud import datacatalog_v1
Expand Down Expand Up @@ -3282,7 +3262,6 @@ async def list_tags(
[columns][google.cloud.datacatalog.v1.Tag.column] in the
response are lowercased.
.. code-block:: python
from google.cloud import datacatalog_v1
Expand Down Expand Up @@ -3407,7 +3386,6 @@ async def star_entry(
by the current user. Starring information is private to each
user.
.. code-block:: python
from google.cloud import datacatalog_v1
Expand Down Expand Up @@ -3506,7 +3484,6 @@ async def unstar_entry(
starred by the current user. Starring information is private to
each user.
.. code-block:: python
from google.cloud import datacatalog_v1
Expand Down Expand Up @@ -3622,17 +3599,17 @@ async def set_iam_policy(
- ``datacatalog.entryGroups.setIamPolicy`` to set policies on
entry groups.
.. code-block:: python
from google.cloud import datacatalog_v1
from google.iam.v1 import iam_policy_pb2 # type: ignore
def sample_set_iam_policy():
# Create a client
client = datacatalog_v1.DataCatalogClient()
# Initialize request argument(s)
request = datacatalog_v1.SetIamPolicyRequest(
request = iam_policy_pb2.SetIamPolicyRequest(
resource="resource_value",
)
Expand Down Expand Up @@ -3804,17 +3781,17 @@ async def get_iam_policy(
- ``datacatalog.entryGroups.getIamPolicy`` to get policies on
entry groups.
.. code-block:: python
from google.cloud import datacatalog_v1
from google.iam.v1 import iam_policy_pb2 # type: ignore
def sample_get_iam_policy():
# Create a client
client = datacatalog_v1.DataCatalogClient()
# Initialize request argument(s)
request = datacatalog_v1.GetIamPolicyRequest(
request = iam_policy_pb2.GetIamPolicyRequest(
resource="resource_value",
)
Expand Down Expand Up @@ -3984,17 +3961,17 @@ async def test_iam_permissions(
No Google IAM permissions are required to call this
method.
.. code-block:: python
from google.cloud import datacatalog_v1
from google.iam.v1 import iam_policy_pb2 # type: ignore
def sample_test_iam_permissions():
# Create a client
client = datacatalog_v1.DataCatalogClient()
# Initialize request argument(s)
request = datacatalog_v1.TestIamPermissionsRequest(
request = iam_policy_pb2.TestIamPermissionsRequest(
resource="resource_value",
permissions=['permissions_value_1', 'permissions_value_2'],
)
Expand Down
Loading

0 comments on commit e6c335a

Please sign in to comment.