Skip to content

Commit

Permalink
chore: use gapic-generator-python 0.65.1 (#179)
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 83f7892 commit 530be71
Show file tree
Hide file tree
Showing 6 changed files with 380 additions and 32 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 @@ -227,7 +227,6 @@ async def create_dashboard(
permissions, see `Cloud Identity and Access
Management <https://cloud.google.com/iam>`__.
.. code-block:: python
from google.monitoring import dashboard_v1
Expand Down Expand Up @@ -311,7 +310,6 @@ async def list_dashboards(
`Cloud Identity and Access
Management <https://cloud.google.com/iam>`__.
.. code-block:: python
from google.monitoring import dashboard_v1
Expand Down Expand Up @@ -401,7 +399,6 @@ async def get_dashboard(
`Cloud Identity and Access
Management <https://cloud.google.com/iam>`__.
.. code-block:: python
from google.monitoring import dashboard_v1
Expand Down Expand Up @@ -481,7 +478,6 @@ async def delete_dashboard(
`Cloud Identity and Access
Management <https://cloud.google.com/iam>`__.
.. code-block:: python
from google.monitoring import dashboard_v1
Expand Down Expand Up @@ -547,7 +543,6 @@ async def update_dashboard(
`Cloud Identity and Access
Management <https://cloud.google.com/iam>`__.
.. code-block:: python
from google.monitoring import dashboard_v1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
from collections import OrderedDict
import os
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 import client_options as client_options_lib
Expand Down Expand Up @@ -461,7 +461,6 @@ def create_dashboard(
permissions, see `Cloud Identity and Access
Management <https://cloud.google.com/iam>`__.
.. code-block:: python
from google.monitoring import dashboard_v1
Expand Down Expand Up @@ -546,7 +545,6 @@ def list_dashboards(
`Cloud Identity and Access
Management <https://cloud.google.com/iam>`__.
.. code-block:: python
from google.monitoring import dashboard_v1
Expand Down Expand Up @@ -637,7 +635,6 @@ def get_dashboard(
`Cloud Identity and Access
Management <https://cloud.google.com/iam>`__.
.. code-block:: python
from google.monitoring import dashboard_v1
Expand Down Expand Up @@ -718,7 +715,6 @@ def delete_dashboard(
`Cloud Identity and Access
Management <https://cloud.google.com/iam>`__.
.. code-block:: python
from google.monitoring import dashboard_v1
Expand Down Expand Up @@ -785,7 +781,6 @@ def update_dashboard(
`Cloud Identity and Access
Management <https://cloud.google.com/iam>`__.
.. code-block:: python
from google.monitoring import dashboard_v1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ def __init__(
always_use_jwt_access (Optional[bool]): Whether self signed JWT should
be used for service account credentials.
"""

# Save the hostname. Default to port 443 (HTTPS) if none is specified.
if ":" not in host:
host += ":443"
Expand Down Expand Up @@ -211,5 +212,9 @@ def update_dashboard(
]:
raise NotImplementedError()

@property
def kind(self) -> str:
raise NotImplementedError()


__all__ = ("DashboardsServiceTransport",)
Original file line number Diff line number Diff line change
Expand Up @@ -392,5 +392,9 @@ def update_dashboard(
def close(self):
self.grpc_channel.close()

@property
def kind(self) -> str:
return "grpc"


__all__ = ("DashboardsServiceGrpcTransport",)
Loading

0 comments on commit 530be71

Please sign in to comment.