Skip to content

Commit

Permalink
chore: use gapic-generator-python 0.65.1 (#42)
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 c0b785f commit 6f441c9
Show file tree
Hide file tree
Showing 7 changed files with 404 additions and 40 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 @@ -429,7 +429,6 @@ async def create_endpoint(
r"""Creates a new Endpoint in a given project and
location.
.. code-block:: python
from google.cloud import ids_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 @@ -643,7 +643,6 @@ def create_endpoint(
r"""Creates a new Endpoint in a given project and
location.
.. code-block:: python
from google.cloud import ids_v1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,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 delete_endpoint(
]:
raise NotImplementedError()

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


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

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


__all__ = ("IDSGrpcTransport",)
2 changes: 1 addition & 1 deletion packages/google-cloud-ids/google/cloud/ids_v1/types/ids.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class Endpoint(proto.Message):
Output only. The create time timestamp.
update_time (google.protobuf.timestamp_pb2.Timestamp):
Output only. The update time timestamp.
labels (Sequence[google.cloud.ids_v1.types.Endpoint.LabelsEntry]):
labels (Mapping[str, str]):
The labels of the endpoint.
network (str):
Required. The fully qualified URL of the
Expand Down
Loading

0 comments on commit 6f441c9

Please sign in to comment.