Skip to content
This repository has been archived by the owner on Dec 17, 2023. It is now read-only.

Commit

Permalink
feat: added support for AssistQueryParameters and SynthesizeSpeechCon…
Browse files Browse the repository at this point in the history
…fig (#621)

* chore: Update gapic-generator-python to v1.8.5

PiperOrigin-RevId: 511892190

Source-Link: googleapis/googleapis@a45d9c0

Source-Link: googleapis/googleapis-gen@1907294
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMTkwNzI5NGIxZDgzNjVlYTI0ZjhjNWYyZTA1OWE2NDEyNGM0ZWQzYiJ9

feat: added support for AssistQueryParameters and SynthesizeSpeechConfig
docs: add more meaningful comments

PiperOrigin-RevId: 510042252

Source-Link: googleapis/googleapis@7b30db7

Source-Link: googleapis/googleapis-gen@17beb99
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMTdiZWI5OTQxNzUwYjMxZmFhNDIzYTI5ZDdhMDE4MzQ2YTZiODhiNSJ9

feat: enable "rest" transport in Python for services supporting numeric enums

PiperOrigin-RevId: 508143576

Source-Link: googleapis/googleapis@7a702a9

Source-Link: googleapis/googleapis-gen@6ad1279
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNmFkMTI3OWMwZTdhYTc4N2FjNmI2NmM5ZmQ0YTIxMDY5MmVkZmZjZCJ9

* 🦉 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] committed Feb 28, 2023
1 parent 1a932ee commit 03199c4
Show file tree
Hide file tree
Showing 175 changed files with 121,980 additions and 3,515 deletions.
624 changes: 612 additions & 12 deletions google/cloud/dialogflow_v2/gapic_metadata.json

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions google/cloud/dialogflow_v2/services/agents/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
from .transports.base import DEFAULT_CLIENT_INFO, AgentsTransport
from .transports.grpc import AgentsGrpcTransport
from .transports.grpc_asyncio import AgentsGrpcAsyncIOTransport
from .transports.rest import AgentsRestTransport


class AgentsClientMeta(type):
Expand All @@ -74,6 +75,7 @@ class AgentsClientMeta(type):
_transport_registry = OrderedDict() # type: Dict[str, Type[AgentsTransport]]
_transport_registry["grpc"] = AgentsGrpcTransport
_transport_registry["grpc_asyncio"] = AgentsGrpcAsyncIOTransport
_transport_registry["rest"] = AgentsRestTransport

def get_transport_class(
cls,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,18 @@
from .base import AgentsTransport
from .grpc import AgentsGrpcTransport
from .grpc_asyncio import AgentsGrpcAsyncIOTransport
from .rest import AgentsRestInterceptor, AgentsRestTransport

# Compile a registry of transports.
_transport_registry = OrderedDict() # type: Dict[str, Type[AgentsTransport]]
_transport_registry["grpc"] = AgentsGrpcTransport
_transport_registry["grpc_asyncio"] = AgentsGrpcAsyncIOTransport
_transport_registry["rest"] = AgentsRestTransport

__all__ = (
"AgentsTransport",
"AgentsGrpcTransport",
"AgentsGrpcAsyncIOTransport",
"AgentsRestTransport",
"AgentsRestInterceptor",
)
Loading

0 comments on commit 03199c4

Please sign in to comment.